2.29. test_gbp module

class test_gbp.TestGBP(methodName='runTest')

Bases: framework.VppTestCase

GBP Test Case

setUp()

Clear trace before running each test

tearDown()

Show various debug prints after each test

test_gbp4()

Group Based Policy v4

test_gbp6()

Group Based Policy v6

class test_gbp.VppGbpContract(test, src_epg, dst_epg, acl_index)

Bases: vpp_object.VppObject

GDB Contract

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_gbp.VppGbpEndpoint(test, sw_if_index, addr, epg, is_ip6=0)

Bases: vpp_object.VppObject

GDB Endpoint

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.