diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-09-13 10:36:59 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-14 17:13:49 +0000 |
commit | 1c747d1d1e023bf041afa01b6a18166d15b46d8e (patch) | |
tree | 37992413a2ab553bf6ddc6639b32096c5ea3df8f /smoketest/scripts/cli/test_nat.py | |
parent | c5498ec219d02c1f671c0ff8b8e780d684ee24b0 (diff) | |
download | vyos-1x-1c747d1d1e023bf041afa01b6a18166d15b46d8e.tar.gz vyos-1x-1c747d1d1e023bf041afa01b6a18166d15b46d8e.zip |
T5561: nat: defining inbound|outbound interface should not be mandatory while configuring dNAT|sNAT rule
(cherry picked from commit ec5437913e489f40fea6bab89a6bb5f565cd1ab7)
Diffstat (limited to 'smoketest/scripts/cli/test_nat.py')
-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() |