X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_punt.py;h=0c5ec7efe1ffa55abe69391971af5a71b43b0807;hb=9459d65ba43c36b3e4117e0df9d07f8e9e2babd1;hp=8ebf44767f3e1ba5d61ec4dec4f9ea0da722ebee;hpb=8d6d74cdf43d7560eab3cf609cab27e5deb816e0;p=vpp.git diff --git a/test/test_punt.py b/test/test_punt.py index 8ebf44767f3..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 @@ -811,6 +808,8 @@ class TestExceptionPuntSocket(TestPuntSocket): rs = self.vapi.punt_reason_dump() for key in cfgs: for r in rs: + print(r.reason.name) + print(key) if r.reason.name == key: cfgs[key]['id'] = r.reason.id cfgs[key]['vpp'] = copy.deepcopy(