aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_bond.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_bond.py')
-rw-r--r--test/test_bond.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_bond.py b/test/test_bond.py
index 60ee33c0356..27da15c5ab5 100644
--- a/test/test_bond.py
+++ b/test/test_bond.py
@@ -86,13 +86,9 @@ class TestBondInterface(VppTestCase):
# enslave pg0 and pg1 to BondEthernet0
self.logger.info("bond enslave interface pg0 to BondEthernet0")
- bond0.enslave_vpp_bond_interface(sw_if_index=self.pg0.sw_if_index,
- is_passive=0,
- is_long_timeout=0)
+ bond0.enslave_vpp_bond_interface(sw_if_index=self.pg0.sw_if_index)
self.logger.info("bond enslave interface pg1 to BondEthernet0")
- bond0.enslave_vpp_bond_interface(sw_if_index=self.pg1.sw_if_index,
- is_passive=0,
- is_long_timeout=0)
+ bond0.enslave_vpp_bond_interface(sw_if_index=self.pg1.sw_if_index)
# verify both slaves in BondEthernet0
if_dump = self.vapi.sw_interface_slave_dump(bond0.sw_if_index)
@@ -276,5 +272,6 @@ class TestBondInterface(VppTestCase):
if_dump = self.vapi.sw_interface_bond_dump()
self.assertFalse(bond0.is_interface_config_in_dump(if_dump))
+
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)