Added a manual test for end-to-end Mcast
diff --git a/ofdpa/cord.py b/ofdpa/cord.py
index b86070b..7198df1 100644
--- a/ofdpa/cord.py
+++ b/ofdpa/cord.py
@@ -63,7 +63,7 @@
self.dataplane.send(in_port, pkt)
for ofport in ports:
- if ofport in [out_port]:
+ if ofport is out_port:
verify_packet(self, pkt, ofport)
else:
verify_no_packet(self, pkt, ofport)
@@ -77,10 +77,10 @@
self.dataplane.send(in_port, pkt)
for ofport in ports:
- if ofport in [out_port]:
- verify_packet(self, pkt, ofport)
- else:
+ if ofport is in_port:
verify_no_packet(self, pkt, ofport)
+ else:
+ verify_packet(self, pkt, ofport)
verify_no_other_packets(self)