diff options
author | Matus Fabian <matfabia@cisco.com> | 2017-12-07 23:22:51 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-12-13 14:15:35 +0000 |
commit | 51e759fd0655b6089360e1ccf2f5341704549fd4 (patch) | |
tree | 125a66214683c3aae9b1ddec253ef7910b3e38d8 /test/test_nat.py | |
parent | 331acc632477ed2da1c9c0b90915a227b5e343d5 (diff) |
NAT64: multi-thread support (VPP-891)
Change-Id: Iebf859b6d86482e4465423bad598eecf87e53ec4
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'test/test_nat.py')
-rw-r--r-- | test/test_nat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_nat.py b/test/test_nat.py index e7723b1df0e..36163297961 100644 --- a/test/test_nat.py +++ b/test/test_nat.py @@ -2056,7 +2056,7 @@ class TestNAT44(MethodHolder): nat_ip2 = "10.0.0.11" self.nat44_add_address(nat_ip1) - self.nat44_add_address(nat_ip2) + self.nat44_add_address(nat_ip2, vrf_id=99) self.vapi.nat44_interface_add_del_feature(self.pg0.sw_if_index) self.vapi.nat44_interface_add_del_feature(self.pg1.sw_if_index) self.vapi.nat44_interface_add_del_feature(self.pg2.sw_if_index, @@ -2832,7 +2832,7 @@ class TestNAT44(MethodHolder): self.vapi.nat44_interface_add_del_feature(self.pg0.sw_if_index) self.vapi.nat44_interface_add_del_feature(self.pg1.sw_if_index, is_inside=0) - self.vapi.cli("nat44 addr-port-assignment-alg map-e psid 10 " + self.vapi.cli("nat addr-port-assignment-alg map-e psid 10 " "psid-offset 6 psid-len 6") p = (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) / @@ -2862,7 +2862,7 @@ class TestNAT44(MethodHolder): if not self.vpp_dead: self.logger.info(self.vapi.cli("show nat44 verbose")) self.logger.info(self.vapi.cli("show nat virtual-reassembly")) - self.vapi.cli("nat44 addr-port-assignment-alg default") + self.vapi.cli("nat addr-port-assignment-alg default") self.clear_nat44() |