diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-16 12:57:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 12:57:57 +0200 |
commit | 8f79a5cb4ee9b6eb5e825304702558fd5db791df (patch) | |
tree | 27f861dd70a0988517b6fadae089972bc133cb5d /smoketest/scripts | |
parent | 50bbac2a4227ab75973f619b527f24f36e11dc14 (diff) | |
parent | 1c747d1d1e023bf041afa01b6a18166d15b46d8e (diff) | |
download | vyos-1x-8f79a5cb4ee9b6eb5e825304702558fd5db791df.tar.gz vyos-1x-8f79a5cb4ee9b6eb5e825304702558fd5db791df.zip |
Merge pull request #2267 from vyos/mergify/bp/sagitta/pr-2253
T5561: nat: inbound|outbound interface should not be mandatory (backport #2253)
Diffstat (limited to 'smoketest/scripts')
-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() |