5 from framework import VppTestCase, VppTestRunner
6 from vpp_sub_interface import VppSubInterface, VppDot1QSubint, VppDot1ADSubint
7 from vpp_ip_route import VppIpMRoute, VppMRoutePath, VppMFibSignal, \
8 MRouteItfFlags, MRouteEntryFlags, VppIpTable, DpoProto
10 from scapy.packet import Raw
11 from scapy.layers.l2 import Ether
12 from scapy.layers.inet import IP, UDP, getmacbyip, ICMP
13 from scapy.layers.inet6 import IPv6, getmacbyip6
17 # The number of packets sent is set to 90 so that when we replicate more than 3
18 # times, which we do for some entries, we will generate more than 256 packets
19 # to the next node in the VLIB graph. Thus we are testing the code's
20 # correctness handling this over-flow
25 class TestMFIB(VppTestCase):
26 """ MFIB Test Case """
29 super(TestMFIB, self).setUp()
32 """ MFIB Unit Tests """
33 error = self.vapi.cli("test mfib")
36 self.logger.critical(error)
37 self.assertEqual(error.find("Failed"), -1)
40 class TestIPMcast(VppTestCase):
41 """ IP Multicast Test Case """
44 super(TestIPMcast, self).setUp()
46 # create 8 pg interfaces
47 self.create_pg_interfaces(range(9))
50 for i in self.pg_interfaces[:8]:
58 tbl4 = VppIpTable(self, 10)
60 self.pg8.set_table_ip4(10)
63 tbl6 = VppIpTable(self, 10, is_ip6=1)
65 self.pg8.set_table_ip6(10)
69 for i in self.pg_interfaces:
74 self.pg8.set_table_ip4(0)
75 self.pg8.set_table_ip6(0)
76 super(TestIPMcast, self).tearDown()
78 def create_stream_ip4(self, src_if, src_ip, dst_ip, payload_size=0):
80 # default to small packet sizes
81 p = (Ether(dst=src_if.local_mac, src=src_if.remote_mac) /
82 IP(src=src_ip, dst=dst_ip) /
83 UDP(sport=1234, dport=1234))
85 payload_size = 64 - len(p)
86 p = p / Raw('\xa5' * payload_size)
88 for i in range(0, N_PKTS_IN_STREAM):
92 def create_stream_ip6(self, src_if, src_ip, dst_ip):
94 for i in range(0, N_PKTS_IN_STREAM):
95 info = self.create_packet_info(src_if, src_if)
96 payload = self.info_to_payload(info)
97 p = (Ether(dst=src_if.local_mac, src=src_if.remote_mac) /
98 IPv6(src=src_ip, dst=dst_ip) /
99 UDP(sport=1234, dport=1234) /
105 def verify_filter(self, capture, sent):
106 if not len(capture) == len(sent):
107 # filter out any IPv6 RAs from the captur
109 if (p.haslayer(IPv6)):
113 def verify_capture_ip4(self, rx_if, sent):
114 rxd = rx_if.get_capture(len(sent))
117 capture = self.verify_filter(rxd, sent)
119 self.assertEqual(len(capture), len(sent))
121 for i in range(len(capture)):
126 self.assertEqual(eth.type, 0x800)
131 # check the MAC address on the RX'd packet is correctly formed
132 self.assertEqual(eth.dst, getmacbyip(rx_ip.dst))
134 self.assertEqual(rx_ip.src, tx_ip.src)
135 self.assertEqual(rx_ip.dst, tx_ip.dst)
136 # IP processing post pop has decremented the TTL
137 self.assertEqual(rx_ip.ttl + 1, tx_ip.ttl)
142 def verify_capture_ip6(self, rx_if, sent):
143 capture = rx_if.get_capture(len(sent))
145 self.assertEqual(len(capture), len(sent))
147 for i in range(len(capture)):
152 self.assertEqual(eth.type, 0x86DD)
157 # check the MAC address on the RX'd packet is correctly formed
158 self.assertEqual(eth.dst, getmacbyip6(rx_ip.dst))
160 self.assertEqual(rx_ip.src, tx_ip.src)
161 self.assertEqual(rx_ip.dst, tx_ip.dst)
162 # IP processing post pop has decremented the TTL
163 self.assertEqual(rx_ip.hlim + 1, tx_ip.hlim)
165 def test_ip_mcast(self):
166 """ IP Multicast Replication """
169 # a stream that matches the default route. gets dropped.
171 self.vapi.cli("clear trace")
172 tx = self.create_stream_ip4(self.pg0, "1.1.1.1", "232.1.1.1")
173 self.pg0.add_stream(tx)
175 self.pg_enable_capture(self.pg_interfaces)
178 self.pg0.assert_nothing_captured(
179 remark="IP multicast packets forwarded on default route")
183 # one accepting interface, pg0, 7 forwarding interfaces
184 # many forwarding interfaces test the case where the replicare DPO
185 # needs to use extra cache lines for the buckets.
187 route_232_1_1_1 = VppIpMRoute(
191 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
192 [VppMRoutePath(self.pg0.sw_if_index,
193 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
194 VppMRoutePath(self.pg1.sw_if_index,
195 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
196 VppMRoutePath(self.pg2.sw_if_index,
197 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
198 VppMRoutePath(self.pg3.sw_if_index,
199 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
200 VppMRoutePath(self.pg4.sw_if_index,
201 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
202 VppMRoutePath(self.pg5.sw_if_index,
203 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
204 VppMRoutePath(self.pg6.sw_if_index,
205 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
206 VppMRoutePath(self.pg7.sw_if_index,
207 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
208 route_232_1_1_1.add_vpp_config()
212 # one accepting interface, pg0, 2 forwarding interfaces
214 route_1_1_1_1_232_1_1_1 = VppIpMRoute(
218 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
219 [VppMRoutePath(self.pg0.sw_if_index,
220 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
221 VppMRoutePath(self.pg1.sw_if_index,
222 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
223 VppMRoutePath(self.pg2.sw_if_index,
224 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
225 route_1_1_1_1_232_1_1_1.add_vpp_config()
229 # one accepting interface, pg0, 1 forwarding interfaces
231 route_232 = VppIpMRoute(
235 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
236 [VppMRoutePath(self.pg0.sw_if_index,
237 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
238 VppMRoutePath(self.pg1.sw_if_index,
239 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
240 route_232.add_vpp_config()
243 # a stream that matches the route for (1.1.1.1,232.1.1.1)
246 self.vapi.cli("clear trace")
247 tx = self.create_stream_ip4(self.pg0, "1.1.1.1", "232.1.1.1")
248 self.pg0.add_stream(tx)
250 self.pg_enable_capture(self.pg_interfaces)
253 # We expect replications on Pg1->7
254 self.verify_capture_ip4(self.pg1, tx)
255 self.verify_capture_ip4(self.pg2, tx)
257 # no replications on Pg0
258 self.pg0.assert_nothing_captured(
259 remark="IP multicast packets forwarded on PG0")
260 self.pg3.assert_nothing_captured(
261 remark="IP multicast packets forwarded on PG3")
264 # a stream that matches the route for (1.1.1.1,232.1.1.1)
267 self.vapi.cli("clear trace")
268 tx = self.create_stream_ip4(self.pg0, "1.1.1.1", "232.1.1.1",
270 self.pg0.add_stream(tx)
272 self.pg_enable_capture(self.pg_interfaces)
275 # We expect replications on Pg1->7
276 self.verify_capture_ip4(self.pg1, tx)
277 self.verify_capture_ip4(self.pg2, tx)
279 # no replications on Pg0
280 self.pg0.assert_nothing_captured(
281 remark="IP multicast packets forwarded on PG0")
282 self.pg3.assert_nothing_captured(
283 remark="IP multicast packets forwarded on PG3")
286 # a stream that matches the route for (*,232.0.0.0/8)
287 # Send packets with the 9th bit set so we test the correct clearing
288 # of that bit in the mac rewrite
290 self.vapi.cli("clear trace")
291 tx = self.create_stream_ip4(self.pg0, "1.1.1.1", "232.255.255.255")
292 self.pg0.add_stream(tx)
294 self.pg_enable_capture(self.pg_interfaces)
297 # We expect replications on Pg1 only
298 self.verify_capture_ip4(self.pg1, tx)
300 # no replications on Pg0, Pg2 not Pg3
301 self.pg0.assert_nothing_captured(
302 remark="IP multicast packets forwarded on PG0")
303 self.pg2.assert_nothing_captured(
304 remark="IP multicast packets forwarded on PG2")
305 self.pg3.assert_nothing_captured(
306 remark="IP multicast packets forwarded on PG3")
309 # a stream that matches the route for (*,232.1.1.1)
311 self.vapi.cli("clear trace")
312 tx = self.create_stream_ip4(self.pg0, "1.1.1.2", "232.1.1.1")
313 self.pg0.add_stream(tx)
315 self.pg_enable_capture(self.pg_interfaces)
318 # We expect replications on Pg1, 2, 3.
319 self.verify_capture_ip4(self.pg1, tx)
320 self.verify_capture_ip4(self.pg2, tx)
321 self.verify_capture_ip4(self.pg3, tx)
322 self.verify_capture_ip4(self.pg4, tx)
323 self.verify_capture_ip4(self.pg5, tx)
324 self.verify_capture_ip4(self.pg6, tx)
325 self.verify_capture_ip4(self.pg7, tx)
327 def test_ip6_mcast(self):
328 """ IPv6 Multicast Replication """
331 # a stream that matches the default route. gets dropped.
333 self.vapi.cli("clear trace")
334 tx = self.create_stream_ip6(self.pg0, "2001::1", "ff01::1")
335 self.pg0.add_stream(tx)
337 self.pg_enable_capture(self.pg_interfaces)
340 self.pg0.assert_nothing_captured(
341 remark="IPv6 multicast packets forwarded on default route")
345 # one accepting interface, pg0, 3 forwarding interfaces
347 route_ff01_1 = VppIpMRoute(
351 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
352 [VppMRoutePath(self.pg0.sw_if_index,
353 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT,
354 proto=DpoProto.DPO_PROTO_IP6),
355 VppMRoutePath(self.pg1.sw_if_index,
356 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
357 proto=DpoProto.DPO_PROTO_IP6),
358 VppMRoutePath(self.pg2.sw_if_index,
359 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
360 proto=DpoProto.DPO_PROTO_IP6),
361 VppMRoutePath(self.pg3.sw_if_index,
362 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
363 proto=DpoProto.DPO_PROTO_IP6)],
365 route_ff01_1.add_vpp_config()
369 # one accepting interface, pg0, 2 forwarding interfaces
371 route_2001_ff01_1 = VppIpMRoute(
375 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
376 [VppMRoutePath(self.pg0.sw_if_index,
377 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT,
378 proto=DpoProto.DPO_PROTO_IP6),
379 VppMRoutePath(self.pg1.sw_if_index,
380 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
381 proto=DpoProto.DPO_PROTO_IP6),
382 VppMRoutePath(self.pg2.sw_if_index,
383 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
384 proto=DpoProto.DPO_PROTO_IP6)],
386 route_2001_ff01_1.add_vpp_config()
390 # one accepting interface, pg0, 1 forwarding interface
392 route_ff01 = VppIpMRoute(
396 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
397 [VppMRoutePath(self.pg0.sw_if_index,
398 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT,
399 proto=DpoProto.DPO_PROTO_IP6),
400 VppMRoutePath(self.pg1.sw_if_index,
401 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
402 proto=DpoProto.DPO_PROTO_IP6)],
404 route_ff01.add_vpp_config()
407 # a stream that matches the route for (*, ff01::/16)
409 self.vapi.cli("clear trace")
410 tx = self.create_stream_ip6(self.pg0, "2002::1", "ff01:2::255")
411 self.pg0.add_stream(tx)
413 self.pg_enable_capture(self.pg_interfaces)
416 # We expect replications on Pg1
417 self.verify_capture_ip6(self.pg1, tx)
419 # no replications on Pg0, Pg3
420 self.pg0.assert_nothing_captured(
421 remark="IP multicast packets forwarded on PG0")
422 self.pg2.assert_nothing_captured(
423 remark="IP multicast packets forwarded on PG2")
424 self.pg3.assert_nothing_captured(
425 remark="IP multicast packets forwarded on PG3")
428 # Bounce the interface and it should still work
430 self.pg1.admin_down()
431 self.pg0.add_stream(tx)
432 self.pg_enable_capture(self.pg_interfaces)
434 self.pg1.assert_nothing_captured(
435 remark="IP multicast packets forwarded on down PG1")
438 self.pg0.add_stream(tx)
439 self.pg_enable_capture(self.pg_interfaces)
441 self.verify_capture_ip6(self.pg1, tx)
444 # a stream that matches the route for (*,ff01::1)
446 self.vapi.cli("clear trace")
447 tx = self.create_stream_ip6(self.pg0, "2002::2", "ff01::1")
448 self.pg0.add_stream(tx)
450 self.pg_enable_capture(self.pg_interfaces)
453 # We expect replications on Pg1, 2, 3.
454 self.verify_capture_ip6(self.pg1, tx)
455 self.verify_capture_ip6(self.pg2, tx)
456 self.verify_capture_ip6(self.pg3, tx)
458 # no replications on Pg0
459 self.pg0.assert_nothing_captured(
460 remark="IPv6 multicast packets forwarded on PG0")
463 # a stream that matches the route for (2001::1, ff00::1)
465 self.vapi.cli("clear trace")
466 tx = self.create_stream_ip6(self.pg0, "2001::1", "ff01::1")
467 self.pg0.add_stream(tx)
469 self.pg_enable_capture(self.pg_interfaces)
472 # We expect replications on Pg1, 2,
473 self.verify_capture_ip6(self.pg1, tx)
474 self.verify_capture_ip6(self.pg2, tx)
476 # no replications on Pg0, Pg3
477 self.pg0.assert_nothing_captured(
478 remark="IP multicast packets forwarded on PG0")
479 self.pg3.assert_nothing_captured(
480 remark="IP multicast packets forwarded on PG3")
482 def _mcast_connected_send_stream(self, dst_ip):
483 self.vapi.cli("clear trace")
484 tx = self.create_stream_ip4(self.pg0,
487 self.pg0.add_stream(tx)
489 self.pg_enable_capture(self.pg_interfaces)
492 # We expect replications on Pg1.
493 self.verify_capture_ip4(self.pg1, tx)
497 def test_ip_mcast_connected(self):
498 """ IP Multicast Connected Source check """
502 # one accepting interface, pg0, 1 forwarding interfaces
504 route_232_1_1_1 = VppIpMRoute(
508 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
509 [VppMRoutePath(self.pg0.sw_if_index,
510 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
511 VppMRoutePath(self.pg1.sw_if_index,
512 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
514 route_232_1_1_1.add_vpp_config()
515 route_232_1_1_1.update_entry_flags(
516 MRouteEntryFlags.MFIB_ENTRY_FLAG_CONNECTED)
519 # Now the (*,G) is present, send from connected source
521 tx = self._mcast_connected_send_stream("232.1.1.1")
524 # Constrct a representation of the signal we expect on pg0
526 signal_232_1_1_1_itf_0 = VppMFibSignal(self,
528 self.pg0.sw_if_index,
532 # read the only expected signal
534 signals = self.vapi.mfib_signal_dump()
536 self.assertEqual(1, len(signals))
538 signal_232_1_1_1_itf_0.compare(signals[0])
541 # reading the signal allows for the generation of another
542 # so send more packets and expect the next signal
544 tx = self._mcast_connected_send_stream("232.1.1.1")
546 signals = self.vapi.mfib_signal_dump()
547 self.assertEqual(1, len(signals))
548 signal_232_1_1_1_itf_0.compare(signals[0])
551 # A Second entry with connected check
552 # one accepting interface, pg0, 1 forwarding interfaces
554 route_232_1_1_2 = VppIpMRoute(
558 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
559 [VppMRoutePath(self.pg0.sw_if_index,
560 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
561 VppMRoutePath(self.pg1.sw_if_index,
562 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
564 route_232_1_1_2.add_vpp_config()
565 route_232_1_1_2.update_entry_flags(
566 MRouteEntryFlags.MFIB_ENTRY_FLAG_CONNECTED)
569 # Send traffic to both entries. One read should net us two signals
571 signal_232_1_1_2_itf_0 = VppMFibSignal(self,
573 self.pg0.sw_if_index,
575 tx = self._mcast_connected_send_stream("232.1.1.1")
576 tx2 = self._mcast_connected_send_stream("232.1.1.2")
579 # read the only expected signal
581 signals = self.vapi.mfib_signal_dump()
583 self.assertEqual(2, len(signals))
585 signal_232_1_1_1_itf_0.compare(signals[1])
586 signal_232_1_1_2_itf_0.compare(signals[0])
588 route_232_1_1_1.update_entry_flags(
589 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE)
590 route_232_1_1_2.update_entry_flags(
591 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE)
593 def test_ip_mcast_signal(self):
594 """ IP Multicast Signal """
598 # one accepting interface, pg0, 1 forwarding interfaces
600 route_232_1_1_1 = VppIpMRoute(
604 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
605 [VppMRoutePath(self.pg0.sw_if_index,
606 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
607 VppMRoutePath(self.pg1.sw_if_index,
608 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)])
610 route_232_1_1_1.add_vpp_config()
611 route_232_1_1_1.update_entry_flags(
612 MRouteEntryFlags.MFIB_ENTRY_FLAG_SIGNAL)
615 # Now the (*,G) is present, send from connected source
617 tx = self._mcast_connected_send_stream("232.1.1.1")
620 # Constrct a representation of the signal we expect on pg0
622 signal_232_1_1_1_itf_0 = VppMFibSignal(self,
624 self.pg0.sw_if_index,
628 # read the only expected signal
630 signals = self.vapi.mfib_signal_dump()
632 self.assertEqual(1, len(signals))
634 signal_232_1_1_1_itf_0.compare(signals[0])
637 # reading the signal allows for the generation of another
638 # so send more packets and expect the next signal
640 tx = self._mcast_connected_send_stream("232.1.1.1")
642 signals = self.vapi.mfib_signal_dump()
643 self.assertEqual(1, len(signals))
644 signal_232_1_1_1_itf_0.compare(signals[0])
647 # Set the negate-signal on the accepting interval - the signals
650 route_232_1_1_1.update_path_flags(
651 self.pg0.sw_if_index,
652 (MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT |
653 MRouteItfFlags.MFIB_ITF_FLAG_NEGATE_SIGNAL))
655 self.vapi.cli("clear trace")
656 tx = self._mcast_connected_send_stream("232.1.1.1")
658 signals = self.vapi.mfib_signal_dump()
659 self.assertEqual(0, len(signals))
662 # Clear the SIGNAL flag on the entry and the signals should
663 # come back since the interface is still NEGATE-SIGNAL
665 route_232_1_1_1.update_entry_flags(
666 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE)
668 tx = self._mcast_connected_send_stream("232.1.1.1")
670 signals = self.vapi.mfib_signal_dump()
671 self.assertEqual(1, len(signals))
672 signal_232_1_1_1_itf_0.compare(signals[0])
675 # Lastly remove the NEGATE-SIGNAL from the interface and the
676 # signals should stop
678 route_232_1_1_1.update_path_flags(self.pg0.sw_if_index,
679 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT)
681 tx = self._mcast_connected_send_stream("232.1.1.1")
682 signals = self.vapi.mfib_signal_dump()
683 self.assertEqual(0, len(signals))
685 def test_ip_mcast_vrf(self):
686 """ IP Multicast Replication in non-default table"""
690 # one accepting interface, pg0, 2 forwarding interfaces
692 route_1_1_1_1_232_1_1_1 = VppIpMRoute(
696 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
697 [VppMRoutePath(self.pg8.sw_if_index,
698 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
699 VppMRoutePath(self.pg1.sw_if_index,
700 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD),
701 VppMRoutePath(self.pg2.sw_if_index,
702 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD)],
704 route_1_1_1_1_232_1_1_1.add_vpp_config()
707 # a stream that matches the route for (1.1.1.1,232.1.1.1)
710 self.vapi.cli("clear trace")
711 tx = self.create_stream_ip4(self.pg8, "1.1.1.1", "232.1.1.1")
712 self.pg8.add_stream(tx)
714 self.pg_enable_capture(self.pg_interfaces)
717 # We expect replications on Pg1 & 2
718 self.verify_capture_ip4(self.pg1, tx)
719 self.verify_capture_ip4(self.pg2, tx)
721 def test_ip6_mcast_vrf(self):
722 """ IPv6 Multicast Replication in non-default table"""
726 # one accepting interface, pg0, 2 forwarding interfaces
728 route_2001_ff01_1 = VppIpMRoute(
732 MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
733 [VppMRoutePath(self.pg8.sw_if_index,
734 MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT,
735 proto=DpoProto.DPO_PROTO_IP6),
736 VppMRoutePath(self.pg1.sw_if_index,
737 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
738 proto=DpoProto.DPO_PROTO_IP6),
739 VppMRoutePath(self.pg2.sw_if_index,
740 MRouteItfFlags.MFIB_ITF_FLAG_FORWARD,
741 proto=DpoProto.DPO_PROTO_IP6)],
744 route_2001_ff01_1.add_vpp_config()
747 # a stream that matches the route for (2001::1, ff00::1)
749 self.vapi.cli("clear trace")
750 tx = self.create_stream_ip6(self.pg8, "2001::1", "ff01::1")
751 self.pg8.add_stream(tx)
753 self.pg_enable_capture(self.pg_interfaces)
756 # We expect replications on Pg1, 2,
757 self.verify_capture_ip6(self.pg1, tx)
758 self.verify_capture_ip6(self.pg2, tx)
760 if __name__ == '__main__':
761 unittest.main(testRunner=VppTestRunner)