aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_ip.py
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2022-03-24 12:28:42 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-03-24 15:39:16 +0000
commitaa7cfd04e7bb89208afe57cd84e96ced32153044 (patch)
tree7eb689d8d54aa30930c889b78de594d068e4e169 /test/vpp_ip.py
parente99f762346ae018ce5b76b729a12f0cd091aec43 (diff)
ip: The check for 'same packet' must include the FIB index
Type: fix otherwise if two packets arrive with the same source address but from different VRFs, then they are treated as the same and they use the same LB and thus share the same fate. but the lookup, when done, results in two different LBs, and hence the fate can be different. Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Id6e16f7c577a561d9ddd7066339fa4385361d07f
Diffstat (limited to 'test/vpp_ip.py')
-rw-r--r--test/vpp_ip.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/vpp_ip.py b/test/vpp_ip.py
index 81305b2dd9b..48b6b9d2da6 100644
--- a/test/vpp_ip.py
+++ b/test/vpp_ip.py
@@ -168,6 +168,7 @@ class VppIpPuntRedirect(VppObject):
def add_vpp_config(self):
self._test.vapi.ip_punt_redirect(punt=self.encode(), is_add=True)
self._test.registry.register(self, self._test.logger)
+ return self
def remove_vpp_config(self):
self._test.vapi.ip_punt_redirect(punt=self.encode(), is_add=False)