diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-21 20:26:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-21 20:26:08 +0200 |
commit | 902586e248dd84883a097a3daca0b1129db25b38 (patch) | |
tree | 0242eddb47ada1e9d937cb87fe0786c7be7cfae1 /smoketest/scripts | |
parent | a06a2b58cac1559a35d60916628a234359d213d9 (diff) | |
download | vyos-1x-902586e248dd84883a097a3daca0b1129db25b38.tar.gz vyos-1x-902586e248dd84883a097a3daca0b1129db25b38.zip |
fastnetmon: T4555: add IPv6 support
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_service_ids.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_service_ids.py b/smoketest/scripts/cli/test_service_ids.py index 18f1b8ec5..b4a8934e5 100755 --- a/smoketest/scripts/cli/test_service_ids.py +++ b/smoketest/scripts/cli/test_service_ids.py @@ -86,6 +86,10 @@ class TestServiceIDS(VyOSUnitTestSHIM.TestCase): self.assertIn(f'threshold_mbps = {mbps}', config) self.assertIn(f'ban_for_pps = on', config) self.assertIn(f'threshold_pps = {pps}', config) + # default + self.assertIn(f'enable_ban = on', config) + self.assertIn(f'enable_ban_ipv6 = on', config) + self.assertIn(f'ban_time = 1900', config) tmp = ','.join(interfaces) self.assertIn(f'interfaces = {tmp}', config) |