summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-27 20:28:22 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-27 20:28:22 +0200
commitc488f55bd1cf14238ab5255a0354ce20b6c0e188 (patch)
tree69a5532fcfc7055c0f243da08fff7d936ac0a33a
parentc6d0227d96e4191488464fc48f5a2b163af7b29e (diff)
downloadvyos-1x-c488f55bd1cf14238ab5255a0354ce20b6c0e188.tar.gz
vyos-1x-c488f55bd1cf14238ab5255a0354ce20b6c0e188.zip
smoketest: interface test base class for 802.1q should not extend testing to QoS
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py
index 8a84199d9..9e1145c7c 100644
--- a/smoketest/scripts/cli/base_interfaces_test.py
+++ b/smoketest/scripts/cli/base_interfaces_test.py
@@ -286,30 +286,12 @@ class BasicInterfaceTest:
base = self._base_path + [interface, 'vif', vlan]
for address in self._test_addr:
self.cli_set(base + ['address', address])
- self.cli_set(base + ['ingress-qos', '0:1'])
- self.cli_set(base + ['egress-qos', '1:6'])
self.cli_commit()
for intf in self._interfaces:
for vlan in self._vlan_range:
vif = f'{intf}.{vlan}'
- tmp = get_interface_config(f'{vif}')
-
- tmp2 = dict_search('linkinfo.info_data.ingress_qos', tmp)
- for item in tmp2 if tmp2 else []:
- from_key = item['from']
- to_key = item['to']
- self.assertEqual(from_key, 0)
- self.assertEqual(to_key, 1)
-
- tmp2 = dict_search('linkinfo.info_data.egress_qos', tmp)
- for item in tmp2 if tmp2 else []:
- from_key = item['from']
- to_key = item['to']
- self.assertEqual(from_key, 1)
- self.assertEqual(to_key, 6)
-
for address in self._test_addr:
self.assertTrue(is_intf_addr_assigned(vif, address))