Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
f26056f3
Commit
f26056f3
authored
Oct 20, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
fbc076aa
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
13 deletions
+15
-13
software/ors-amarisoft/config/drb_lte.jinja2.cfg
software/ors-amarisoft/config/drb_lte.jinja2.cfg
+1
-1
software/ors-amarisoft/config/drb_nr.jinja2.cfg
software/ors-amarisoft/config/drb_nr.jinja2.cfg
+1
-1
software/ors-amarisoft/config/out/CELL1_a-drb.cfg
software/ors-amarisoft/config/out/CELL1_a-drb.cfg
+1
-1
software/ors-amarisoft/config/out/CELL1_a-sib23.asn
software/ors-amarisoft/config/out/CELL1_a-sib23.asn
+1
-1
software/ors-amarisoft/config/out/CELL1_b-drb.cfg
software/ors-amarisoft/config/out/CELL1_b-drb.cfg
+1
-1
software/ors-amarisoft/config/out/CELL1_b-sib23.asn
software/ors-amarisoft/config/out/CELL1_b-sib23.asn
+1
-1
software/ors-amarisoft/config/out/CELL1_c-drb.cfg
software/ors-amarisoft/config/out/CELL1_c-drb.cfg
+1
-1
software/ors-amarisoft/config/out/CELL1_c-sib23.asn
software/ors-amarisoft/config/out/CELL1_c-sib23.asn
+1
-1
software/ors-amarisoft/config/sib23.jinja2.asn
software/ors-amarisoft/config/sib23.jinja2.asn
+1
-1
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+6
-4
No files found.
software/ors-amarisoft/config/drb_lte.jinja2.cfg
View file @
f26056f3
// DRB configuration for LTE cell {{ cell_ref }}.
// DRB configuration for LTE cell {{ cell_ref }}
@ {{ ru_ref }}
.
// DRB configuration vary in beteen FDD and TDD modes.
// {{ cell.rf_mode | upper }}
...
...
software/ors-amarisoft/config/drb_nr.jinja2.cfg
View file @
f26056f3
// DRB configuration for NR cell {{ cell_ref }}.
// DRB configuration for NR cell {{ cell_ref }}
@ {{ ru_ref }}
.
// XXX (?) DRB configuration vary in beteen FDD and TDD modes.
// {{ cell.rf_mode | upper }}
...
...
software/ors-amarisoft/config/out/CELL1_a-drb.cfg
View file @
f26056f3
// DRB configuration for LTE cell CELL1_a.
// DRB configuration for LTE cell CELL1_a
@ _CELL1_a_ru
.
// DRB configuration vary in beteen FDD and TDD modes.
// TDD
...
...
software/ors-amarisoft/config/out/CELL1_a-sib23.asn
View file @
f26056f3
// SIB2/SIB3 for LTE cell CELL1_a @ _CELL1_a_ru.
{
message c1: systemInformation: {
criticalExtensions systemInformation-r8: {
...
...
software/ors-amarisoft/config/out/CELL1_b-drb.cfg
View file @
f26056f3
// DRB configuration for LTE cell CELL1_b.
// DRB configuration for LTE cell CELL1_b
@ _CELL1_a_ru
.
// DRB configuration vary in beteen FDD and TDD modes.
// TDD
...
...
software/ors-amarisoft/config/out/CELL1_b-sib23.asn
View file @
f26056f3
// SIB2/SIB3 for LTE cell CELL1_b @ _CELL1_a_ru.
{
message c1: systemInformation: {
criticalExtensions systemInformation-r8: {
...
...
software/ors-amarisoft/config/out/CELL1_c-drb.cfg
View file @
f26056f3
// DRB configuration for NR cell CELL1_c.
// DRB configuration for NR cell CELL1_c
@ _CELL1_a_ru
.
// XXX (?) DRB configuration vary in beteen FDD and TDD modes.
// TDD
...
...
software/ors-amarisoft/config/out/CELL1_c-sib23.asn
View file @
f26056f3
// SIB2/SIB3 for NR cell CELL1_c @ _CELL1_a_ru.
{
message c1: systemInformation: {
criticalExtensions systemInformation-r8: {
...
...
software/ors-amarisoft/config/sib23.jinja2.asn
View file @
f26056f3
// SIB2
and SIB3 configurations for {{ cell.cell_type | upper }} cell {{ cell
_ref }}.
// SIB2
/SIB3 for {{ cell.cell_type | upper }} cell {{ cell_ref }} @ {{ ru
_ref }}.
{%- set bbu = "zzz" %}{# XXX temp hack #}
{
message c1: systemInformation: {
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
f26056f3
...
...
@@ -320,22 +320,24 @@ def do_enb():
else
:
raise
AssertionError
(
'enb: unknown shared instance %r'
%
(
ishared
,))
def
ru_of_cell
(
icell
):
# ~ jcell_ru_ref
def
ru_of_cell
(
icell
):
# -> (ru_ref, ru)
cell_ref
=
ref_of_shared
(
icell
)
ru
=
icell
[
'_'
][
'ru'
]
if
ru
[
'ru_type'
]
==
'ru_ref'
:
return
iru_dict
[
ru
.
ru_ref
]
ru_ref
=
ru
[
'ru_ref'
]
return
ru_ref
,
iru_dict
[
ru_ref
]
elif
ru
[
'ru_type'
]
==
'ruincell_ref'
:
return
ru_of_cell
(
icell_dict
[
ru
[
'ruincell_ref'
]])
else
:
return
ru
# embedded ru definition
return
(
'_%s_ru'
%
cell_ref
),
ru
# embedded ru definition
for
cell_ref
,
icell
in
icell_dict
.
items
():
ru
=
ru_of_cell
(
icell
)
ru
_ref
,
ru
=
ru_of_cell
(
icell
)
cell
=
icell
[
'_'
]
jctx
=
json
.
dumps
({
'cell_ref'
:
cell_ref
,
'cell'
:
cell
,
'ru_ref'
:
ru_ref
,
'ru'
:
ru
,
})
j2render
(
'drb_%s.jinja2.cfg'
%
cell
[
'cell_type'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment