2.86. test_linux_cp module¶
-
class
test_linux_cp.
TestLinuxCP
(methodName='runTest')¶ Bases:
framework.VppTestCase
Linux Control Plane
-
extra_vpp_plugin_config
= ['plugin', 'linux_cp_plugin.so', '{', 'enable', '}', 'plugin', 'linux_cp_unittest_plugin.so', '{', 'enable', '}']¶
-
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_linux_cp_tap
()¶ Linux CP TAP
-
-
class
test_linux_cp.
VppLcpPair
(test, phy, host)¶ 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.
-