2.42. test_ip_mcast module

class test_ip_mcast.TestIPMcast(methodName='runTest')

Bases: framework.VppTestCase

IP Multicast Test Case

create_stream_ip4(src_if, src_ip, dst_ip, payload_size=0)
create_stream_ip6(src_if, src_ip, dst_ip)
setUp()

Clear trace before running each test

classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_bidir()

IP Multicast Bi-directional

test_ip6_mcast()

IPv6 Multicast Replication

test_ip6_mcast_vrf()

IPv6 Multicast Replication in non-default table

test_ip_mcast()

IP Multicast Replication

test_ip_mcast_connected()

IP Multicast Connected Source check

test_ip_mcast_gre()

IP Multicast Replication over GRE

test_ip_mcast_signal()

IP Multicast Signal

test_ip_mcast_vrf()

IP Multicast Replication in non-default table

verify_capture_ip4(rx_if, sent, dst_mac=None)
verify_capture_ip6(rx_if, sent)
verify_filter(capture, sent)
class test_ip_mcast.TestMFIB(methodName='runTest')

Bases: framework.VppTestCase

MFIB Test Case

setUp()

Clear trace before running each test

classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_mfib()

MFIB Unit Tests