FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
A GBP Enpoint (i.e. More...
Data Structures | |
struct | type_t |
Public Types | |
typedef std::pair< gbp_route_domain::key_t, route::prefix_t > | key_t |
The key for a GBP subnet; table and prefix. More... | |
Public Member Functions | |
gbp_subnet (const gbp_route_domain &rd, const route::prefix_t &prefix, const type_t &type) | |
Construct an internal GBP subnet. More... | |
gbp_subnet (const gbp_route_domain &rd, const route::prefix_t &prefix, const gbp_recirc &recirc, const gbp_endpoint_group &epg) | |
Construct an stitched external GBP subnet. More... | |
gbp_subnet (const gbp_route_domain &rd, const route::prefix_t &prefix, sclass_t sclass) | |
Construct an l3-out GBP subnet. More... | |
gbp_subnet (const gbp_subnet &r) | |
Copy Construct. More... | |
~gbp_subnet () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const gbp_subnet &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_subnet > | singular () const |
Return the matching 'singular instance'. More... | |
void | replay (void) |
replay the object to create it in hardware More... | |
std::string | to_string () const |
Convert to string for debugging. More... | |
Static Public Member Functions | |
static std::shared_ptr< gbp_subnet > | find (const key_t &k) |
Find the instnace of the bridge_domain domain in the OM. More... | |
static void | dump (std::ostream &os) |
Dump all bridge_domain-doamin into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< key_t, gbp_subnet > |
It's the singular_db class that calls replay() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::object_base | |
object_base ()=default | |
Constructable by derived classes only. More... | |
virtual | ~object_base ()=default |
Destructor. More... | |
typedef std::pair<gbp_route_domain::key_t, route::prefix_t> VOM::gbp_subnet::key_t |
The key for a GBP subnet; table and prefix.
Definition at line 36 of file gbp_subnet.hpp.
VOM::gbp_subnet::gbp_subnet | ( | const gbp_route_domain & | rd, |
const route::prefix_t & | prefix, | ||
const type_t & | type | ||
) |
Construct an internal GBP subnet.
Definition at line 41 of file gbp_subnet.cpp.
VOM::gbp_subnet::gbp_subnet | ( | const gbp_route_domain & | rd, |
const route::prefix_t & | prefix, | ||
const gbp_recirc & | recirc, | ||
const gbp_endpoint_group & | epg | ||
) |
Construct an stitched external GBP subnet.
Definition at line 54 of file gbp_subnet.cpp.
VOM::gbp_subnet::gbp_subnet | ( | const gbp_route_domain & | rd, |
const route::prefix_t & | prefix, | ||
sclass_t | sclass | ||
) |
Construct an l3-out GBP subnet.
Definition at line 68 of file gbp_subnet.cpp.
VOM::gbp_subnet::gbp_subnet | ( | const gbp_subnet & | r | ) |
Copy Construct.
Definition at line 81 of file gbp_subnet.cpp.
VOM::gbp_subnet::~gbp_subnet | ( | ) |
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 189 of file gbp_subnet.cpp.
|
static |
Find the instnace of the bridge_domain domain in the OM.
Definition at line 177 of file gbp_subnet.cpp.
const gbp_subnet::key_t VOM::gbp_subnet::key | ( | ) | const |
Return the object's key.
Definition at line 99 of file gbp_subnet.cpp.
bool VOM::gbp_subnet::operator== | ( | const gbp_subnet & | bdae | ) | const |
comparison operator
Definition at line 105 of file gbp_subnet.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 122 of file gbp_subnet.cpp.
std::shared_ptr< gbp_subnet > VOM::gbp_subnet::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 183 of file gbp_subnet.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 133 of file gbp_subnet.cpp.
|
friend |
Definition at line 181 of file gbp_subnet.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 186 of file gbp_subnet.hpp.