summaryrefslogtreecommitdiffstats
path: root/test/test_gbp.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-14 02:52:27 -0700
committerNeale Ranns <nranns@cisco.com>2019-03-14 03:00:32 -0700
commit4c2bff06d6919d5c3c77e4eeca9135ffc81eccd2 (patch)
tree9312b9a43a423062ade2dba99185d028034deebd /test/test_gbp.py
parenta04ebb88e5fd726a9d343cc288c1858e69cf7872 (diff)
GBP: get source address from ARP packets for LPM classification
Change-Id: I1370c1882f8ba9b709e54e62356d2c57d47d20fc Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/test_gbp.py')
-rw-r--r--test/test_gbp.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py
index 4d8328474b9..3fddde01fe6 100644
--- a/test/test_gbp.py
+++ b/test/test_gbp.py
@@ -3240,6 +3240,16 @@ class TestGBP(VppTestCase):
rep.add_vpp_config()
#
+ # ARP packet from External EPs are accpeted and replied to
+ #
+ p_arp = (Ether(src=eep1.mac, dst="ff:ff:ff:ff:ff:ff") /
+ Dot1Q(vlan=100) /
+ ARP(op="who-has",
+ psrc=eep1.ip4.address, pdst="10.0.0.128",
+ hwsrc=eep1.mac, hwdst="ff:ff:ff:ff:ff:ff"))
+ rxs = self.send_and_expect(self.pg0, p_arp * 1, self.pg0)
+
+ #
# packets destined to unknown addresses in the BVI's subnet
# are ARP'd for
#