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
29024d0e
Commit
29024d0e
authored
Sep 14, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
aa14df9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+24
-3
No files found.
software/ors-amarisoft/slapos-render-config.py
View file @
29024d0e
...
@@ -12,7 +12,7 @@ json_params_empty = """{
...
@@ -12,7 +12,7 @@ json_params_empty = """{
}"""
}"""
#
2
cells sharing SDR-based RU consisting of 2 SDR boards (4tx + 4rx ports max)
#
3
cells sharing SDR-based RU consisting of 2 SDR boards (4tx + 4rx ports max)
# RU definition is embedded into cell for simplicity of management
# RU definition is embedded into cell for simplicity of management
RU1
=
{
RU1
=
{
'ru_type'
:
'sdr'
,
'ru_type'
:
'sdr'
,
...
@@ -28,7 +28,7 @@ CELL1_a = {
...
@@ -28,7 +28,7 @@ CELL1_a = {
'bandwidth'
:
'5 MHz'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
38050
,
# 2600 MHz
'dl_earfcn'
:
38050
,
# 2600 MHz
'pci'
:
1
,
'pci'
:
1
,
'cell_id'
:
"0x01"
,
'cell_id'
:
'0x01'
,
'ru'
:
RU1
,
# RU definition embedded into CELL
'ru'
:
RU1
,
# RU definition embedded into CELL
}
}
...
@@ -38,13 +38,27 @@ CELL1_b = {
...
@@ -38,13 +38,27 @@ CELL1_b = {
'bandwidth'
:
'5 MHz'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
38100
,
# 2605 MHz
'dl_earfcn'
:
38100
,
# 2605 MHz
'pci'
:
2
,
'pci'
:
2
,
'cell_id'
:
"0x02"
,
'cell_id'
:
'0x02'
,
'ru'
:
{
# CELL1_b shares RU with CELL1_a referring to it via cell
'ru'
:
{
# CELL1_b shares RU with CELL1_a referring to it via cell
'ru_type'
:
'ruincell_ref'
,
'ru_type'
:
'ruincell_ref'
,
'ruincell_ref'
:
'CELL1_a'
'ruincell_ref'
:
'CELL1_a'
}
}
}
}
CELL1_c
=
{
'cell_type'
:
'nr'
,
'rf_mode'
:
'tdd'
,
'bandwidth'
:
5
,
'dl_nr_arfcn'
:
522000
,
# 2610 MHz
'nr_band'
:
38
,
'pci'
:
3
,
'cell_id'
:
'0x03'
,
'ru'
:
{
'ru_type'
:
'ruincell_ref'
,
# CELL1_c shares RU with CELL1_a/CELL1_b
'ruincell_ref'
:
'CELL1_b'
# referring to ru via CELL1_b -> CELL1_a
}
}
# LTE + NR cells that use CPRI-based Lopcomm radio units
# LTE + NR cells that use CPRI-based Lopcomm radio units
# here we instantiate RUs separately since embedding RU into a cell is demonstrated by CELL1_a above
# here we instantiate RUs separately since embedding RU into a cell is demonstrated by CELL1_a above
RU2_a
=
{
RU2_a
=
{
...
@@ -98,6 +112,7 @@ CELL2_b = {
...
@@ -98,6 +112,7 @@ CELL2_b = {
jjdumps
=
lambda
obj
:
json
.
dumps
(
json
.
dumps
(
obj
))
jjdumps
=
lambda
obj
:
json
.
dumps
(
json
.
dumps
(
obj
))
jCELL1_a
=
jjdumps
(
CELL1_a
)
jCELL1_a
=
jjdumps
(
CELL1_a
)
jCELL1_b
=
jjdumps
(
CELL1_b
)
jCELL1_b
=
jjdumps
(
CELL1_b
)
jCELL1_c
=
jjdumps
(
CELL1_c
)
jCELL2_a
=
jjdumps
(
CELL2_a
)
jCELL2_a
=
jjdumps
(
CELL2_a
)
jCELL2_b
=
jjdumps
(
CELL2_b
)
jCELL2_b
=
jjdumps
(
CELL2_b
)
jRU2_a
=
jjdumps
(
RU2_a
)
jRU2_a
=
jjdumps
(
RU2_a
)
...
@@ -135,6 +150,12 @@ json_params = """{
...
@@ -135,6 +150,12 @@ json_params = """{
"slap_software_type": "enb",
"slap_software_type": "enb",
"_": %(jCELL1_b)s
"_": %(jCELL1_b)s
},
},
{
"slave_title": "Cell 1c",
"slave_reference": "_CELL1_c",
"slap_software_type": "enb",
"_": %(jCELL1_c)s
},
{
{
"slave_title": "Cell 2a",
"slave_title": "Cell 2a",
"slave_reference": "_CELL2_a",
"slave_reference": "_CELL2_a",
...
...
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