summaryrefslogtreecommitdiffstats
path: root/test/test_snat.py
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-08-14 23:39:58 -0700
committerMatus Fabian <matfabia@cisco.com>2017-08-14 23:39:58 -0700
commit6912628261711b67722dd900c7dd3bf0dbabb82e (patch)
treed9bb467c113d8b9c0e12d893a63b336f69df1f04 /test/test_snat.py
parentd69f4f416d291fd03ba423af4eb6f6c416f328a4 (diff)
SNAT: fix overlapping address space test
change address/network of the second interface within VRF 10 Change-Id: Iab9772a419fb3e8f1a193756bdaa68cd8cdbb121 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'test/test_snat.py')
-rw-r--r--test/test_snat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_snat.py b/test/test_snat.py
index 43c4269600f..9f5377ebe46 100644
--- a/test/test_snat.py
+++ b/test/test_snat.py
@@ -553,9 +553,9 @@ class TestSNAT(MethodHolder):
cls.pg4._local_ip4n = socket.inet_pton(socket.AF_INET, i.local_ip4)
cls.pg4._remote_hosts[0]._ip4 = "172.16.255.2"
cls.pg4.set_table_ip4(10)
- cls.pg5._local_ip4 = "172.16.255.3"
+ cls.pg5._local_ip4 = "172.17.255.3"
cls.pg5._local_ip4n = socket.inet_pton(socket.AF_INET, i.local_ip4)
- cls.pg5._remote_hosts[0]._ip4 = "172.16.255.4"
+ cls.pg5._remote_hosts[0]._ip4 = "172.17.255.4"
cls.pg5.set_table_ip4(10)
cls.pg6._local_ip4 = "172.16.255.1"
cls.pg6._local_ip4n = socket.inet_pton(socket.AF_INET, i.local_ip4)