diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-09-16 16:18:30 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-09-26 13:15:02 +0000 |
commit | 67cf858c8727f7f232aa4648510335f2b2028aaa (patch) | |
tree | 46ea3e2d1d431a6ddd60f188f9097f56d71b5e21 /smoketest/scripts/cli/test_service_ids.py | |
parent | 3ed4341db4b30df7b06b8ef393c3afa2e5422aff (diff) | |
download | vyos-1x-67cf858c8727f7f232aa4648510335f2b2028aaa.tar.gz vyos-1x-67cf858c8727f7f232aa4648510335f2b2028aaa.zip |
ids: T4557: Migrate threshold and add new threshold types
Migrate "service ids ddos-protection threshold xxx" to
"service ids ddos-protection general threshold xxx"
Add new threshold types:
set service ids ddos-protection threshold tcp xxx
set service ids ddos-protection threshold udp xxx
set service ids ddos-protection threshold icmp xxx
Diffstat (limited to 'smoketest/scripts/cli/test_service_ids.py')
-rwxr-xr-x | smoketest/scripts/cli/test_service_ids.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_service_ids.py b/smoketest/scripts/cli/test_service_ids.py index d471eeaed..dcf2bcefe 100755 --- a/smoketest/scripts/cli/test_service_ids.py +++ b/smoketest/scripts/cli/test_service_ids.py @@ -77,9 +77,9 @@ class TestServiceIDS(VyOSUnitTestSHIM.TestCase): self.cli_set(base_path + ['listen-interface', tmp]) self.cli_set(base_path + ['direction', 'in']) - self.cli_set(base_path + ['threshold', 'fps', fps]) - self.cli_set(base_path + ['threshold', 'pps', pps]) - self.cli_set(base_path + ['threshold', 'mbps', mbps]) + self.cli_set(base_path + ['threshold', 'general', 'fps', fps]) + self.cli_set(base_path + ['threshold', 'general', 'pps', pps]) + self.cli_set(base_path + ['threshold', 'general', 'mbps', mbps]) # commit changes self.cli_commit() |