diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-08-30 14:22:45 +0200 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2024-08-30 14:59:22 +0200 |
commit | 25e10819e30d10b6f6617724a33d743dd0cada86 (patch) | |
tree | 455cbb854dbbd56bdb275ad36ffd88e6a626c3c3 | |
parent | tests: fix nhs1 down check in nhrp_redundancy (diff) | |
download | frr-25e10819e30d10b6f6617724a33d743dd0cada86.tar.xz frr-25e10819e30d10b6f6617724a33d743dd0cada86.zip |
tests: fix iptables command in nhrp_redundancy
Replace --nflog-range argument by --nflog-range due to:
> 2024-08-30 10:44:54,816 INFO: topo: input: iptables -A FORWARD -i nhs3-gre0 -o nhs3-gre0 -m hashlimit --hashlimit-upto 4/minute --hashlimit-burst 1 --hashlimit-mode srcip,dstip --hashlimit-srcmask 24 --hashlimit-dstmask 24 --hashlimit-name loglimit-0 -j NFLOG --nflog-group 1 --nflog-range 128
> 2024-08-30 10:44:54,819 INFO: topo: output: warn: --nflog-range has never worked and is no longer supported, please use --nflog-size insted
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
-rw-r--r-- | tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py index f45006bd2..702667401 100644 --- a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py +++ b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py @@ -106,7 +106,7 @@ def _populate_iface(): "echo 0 > /proc/sys/net/ipv4/ip_forward_use_pmtu", "echo 1 > /proc/sys/net/ipv6/conf/{0}-eth0/disable_ipv6", "echo 1 > /proc/sys/net/ipv6/conf/{0}-gre0/disable_ipv6", - "iptables -A FORWARD -i {0}-gre0 -o {0}-gre0 -m hashlimit --hashlimit-upto 4/minute --hashlimit-burst 1 --hashlimit-mode srcip,dstip --hashlimit-srcmask 24 --hashlimit-dstmask 24 --hashlimit-name loglimit-0 -j NFLOG --nflog-group 1 --nflog-range 128", + "iptables -A FORWARD -i {0}-gre0 -o {0}-gre0 -m hashlimit --hashlimit-upto 4/minute --hashlimit-burst 1 --hashlimit-mode srcip,dstip --hashlimit-srcmask 24 --hashlimit-dstmask 24 --hashlimit-name loglimit-0 -j NFLOG --nflog-group 1 --nflog-size 128", ] cmds_tot = [ |