From aa7cfd04e7bb89208afe57cd84e96ced32153044 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 24 Mar 2022 12:28:42 +0000 Subject: 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 Change-Id: Id6e16f7c577a561d9ddd7066339fa4385361d07f --- test/vpp_ip.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/vpp_ip.py') 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) -- cgit 1.2.3-korg