2.74. test_srmpls module

class test_srmpls.TestSRMPLS(methodName='runTest')

Bases: framework.VppTestCase

SR-MPLS Test Case

create_stream_ip4(src_if, dst_ip, ip_ttl=64, ip_dscp=0)
setUp()

Clear trace before running each test

tearDown()

Show various debug prints after each test

test_sr_mpls()

SR MPLS

verify_capture_labelled_ip4(src_if, capture, sent, mpls_labels, ip_ttl=None)
verify_capture_tunneled_ip4(src_if, capture, sent, mpls_labels)
test_srmpls.verify_filter(capture, sent)
test_srmpls.verify_mpls_stack(tst, rx, mpls_labels)