summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-21 20:26:08 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-21 20:26:08 +0200
commit902586e248dd84883a097a3daca0b1129db25b38 (patch)
tree0242eddb47ada1e9d937cb87fe0786c7be7cfae1 /smoketest/scripts/cli
parenta06a2b58cac1559a35d60916628a234359d213d9 (diff)
downloadvyos-1x-902586e248dd84883a097a3daca0b1129db25b38.tar.gz
vyos-1x-902586e248dd84883a097a3daca0b1129db25b38.zip
fastnetmon: T4555: add IPv6 support
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_service_ids.py4
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)