2.16. test_abf module¶
-
class
test_abf.TestAbf(methodName='runTest')¶ Bases:
framework.VppTestCaseABF Test Case
-
setUp()¶ Clear trace before running each test
-
tearDown()¶ Show various debug prints after each test
-
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.
-
encode_paths()¶
-
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)¶