Commit 29024d0e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent aa14df9b
...@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment