nat: change nat44-ed test pool address 59/34559/3
authorFilip Varga <fivarga@cisco.com>
Mon, 22 Nov 2021 09:57:32 +0000 (10:57 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 22 Nov 2021 20:23:14 +0000 (20:23 +0000)
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>
test/test_nat44_ed.py

index 3831a35..5684f59 100644 (file)
@@ -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