test_gre module

class test_gre.TestGRE(methodName='runTest')

Bases: framework.VppTestCase

GRE Test Case

create_stream_ip4(src_if, src_ip, dst_ip)
create_tunnel_stream_4o4(src_if, tunnel_src, tunnel_dst, src_ip, dst_ip)
create_tunnel_stream_6o4(src_if, tunnel_src, tunnel_dst, src_ip, dst_ip)
create_tunnel_stream_l2o4(src_if, tunnel_src, tunnel_dst)
create_tunnel_stream_vlano4(src_if, tunnel_src, tunnel_dst, vlan)
setUp()
classmethod setUpClass()
tearDown()
test_gre()

GRE tunnel Tests

test_gre_l2()

GRE tunnel L2 Tests

test_gre_vrf()

GRE tunnel VRF Tests

verify_decapped_4o4(src_if, capture, sent)
verify_decapped_6o4(src_if, capture, sent)
verify_tunneled_4o4(src_if, capture, sent, tunnel_src, tunnel_dst)
verify_tunneled_l2o4(src_if, capture, sent, tunnel_src, tunnel_dst)
verify_tunneled_vlano4(src_if, capture, sent, tunnel_src, tunnel_dst, vlan)