2.19. test_abf module¶
- class test_abf.TestAbf(methodName='runTest')¶
Bases:
framework.VppTestCaseABF 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
- tearDown()¶
Show various debug prints after each test
- classmethod tearDownClass()¶
Perform final cleanup after running all tests in this test-case
- test_abf4()¶
IPv4 ACL Based Forwarding
- test_abf6()¶
IPv6 ACL Based Forwarding
- class test_abf.VppAbfAttach(test, policy_id, sw_if_index, priority, is_ipv6=0)¶
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.
- class test_abf.VppAbfPolicy(test, policy_id, acl, paths)¶
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_abf.find_abf_itf_attach(test, id, sw_if_index)¶
- test_abf.find_abf_policy(test, id)¶