Commit c01c1e58 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a1f61449
......@@ -46,6 +46,7 @@ setup(
'slapos.libnetworkcache',
'slapos.cookbook',
'pcpp',
'xmltodict',
],
zip_safe=True,
test_suite='test',
......
......@@ -21,6 +21,7 @@ import json
import io
import yaml
import pcpp
import xmltodict
import unittest
from slapos.testing.testcase import makeModuleSetUpAndTestCaseClass
......@@ -390,6 +391,23 @@ class TestENB_Lopcomm(ENBTestCase):
))
# XXX verify cu_cfg
def test_ru_cu_cfg(t):
# cu_config.xml of RU i
def CU(i):
cu_xml = t.ipath('etc/%s' % xbuildout.encode('%s-cu_config.xml' % t.ref('RU%d' % i)))
return xmltodict.parse(cu_xml)
cu1 = CU(1)
assertMatch(t, cu1, {
'user-plane-configuration': {
'tx-endpoints': 'aaa',
'tx-links': 'bbb',
'rx-endpoints': 'ccc',
'rx-links': 'ddd',
'tx-array-acarriers': 'qqq',
}
})
......
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