diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-13 17:35:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 17:35:25 +0100 |
commit | 83bf14e34a986ba35904f3889341310f85ae88c4 (patch) | |
tree | 2f0fde5ca4aa9e9ff9ce29d7b8a0c8f95a063633 /smoketest | |
parent | fe12cb8694c2eacfb450305e5a42a0f1e4d7787d (diff) | |
parent | ef87bd7320da2750de4d93c14314965704f3dfbd (diff) | |
download | vyos-1x-83bf14e34a986ba35904f3889341310f85ae88c4.tar.gz vyos-1x-83bf14e34a986ba35904f3889341310f85ae88c4.zip |
Merge pull request #2999 from sever-sever/T5928
T5928: Change firewall priority to 319
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_firewall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py index 415f3436f..bc2848492 100755 --- a/smoketest/scripts/cli/test_firewall.py +++ b/smoketest/scripts/cli/test_firewall.py @@ -813,7 +813,8 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase): self.verify_nftables(nftables_search_v6, 'ip6 vyos_filter') def test_flow_offload(self): - self.cli_set(['firewall', 'flowtable', 'smoketest', 'interface', 'eth0']) + self.cli_set(['interfaces', 'ethernet', 'eth0', 'vif', '10']) + self.cli_set(['firewall', 'flowtable', 'smoketest', 'interface', 'eth0.10']) self.cli_set(['firewall', 'flowtable', 'smoketest', 'offload', 'hardware']) # QEMU virtual NIC does not support hw-tc-offload @@ -839,7 +840,7 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase): nftables_search = [ ['flowtable VYOS_FLOWTABLE_smoketest'], ['hook ingress priority filter'], - ['devices = { eth0 }'], + ['devices = { eth0.10 }'], ['ct state { established, related }', 'meta l4proto { tcp, udp }', 'flow add @VYOS_FLOWTABLE_smoketest'], ] |