diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-14 19:12:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 19:12:47 +0200 |
commit | 5f2179306708f7faa13bbc826dddde839b015bbb (patch) | |
tree | 54107cbbd8e0f413c51a14dc1dc876bb6133c1b2 /smoketest/scripts/cli | |
parent | 39e3c9e06e79b720265b16840a2a8858c9939278 (diff) | |
parent | ec5437913e489f40fea6bab89a6bb5f565cd1ab7 (diff) | |
download | vyos-1x-5f2179306708f7faa13bbc826dddde839b015bbb.tar.gz vyos-1x-5f2179306708f7faa13bbc826dddde839b015bbb.zip |
Merge pull request #2253 from nicolas-fort/T5561
T5561: nat: inbound|outbound interface should not be mandatory
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_nat.py | 5 |
1 files changed, 0 insertions, 5 deletions
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() |