summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_nat.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-14 19:12:47 +0200
committerGitHub <noreply@github.com>2023-09-14 19:12:47 +0200
commit5f2179306708f7faa13bbc826dddde839b015bbb (patch)
tree54107cbbd8e0f413c51a14dc1dc876bb6133c1b2 /smoketest/scripts/cli/test_nat.py
parent39e3c9e06e79b720265b16840a2a8858c9939278 (diff)
parentec5437913e489f40fea6bab89a6bb5f565cd1ab7 (diff)
downloadvyos-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/test_nat.py')
-rwxr-xr-xsmoketest/scripts/cli/test_nat.py5
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()