aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_punt.py
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2020-04-02 13:13:39 +0000
committerNeale Ranns <nranns@cisco.com>2020-05-15 11:41:14 +0000
commit4362baa33c00b93d07f6648c87c064c96900f4df (patch)
treef7ffb67f3b6a98348ae4f88ae8d06f8d0ecbeffd /test/test_punt.py
parent17b5c3d6ab83a597e7c79613041f2fd7470825bd (diff)
ikev2: add support for NAT traversal
Type: feature * initiator behind NAT supported * tested with static NAT mappings * works only with pre-configured tunnels The pre-configured tunnel has to be defined as follows: initiator (i) side: src=ip(i) dst=ip(r) responder (r) side: src=ip(r) dst=ip(nat) Change-Id: Ia9f79ddbbcc3f7dc8fde6bbeca2a433e3b784e94 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'test/test_punt.py')
-rw-r--r--test/test_punt.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test_punt.py b/test/test_punt.py
index ecd34f6eea7..0c5ec7efe1f 100644
--- a/test/test_punt.py
+++ b/test/test_punt.py
@@ -795,15 +795,12 @@ class TestExceptionPuntSocket(TestPuntSocket):
#
# we're dealing with IPSec tunnels punting for no-such-tunnel
- # adn SPI=0
+ # (SPI=0 goes to ikev2)
#
cfgs = dict()
cfgs['ipsec4-no-such-tunnel'] = {'spi': 99,
'udp': False,
'itf': self.pg0}
- cfgs['ipsec4-spi-o-udp-0'] = {'spi': 0,
- 'udp': True,
- 'itf': self.pg1}
#
# find the VPP ID for these punt exception reasin