summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_policy_route.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-28 20:35:32 +0100
committerGitHub <noreply@github.com>2024-02-28 20:35:32 +0100
commitfc96c0150eb632e016d7f2ba8adf32a9940c1e8c (patch)
treee41c55228643fac1694d87d24183381d45ef4f38 /smoketest/scripts/cli/test_policy_route.py
parente1644d96a613d02db8cc21ccac6226b53568c5b0 (diff)
parent6f7d1e15665655e37e8ca830e28d9650445c1217 (diff)
downloadvyos-1x-fc96c0150eb632e016d7f2ba8adf32a9940c1e8c.tar.gz
vyos-1x-fc96c0150eb632e016d7f2ba8adf32a9940c1e8c.zip
Merge pull request #3055 from sarthurdev/T6073
vrf: conntrack: T6073: Populate VRF zoning chains only while conntrack is required
Diffstat (limited to 'smoketest/scripts/cli/test_policy_route.py')
-rwxr-xr-xsmoketest/scripts/cli/test_policy_route.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/smoketest/scripts/cli/test_policy_route.py b/smoketest/scripts/cli/test_policy_route.py
index c0b7c1fe7..462fc24d0 100755
--- a/smoketest/scripts/cli/test_policy_route.py
+++ b/smoketest/scripts/cli/test_policy_route.py
@@ -68,17 +68,6 @@ class TestPolicyRoute(VyOSUnitTestSHIM.TestCase):
self.verify_rules(ip_rule_search, inverse=True)
- def verify_nftables(self, nftables_search, table, inverse=False):
- nftables_output = cmd(f'sudo nft list table {table}')
-
- for search in nftables_search:
- matched = False
- for line in nftables_output.split("\n"):
- if all(item in line for item in search):
- matched = True
- break
- self.assertTrue(not matched if inverse else matched, msg=search)
-
def verify_rules(self, rules_search, inverse=False):
rule_output = cmd('ip rule show')