summaryrefslogtreecommitdiffstats
path: root/test/test_neighbor.py
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-07-09 13:03:52 +0000
committerDamjan Marion <dmarion@me.com>2021-07-13 19:26:07 +0000
commit66edaf209fcfa618f42c0e6d21873a31de86b412 (patch)
treee7faf670a70fe98ce284e3bfe79afdb77f8c46fd /test/test_neighbor.py
parent48057bd23433a352338358ca1f6cdc6cebd84f08 (diff)
fib: Set the GLEAN flag on attached export routes so that the SAS works
correctly. Type: fix Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I4bc2eb394a8f9d01c5a12de2ce963c22209d5439
Diffstat (limited to 'test/test_neighbor.py')
-rw-r--r--test/test_neighbor.py13
1 files changed, 13 insertions, 0 deletions
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()