From 1c747d1d1e023bf041afa01b6a18166d15b46d8e Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Wed, 13 Sep 2023 10:36:59 +0000 Subject: T5561: nat: defining inbound|outbound interface should not be mandatory while configuring dNAT|sNAT rule (cherry picked from commit ec5437913e489f40fea6bab89a6bb5f565cd1ab7) --- smoketest/scripts/cli/test_nat.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_nat.py b/smoketest/scripts/cli/test_nat.py index 31dfcef87..703e5ab28 100755 --- a/smoketest/scripts/cli/test_nat.py +++ b/smoketest/scripts/cli/test_nat.py @@ -155,11 +155,6 @@ class TestNAT(VyOSUnitTestSHIM.TestCase): rule = '5' self.cli_set(src_path + ['rule', rule, 'source', 'address', '192.0.2.0/24']) - # check validate() - outbound-interface must be defined - with self.assertRaises(ConfigSessionError): - self.cli_commit() - self.cli_set(src_path + ['rule', rule, 'outbound-interface', 'eth0']) - # check validate() - translation address not specified with self.assertRaises(ConfigSessionError): self.cli_commit() -- cgit v1.2.3