2.70. test_l3xc module¶
-
class
test_l3xc.
TestL3xc
(methodName='runTest')¶ Bases:
framework.VppTestCase
L3XC Test Case
-
send_and_expect_load_balancing
(input, pkts, outputs)¶
-
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_l3xc4
()¶ IPv4 X-Connect
-
-
class
test_l3xc.
VppL3xc
(test, intf, paths, is_ip6=False)¶ Bases:
vpp_object.VppObject
-
add_vpp_config
()¶ Add the configuration for this object to vpp.
-
object_id
()¶ Return a unique string representing this object.
-
query_vpp_config
()¶ Query the vpp configuration.
- Returns
True if the object is configured
-
remove_vpp_config
()¶ Remove the configuration for this object from vpp.
-
-
test_l3xc.
find_l3xc
(test, sw_if_index, dump_sw_if_index=None)¶