From 66edaf209fcfa618f42c0e6d21873a31de86b412 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 9 Jul 2021 13:03:52 +0000 Subject: fib: Set the GLEAN flag on attached export routes so that the SAS works correctly. Type: fix Signed-off-by: Neale Ranns Change-Id: I4bc2eb394a8f9d01c5a12de2ce963c22209d5439 --- test/test_gbp.py | 2 +- test/test_neighbor.py | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_gbp.py b/test/test_gbp.py index 21d0770cf66..c30a729519d 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -1004,7 +1004,7 @@ class TestGBP(VppTestCase): self.logger.info(self.vapi.cli("sh gbp endpoint")) # ... results in a Gratuitous ARP/ND on the EPG's uplink - rx = ep.epg.uplink.get_capture(len(ep.ips), timeout=0.2) + rx = ep.epg.uplink.get_capture(len(ep.ips) + 1, timeout=0.2) for ii, ip in enumerate(ep.ips): p = rx[ii] diff --git a/test/test_neighbor.py b/test/test_neighbor.py index c34ac1aea4e..b33a70b2a3c 100644 --- a/test/test_neighbor.py +++ b/test/test_neighbor.py @@ -1811,6 +1811,19 @@ class ARPTestCase(VppTestCase): "10.0.1.2", "10.0.1.128") + # apply a connected prefix to an interface in a different table + VppIpRoute(self, "10.0.1.0", 24, + [VppRoutePath("0.0.0.0", + self.pg1.sw_if_index)], + table_id=1).add_vpp_config() + + rxs = self.send_and_expect(self.pg3, [p2], self.pg1) + for rx in rxs: + self.verify_arp_req(rx, + self.pg1.local_mac, + "10.0.1.2", + "10.0.1.128") + # cleanup conn3.remove_vpp_config() conn2.remove_vpp_config() -- cgit 1.2.3-korg