summaryrefslogtreecommitdiffstats
path: root/test/template_bd.py
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2017-03-23 09:53:51 +0200
committerJohn Lo <loj@cisco.com>2017-03-29 16:59:03 +0000
commit6ae5ee7addcbb85e614a49fe7903df5bbb4ded22 (patch)
treef387f61094cf7a36b841b83e37f22c9f95899ef7 /test/template_bd.py
parent9705c3833a7b18609df8ae315a0aa062e1d2e180 (diff)
VXLAN:validate mcast encapsulation ip/mac
Change-Id: I399257e372f83f4d12dc7873617980af6e46a9bc Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'test/template_bd.py')
-rw-r--r--test/template_bd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/template_bd.py b/test/template_bd.py
index ae171351984..080b2e6bcc5 100644
--- a/test/template_bd.py
+++ b/test/template_bd.py
@@ -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)