diff options
author | Neale Ranns <nranns@cisco.com> | 2019-04-04 12:43:36 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-05 07:52:55 +0000 |
commit | b71fa75d48b16f45618ba3fe3aa847c331f837b0 (patch) | |
tree | 8018d3f038b069c0db6e6e32c84ada77340b31c3 /test/test_punt.py | |
parent | 6416e6274d0817a347d5b54bc61b4f1b617ff363 (diff) |
IPSEC: punt reasons; SPI=0, no-tunnel
Change-Id: If76992e283a27fa193a6865257ab3aa764066e48
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/test_punt.py')
-rw-r--r-- | test/test_punt.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_punt.py b/test/test_punt.py index b190101fe82..cb9d40de4c4 100644 --- a/test/test_punt.py +++ b/test/test_punt.py @@ -760,8 +760,8 @@ class TestPunt(VppTestCase): self.assertEqual(stats, 130) stats = self.statistics.get_counter("/net/punt") - self.assertEqual(stats[0][2]['packets'], 65) - self.assertEqual(stats[0][3]['packets'], 65) + self.assertEqual(stats[0][7]['packets'], 65) + self.assertEqual(stats[0][8]['packets'], 65) # # use the test CLI to test a client that punts exception @@ -788,8 +788,8 @@ class TestPunt(VppTestCase): self.assertEqual(p6[IPv6].hlim, rx[IPv6].hlim) stats = self.statistics.get_counter("/net/punt") - self.assertEqual(stats[0][2]['packets'], 2*65) - self.assertEqual(stats[0][3]['packets'], 2*65) + self.assertEqual(stats[0][7]['packets'], 2*65) + self.assertEqual(stats[0][8]['packets'], 2*65) # # add another registration for the same reason to send packets @@ -835,8 +835,8 @@ class TestPunt(VppTestCase): self.assertEqual(p6[IPv6].hlim, rx[IPv6].hlim) stats = self.statistics.get_counter("/net/punt") - self.assertEqual(stats[0][2]['packets'], 3*65) - self.assertEqual(stats[0][3]['packets'], 3*65) + self.assertEqual(stats[0][7]['packets'], 3*65) + self.assertEqual(stats[0][8]['packets'], 3*65) self.logger.info(self.vapi.cli("show vlib graph punt-dispatch")) self.logger.info(self.vapi.cli("show punt client")) |