diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-06-10 11:35:07 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-06-10 11:35:07 +0000 |
commit | 7a46ac5ebe7ad980a87505f52a36e18d6a23fa59 (patch) | |
tree | 07cb9d73567d9ab06f1dcfb48a241999da502d19 | |
parent | 82c187df1a5380c5b8a4358e71a026859601be8f (diff) | |
download | vyos-1x-7a46ac5ebe7ad980a87505f52a36e18d6a23fa59.tar.gz vyos-1x-7a46ac5ebe7ad980a87505f52a36e18d6a23fa59.zip |
smoketest: T970: Add commit after static-host-mapping
Staic-host-mapping 'example.com' should be exists before we
configure firewall domain-group FOO address example.com
-rwxr-xr-x | smoketest/scripts/cli/test_firewall.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py index 79d22e361..a04abf266 100755 --- a/smoketest/scripts/cli/test_firewall.py +++ b/smoketest/scripts/cli/test_firewall.py @@ -64,6 +64,8 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase): for ips in example_org: self.cli_set(hostmap_path + ['example.org', 'inet', ips]) + self.cli_commit() + self.cli_set(['firewall', 'group', 'mac-group', 'smoketest_mac', 'mac-address', '00:01:02:03:04:05']) self.cli_set(['firewall', 'group', 'network-group', 'smoketest_network', 'network', '172.16.99.0/24']) self.cli_set(['firewall', 'group', 'port-group', 'smoketest_port', 'port', '53']) |