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
d4a0be77
Commit
d4a0be77
authored
Aug 23, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c84afb6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
19 deletions
+34
-19
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+34
-19
No files found.
software/ors-amarisoft/slapos-render-config.py
View file @
d4a0be77
...
...
@@ -11,6 +11,9 @@ json_params_empty = """{
}
}"""
# 2 cells sharing SDR-based RU consisting of 2 SDR boards (4tx + 4rx ports max)
# RU definition is embedded into cell for simplicity of management
RU1
=
{
'ru_type'
:
'sdr'
,
'ru_link_type'
:
'sdr'
,
...
...
@@ -19,6 +22,31 @@ RU1 = {
'n_antenna_ul'
:
2
,
}
CELL1_a
=
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'tdd'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
38050
,
# 2600 MHz
'pci'
:
1
,
'cell_id'
:
"0x01"
,
'ru'
:
RU1
,
# RU definition embedded into CELL
}
CELL1_b
=
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'tdd'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
38100
,
# 2605 MHz
'pci'
:
2
,
'cell_id'
:
"0x02"
,
'ru'
:
{
# CELL1_b shares RU with CELL1_a referring to it via cell
'ru_type'
:
'ruincell_ref'
,
'ruincell_ref'
:
'CELL1_a'
}
}
# another cell that uses CPRI-based Lopcomm RU
# here we instantiate RU separately since embedding RU into a cell is covered by CELL1_a above
RU2
=
{
'ru_type'
:
'lopcomm'
,
'ru_link_type'
:
'cpri'
,
...
...
@@ -36,36 +64,23 @@ RU2 = {
'n_antenna_ul'
:
1
,
}
CELL1
=
{
CELL
2_
1
=
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
3350
,
# 2680 MHz
'pci'
:
1
,
'cell_id'
:
"0x01"
,
'ru'
:
RU1
,
# RU definition embedded into CELL
}
CELL2
=
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
3400
,
# 2685 MHz
'pci'
:
2
,
'cell_id'
:
"0x02"
,
'ru'
:
{
# CELL2 shares RU with CELL1 referring to it via CELL1 reference
'dl_earfcn'
:
XXX
,
# XXX MHz
'pci'
:
21
,
'cell_id'
:
"0x21"
,
'ru'
:
{
# CELL1_b shares RU with CELL1_a referring to it via cell
'ru_type'
:
'ruincell_ref'
,
'ruincell_ref'
:
'CELL1'
'ruincell_ref'
:
'CELL1
_a
'
}
}
# XXX CELL3 TDD LTE
# XXX CELL3 FDD NR
# XXX RU embedded
# XXX RU_ref
# XXX RU_ref_incell
jCELL1
=
json
.
dumps
(
CELL1
)
jCELL2
=
json
.
dumps
(
CELL2
)
...
...
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