Commit dea7a357 authored by Joanne Hugé's avatar Joanne Hugé

.

parent 8f6fc990
This diff is collapsed.
...@@ -210,7 +210,8 @@ def iRU3_SDR1_fLTE2(ienb): ...@@ -210,7 +210,8 @@ def iRU3_SDR1_fLTE2(ienb):
}) })
def iRU2_LOPCOMM_fLTE2(ienb): def iRU2_LOPCOMM_fLTE2(ienb):
RU2_a = { # supports: 2110 - 2170 MHz
RU_0002 = {
'ru_type': 'lopcomm', 'ru_type': 'lopcomm',
'ru_link_type': 'cpri', 'ru_link_type': 'cpri',
# 'mac_addr': 'XXX', # 'mac_addr': 'XXX',
...@@ -229,40 +230,40 @@ def iRU2_LOPCOMM_fLTE2(ienb): ...@@ -229,40 +230,40 @@ def iRU2_LOPCOMM_fLTE2(ienb):
'rx_gain': 0, 'rx_gain': 0,
} }
RU2_b = copy.deepcopy(RU2_a) # supports: 2110 - 2170 MHz
# RU2_b['mac_addr'] = 'YYY' RU_0004 = copy.deepcopy(RU_0002)
RU2_b['cpri_link']['sfp_port'] = 1 # RU_0004['mac_addr'] = 'YYY'
RU_0004['cpri_link']['sfp_port'] = 1
ienb.ishared('Radio Unit 2a', '_RU2_a', RU2_a) ienb.ishared('Radio Unit 2a', '_RU_0002', RU_0002)
ienb.ishared('Radio Unit 2b', '_RU2_b', RU2_b) ienb.ishared('Radio Unit 2b', '_RU_0004', RU_0004)
ienb.ishared('Cell 2a', '_CELL2_a', { ienb.ishared('Cell 2', '_CELL2', {
'cell_type': 'lte', 'cell_type': 'lte',
'rf_mode': 'fdd', 'rf_mode': 'fdd',
'bandwidth': '20 MHz', 'bandwidth': '20 MHz',
# 'dl_earfcn': 300, # 2140 MHz @ B1
'dl_earfcn': 100, # 2120 MHz @ B1 'dl_earfcn': 100, # 2120 MHz @ B1
'pci': 21, 'pci': 21,
'cell_id': '0x21', 'cell_id': '0x21',
'ru': { # CELL2_a links to RU2_a by its reference 'ru': {
'ru_type': 'ru_ref', 'ru_type': 'ru_ref',
'ru_ref': 'RU2_a' 'ru_ref': 'RU_0002'
} }
}) })
ienb.ishared('Cell 2b', '_CELL2_b', { ienb.ishared('Cell 4', '_CELL4', {
'cell_type': 'lte', 'cell_type': 'lte',
'rf_mode': 'fdd', 'rf_mode': 'fdd',
'bandwidth': '20 MHz', 'bandwidth': '20 MHz',
# 'dl_earfcn': 300, # FIXME same as CELL2_a
'dl_earfcn': 500, # 2160 MHz @ B1 'dl_earfcn': 500, # 2160 MHz @ B1
'pci': 22, 'pci': 22,
'cell_id': '0x22', 'cell_id': '0x22',
'ru': { 'ru': {
'ru_type': 'ru_ref', 'ru_type': 'ru_ref',
'ru_ref': 'RU2_b' 'ru_ref': 'RU_0004'
} }
}) })
def do_enb(): def do_enb():
ienb = Instance('enb') ienb = Instance('enb')
#iRU1_SDR_tLTE2_tNR(ienb) #iRU1_SDR_tLTE2_tNR(ienb)
......
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