summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_load-balancing_wan.py
diff options
context:
space:
mode:
authorAbhishek Safui <abhishek.safui@cdot.in>2025-07-05 13:46:32 +0530
committerAbhishek Safui <abhishek.safui@cdot.in>2025-07-05 13:46:32 +0530
commit5b0751423c3b2713d9a7f212e6c0c260ba53f0ce (patch)
tree7bc3317d5be617abf9c2e51e414af7aa5ef072a8 /smoketest/scripts/cli/test_load-balancing_wan.py
parent4374a27342e58fea1ac5928805e688d6d127fd04 (diff)
downloadvyos-1x-5b0751423c3b2713d9a7f212e6c0c260ba53f0ce.tar.gz
vyos-1x-5b0751423c3b2713d9a7f212e6c0c260ba53f0ce.zip
wan-load-balancing: T7584: Default SNAT behaviour fixed to effect load balanced packets only
Updated smoketest to match the updated nftable rule
Diffstat (limited to 'smoketest/scripts/cli/test_load-balancing_wan.py')
-rwxr-xr-xsmoketest/scripts/cli/test_load-balancing_wan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_load-balancing_wan.py b/smoketest/scripts/cli/test_load-balancing_wan.py
index 32e5f6915..20e0003da 100755
--- a/smoketest/scripts/cli/test_load-balancing_wan.py
+++ b/smoketest/scripts/cli/test_load-balancing_wan.py
@@ -171,8 +171,8 @@ class TestLoadBalancingWan(VyOSUnitTestSHIM.TestCase):
nat_wanloadbalance = """table ip vyos_wanloadbalance {
chain wlb_nat_postrouting {
type nat hook postrouting priority srcnat - 1; policy accept;
- ct mark 0x000000c9 counter snat to 203.0.113.10
- ct mark 0x000000ca counter snat to 192.0.2.10
+ ct mark 0x000000c9 oifname "veth1" counter snat to 203.0.113.10
+ ct mark 0x000000ca oifname "veth2" counter snat to 192.0.2.10
}
}"""