VXLAN:validate mcast encapsulation ip/mac

Change-Id: I399257e372f83f4d12dc7873617980af6e46a9bc
Signed-off-by: Eyal Bari <ebari@cisco.com>
This commit is contained in:
Eyal Bari
2017-03-23 09:53:51 +02:00
committed by John Lo
parent 9705c3833a
commit 6ae5ee7add
2 changed files with 11 additions and 4 deletions

View File

@ -132,7 +132,8 @@ class BridgeDomain(object):
# Pick first received frame and check if it's corectly encapsulated.
out = self.pg0.get_capture(1)
pkt = out[0]
self.check_encapsulation(pkt, self.mcast_flood_bd, True)
self.check_encapsulation(pkt, self.mcast_flood_bd,
local_only=False, mcast_pkt=True)
payload = self.decapsulate(pkt)
self.assert_eq_pkts(payload, self.frame_reply)