summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_firewall.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-20 06:11:26 +0200
committerGitHub <noreply@github.com>2023-09-20 06:11:26 +0200
commitb52cf1b7b3bc138b26eb21f917967748c40f9d3a (patch)
tree0334c3b369508e68012093d980ccb4e313b99f8a /smoketest/scripts/cli/test_firewall.py
parent483482f16133d5aa61b07a88cca5bce7bb7776f8 (diff)
parentcdbe969308c1f540050d288ffc6b55abbefa7534 (diff)
downloadvyos-1x-b52cf1b7b3bc138b26eb21f917967748c40f9d3a.tar.gz
vyos-1x-b52cf1b7b3bc138b26eb21f917967748c40f9d3a.zip
Merge pull request #2293 from sarthurdev/conntrack_flowtable
conntrack: firewall: T4502: Update conntrack check for new flowtable CLI
Diffstat (limited to 'smoketest/scripts/cli/test_firewall.py')
-rwxr-xr-xsmoketest/scripts/cli/test_firewall.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py
index 72e04847a..676be5305 100755
--- a/smoketest/scripts/cli/test_firewall.py
+++ b/smoketest/scripts/cli/test_firewall.py
@@ -637,5 +637,9 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase):
self.verify_nftables(nftables_search, 'ip vyos_filter')
self.verify_nftables(nftables_search, 'ip6 vyos_filter')
+ # Check conntrack
+ self.verify_nftables_chain([['accept']], 'ip vyos_conntrack', 'FW_CONNTRACK')
+ self.verify_nftables_chain([['accept']], 'ip6 vyos_conntrack', 'FW_CONNTRACK')
+
if __name__ == '__main__':
unittest.main(verbosity=2)