diff options
author | jack9603301 <jack9603301@163.com> | 2021-03-09 14:08:38 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2021-03-09 14:12:48 +0800 |
commit | 988be4157422975bec75122e875b722f7c933966 (patch) | |
tree | c59c76f488d4c59ce24df24246e536bc7f674926 /smoketest/scripts/cli | |
parent | 4c8d882e9125fb45977f74a217e9d716138d6291 (diff) | |
download | vyos-1x-988be4157422975bec75122e875b722f7c933966.tar.gz vyos-1x-988be4157422975bec75122e875b722f7c933966.zip |
nptv6: T2518: Support masquerade and cancel new migrators
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_nat66.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_nat66.py b/smoketest/scripts/cli/test_nat66.py index d2cb60025..4838fb8d8 100755 --- a/smoketest/scripts/cli/test_nat66.py +++ b/smoketest/scripts/cli/test_nat66.py @@ -157,7 +157,6 @@ class TestNAT66(unittest.TestCase): # T2813: Ensure translation address is specified rule = '5' source_prefix = 'fc00::/64' - translation_prefix = 'fc00:2::/64' self.session.set(src_path + ['rule', rule, 'source', 'prefix', source_prefix]) # check validate() - outbound-interface must be defined @@ -169,7 +168,7 @@ class TestNAT66(unittest.TestCase): with self.assertRaises(ConfigSessionError): self.session.commit() - self.session.set(src_path + ['rule', rule, 'translation', 'address', translation_prefix]) + self.session.set(src_path + ['rule', rule, 'translation', 'address', 'masquerade']) self.session.commit() def test_nat66_no_rules(self): |