From 7a46ac5ebe7ad980a87505f52a36e18d6a23fa59 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 10 Jun 2022 11:35:07 +0000 Subject: 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 --- smoketest/scripts/cli/test_firewall.py | 2 ++ 1 file changed, 2 insertions(+) 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']) -- cgit v1.2.3