summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-26 23:48:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-26 23:48:08 +0000
commitc56ca9c1dccaa11a2ff3af588b45d85207fb1e40 (patch)
treee79ed007482dbc5dc7ed5741b4085be82d142cb1 /tests/unit
parent624e4d44b60b08deece8ed957829734698250368 (diff)
parent13df0af820060eb2927f8b00cacad30b18aa8874 (diff)
Merge "Adding multi-port support for ixia taffic generator"
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/network_services/libs/ixia_libs/test_IxNet.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/unit/network_services/libs/ixia_libs/test_IxNet.py b/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
index 0c82d74a8..3f374fb50 100644
--- a/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
+++ b/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
@@ -82,10 +82,8 @@ class TestIxNextgen(unittest.TestCase):
config = {
'chassis': '1.1.1.1',
- 'card1': '1',
- 'card2': '2',
- 'port1': '2',
- 'port2': '2',
+ 'cards': ['1', '2'],
+ 'ports': ['2', '2'],
}
ixnet_gen = IxNextgen(ixnet)
@@ -673,10 +671,8 @@ class TestIxNextgen(unittest.TestCase):
'machine': 'test1',
'port': 'test5',
'chassis': 'test4',
- 'card1': '0000',
- 'port1': '07',
- 'card2': '0001',
- 'port2': '08',
+ 'cards': ['0000', '0001'],
+ 'ports': ['07', '08'],
'output_dir': 'test2',
'version': 'test3',
'bidir': True,