From: Filip Varga Date: Mon, 22 Nov 2021 09:57:32 +0000 (+0100) Subject: nat: change nat44-ed test pool address X-Git-Tag: v22.06-rc0~199 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b19d3e3e038ba8762953a68e046f11674ad583b0;p=vpp.git nat: change nat44-ed test pool address NAT pool address overlaps with pg4 network 10.0.0.1/24 this is not desirable because of upcoming change [1]. This change uncovered configuration issue with hairpinning test that would fail because of already configured pg4 interface that shares subnet with nat pool address. Packets would incorectly end up in bad pg interface causing the test to fail. This patch changes nat pool address to 10.0.10.3 that doesn't belong to any of the subnets configured on pg interfaces in nat tests. [1] https://gerrit.fd.io/r/c/vpp/+/34441 Type: test Change-Id: I49e63dacbf0847116adbcf1954ff5defd833a657 Signed-off-by: Filip Varga --- diff --git a/test/test_nat44_ed.py b/test/test_nat44_ed.py index 3831a35657c..5684f5921ba 100644 --- a/test/test_nat44_ed.py +++ b/test/test_nat44_ed.py @@ -22,7 +22,7 @@ from vpp_papi import VppEnum class TestNAT44ED(VppTestCase): """ NAT44ED Test Case """ - nat_addr = '10.0.0.3' + nat_addr = '10.0.10.3' tcp_port_in = 6303 tcp_port_out = 6303