diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-05 21:21:08 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-05 21:21:08 +0100 |
commit | ab111d56410753929979b06899912ea036819405 (patch) | |
tree | 7e9ccc569fcc07c7a010d90e96db944bff7413ce /smoketest/scripts/cli/base_interfaces_test.py | |
parent | b3be36586c85005538d5cc994c7c9694b9907d81 (diff) | |
download | vyos-1x-ab111d56410753929979b06899912ea036819405.tar.gz vyos-1x-ab111d56410753929979b06899912ea036819405.zip |
smoketest: T3972: test removal of vif-c interfaces
Diffstat (limited to 'smoketest/scripts/cli/base_interfaces_test.py')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index 90c534796..340ec4edd 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -493,6 +493,16 @@ class BasicInterfaceTest: tmp = get_interface_config(vif) self.assertEqual(tmp['mtu'], int(self._mtu)) + # T3972: remove vif-c interfaces from vif-s + for interface in self._interfaces: + base = self._base_path + [interface] + for vif_s in self._qinq_range: + base = self._base_path + [interface, 'vif-s', vif_s, 'vif-c'] + self.cli_delete(base) + + self.cli_commit() + + def test_vif_s_protocol_change(self): # XXX: This testcase is not allowed to run as first testcase, reason # is the Wireless test will first load the wifi kernel hwsim module |