Commit 774ee71e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 89d7dfe0
...@@ -404,51 +404,51 @@ class TestENB_Lopcomm(ENBTestCase): ...@@ -404,51 +404,51 @@ class TestENB_Lopcomm(ENBTestCase):
return xmltodict.parse(cu) return xmltodict.parse(cu)
cu1 = CU(1) cu1 = CU(1)
print(cu1)
uplane = cu1['xc:config']['user-plane-configuration']
assertMatch(t, cu1, { assertMatch(t, cu1, {
'user-plane-configuration': { 'xc:config': {
'tx-endpoints': [ 'user-plane-configuration': {
{'name': 'TXA0P00C00', 'e-axcid': {'eaxc-id': 0}}, 'tx-endpoints': [
{'name': 'TXA0P00C01', 'e-axcid': {'eaxc-id': 1}}, {'name': 'TXA0P00C00', 'e-axcid': {'eaxc-id': 0}},
{'name': 'TXA0P01C00', 'e-axcid': {'eaxc-id': 2}}, {'name': 'TXA0P00C01', 'e-axcid': {'eaxc-id': 1}},
{'name': 'TXA0P01C01', 'e-axcid': {'eaxc-id': 3}}, {'name': 'TXA0P01C00', 'e-axcid': {'eaxc-id': 2}},
], {'name': 'TXA0P01C01', 'e-axcid': {'eaxc-id': 3}},
'tx-links': [ ],
{'name': 'TXA0P00C00', 'tx-endpoint': 'TXA0P00C00'}, 'tx-links': [
{'name': 'TXA0P00C01', 'tx-endpoint': 'TXA0P00C01'}, {'name': 'TXA0P00C00', 'tx-endpoint': 'TXA0P00C00'},
{'name': 'TXA0P01C00', 'tx-endpoint': 'TXA0P01C00'}, {'name': 'TXA0P00C01', 'tx-endpoint': 'TXA0P00C01'},
{'name': 'TXA0P01C01', 'tx-endpoint': 'TXA0P01C01'}, {'name': 'TXA0P01C00', 'tx-endpoint': 'TXA0P01C00'},
], {'name': 'TXA0P01C01', 'tx-endpoint': 'TXA0P01C01'},
'rx-endpoints': [ ],
{'name': 'RXA0P00C00', 'e-axcid': {'eaxc-id': 0x00}}, 'rx-endpoints': [
{'name': 'PRACH0P00C00', 'e-axcid': {'eaxc-id': 0x18}}, {'name': 'RXA0P00C00', 'e-axcid': {'eaxc-id': 0x00}},
{'name': 'RXA0P00C01', 'e-axcid': {'eaxc-id': 0x01}}, {'name': 'PRACH0P00C00', 'e-axcid': {'eaxc-id': 0x18}},
{'name': 'PRACH0P00C01', 'e-axcid': {'eaxc-id': 0x19}}, {'name': 'RXA0P00C01', 'e-axcid': {'eaxc-id': 0x01}},
], {'name': 'PRACH0P00C01', 'e-axcid': {'eaxc-id': 0x19}},
'rx-links': [ ],
{'name': 'RXA0P00C00', 'rx-endpoint': 'RXA0P00C00'}, 'rx-links': [
{'name': 'PRACH0P00C00', 'rx-endpoint': 'PRACH0P00C00'}, {'name': 'RXA0P00C00', 'rx-endpoint': 'RXA0P00C00'},
{'name': 'RXA0P00C01', 'rx-endpoint': 'RXA0P00C01'}, {'name': 'PRACH0P00C00', 'rx-endpoint': 'PRACH0P00C00'},
{'name': 'PRACH0P00C01', 'rx-endpoint': 'PRACH0P00C01'}, {'name': 'RXA0P00C01', 'rx-endpoint': 'RXA0P00C01'},
], {'name': 'PRACH0P00C01', 'rx-endpoint': 'PRACH0P00C01'},
# CELL1 FDD LTE(100) BW(5) ],
'tx-array-carriers': { # CELL1 FDD LTE(100) BW(5)
'rw-duplex-scheme': 'FDD', 'tx-array-carriers': {
'rw-type': 'LTE', 'rw-duplex-scheme': 'FDD',
'absolute-frequency-center': 100, 'rw-type': 'LTE',
'center-of-channel-bandwidth': 2120e6, 'absolute-frequency-center': 100,
'channel-bandwidth': 5e6, 'center-of-channel-bandwidth': 2120e6,
'gain': 'XXX', 'channel-bandwidth': 5e6,
'active': 'XXX', 'gain': 'XXX',
}, 'active': 'XXX',
'rx-array-carriers': { },
'absolute-frequency-center': 18100, 'rx-array-carriers': {
'center-of-channel-bandwidth': 1930e6, 'absolute-frequency-center': 18100,
'channel-bandwidth': 5e6, 'center-of-channel-bandwidth': 1930e6,
# XXX no <gain>ru.rx_gain</gain> TODO(lu): clarify this with Lopcomm 'channel-bandwidth': 5e6,
'active': 'XXX', # XXX no <gain>ru.rx_gain</gain> TODO(lu.xu): clarify this with Lopcomm
}, 'active': 'XXX',
},
}
} }
}) })
......
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