From 103577ca74b69054d1b8e095511e4593d75339c1 Mon Sep 17 00:00:00 2001 From: "Chornyi, TarasX" Date: Mon, 31 Dec 2018 17:13:15 +0200 Subject: Add static ip mask support JIRA: YARDSTICK-1566 Change-Id: I6a826d5662a1dfc818c9f1ddf94b3f01c3d37d3b Signed-off-by: Chornyi, TarasX --- .../tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'yardstick/tests/unit/network_services/libs') diff --git a/yardstick/tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py b/yardstick/tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py index c1d902061..5b32a4297 100644 --- a/yardstick/tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py +++ b/yardstick/tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py @@ -373,13 +373,15 @@ class TestIxNextgen(unittest.TestCase): self.ixnet_gen.add_static_ipv4(iface='iface', vport='vport', start_ip='10.0.0.0', - count='100') + count='100', + mask='32') self.ixnet_gen.ixnet.add.assert_called_once_with( 'vport/protocols/static', 'ip') self.ixnet_gen.ixnet.setMultiAttribute.assert_any_call( 'obj', '-protocolInterface', 'iface', '-ipStart', '10.0.0.0', '-count', '100', + '-mask', '32', '-enabled', 'true') @mock.patch.object(IxNetwork, 'IxNet') -- cgit 1.2.3-korg