summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-29 21:17:41 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-29 21:17:41 +0100
commitd5e4561955b70c2e1f42aa988c6be86f2913c6bd (patch)
tree8d2cffe15797148018ecb05736de17f1201bb80a /smoketest/scripts/cli/test_interfaces_bonding.py
parentd36063f837e7b015e8f9fc3a19832bc36bceb61a (diff)
downloadvyos-1x-d5e4561955b70c2e1f42aa988c6be86f2913c6bd.tar.gz
vyos-1x-d5e4561955b70c2e1f42aa988c6be86f2913c6bd.zip
smoketest: interfaces: adjust to internal API changes
Commit 29e32d39 ("smoketest: T1466: add eapol tests") renamed interface methods of class BasicInterfaceTest, those change was not reflected in every derived class.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bonding.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_bonding.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bonding.py b/smoketest/scripts/cli/test_interfaces_bonding.py
index 83b549005..a7355f418 100755
--- a/smoketest/scripts/cli/test_interfaces_bonding.py
+++ b/smoketest/scripts/cli/test_interfaces_bonding.py
@@ -51,18 +51,16 @@ class BondingInterfaceTest(BasicInterfaceTest.BaseTest):
self._options['bond0'].append(f'member interface {member}')
- def test_add_address_single(self):
+ def test_add_single_ip_address(self):
""" derived method to check if member interfaces are enslaved properly """
- super().test_add_address_single()
+ super().test_add_single_ip_address()
for interface in self._interfaces:
slaves = read_file(f'/sys/class/net/{interface}/bonding/slaves').split()
self.assertListEqual(slaves, self._members)
- def test_8021q_vlan(self):
- """ Testcase for 802.1q VLAN interfaces created on top of a lacp / bond
- interface. This is the testcase for T2894 """
- super().test_8021q_vlan()
+ def test_8021q_vlan_interfaces(self):
+ super().test_8021q_vlan_interfaces()
for interface in self._interfaces:
slaves = read_file(f'/sys/class/net/{interface}/bonding/slaves').split()