aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2021-11-22 10:57:32 +0100
committerFlorin Coras <florin.coras@gmail.com>2021-11-22 20:23:14 +0000
commitb19d3e3e038ba8762953a68e046f11674ad583b0 (patch)
treecaeb11650c2dc2133a3d431bed36ef64e7bd4045
parent56eccdbaa982a6aff16fbc2a651fd024ecc589a8 (diff)
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 <fivarga@cisco.com>
-rw-r--r--test/test_nat44_ed.py2
1 files changed, 1 insertions, 1 deletions
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