FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
A entry in the ARP termination table of a Bridge Domain. More...
Public Types | |
typedef epg_id_t | key_t |
The key for a GBP endpoint group is its ID. More... | |
Public Member Functions | |
gbp_endpoint_group (epg_id_t epg_id, const interface &itf, const gbp_route_domain &rd, const gbp_bridge_domain &bd) | |
Construct a GBP endpoint_group. More... | |
gbp_endpoint_group (epg_id_t epg_id, const gbp_route_domain &rd, const gbp_bridge_domain &bd) | |
gbp_endpoint_group (const gbp_endpoint_group &r) | |
Copy Construct. More... | |
~gbp_endpoint_group () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const gbp_endpoint_group &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_endpoint_group > | 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... | |
epg_id_t | id () const |
Get the ID of the EPG. More... | |
const std::shared_ptr< gbp_route_domain > | get_route_domain () |
const std::shared_ptr< gbp_bridge_domain > | get_bridge_domain () |
Static Public Member Functions | |
static std::shared_ptr< gbp_endpoint_group > | 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_endpoint_group > |
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... | |
A entry in the ARP termination table of a Bridge Domain.
Definition at line 36 of file gbp_endpoint_group.hpp.
The key for a GBP endpoint group is its ID.
Definition at line 42 of file gbp_endpoint_group.hpp.
VOM::gbp_endpoint_group::gbp_endpoint_group | ( | epg_id_t | epg_id, |
const interface & | itf, | ||
const gbp_route_domain & | rd, | ||
const gbp_bridge_domain & | bd | ||
) |
Construct a GBP endpoint_group.
Definition at line 27 of file gbp_endpoint_group.cpp.
VOM::gbp_endpoint_group::gbp_endpoint_group | ( | epg_id_t | epg_id, |
const gbp_route_domain & | rd, | ||
const gbp_bridge_domain & | bd | ||
) |
Definition at line 39 of file gbp_endpoint_group.cpp.
VOM::gbp_endpoint_group::gbp_endpoint_group | ( | const gbp_endpoint_group & | r | ) |
Copy Construct.
Definition at line 50 of file gbp_endpoint_group.cpp.
VOM::gbp_endpoint_group::~gbp_endpoint_group | ( | ) |
Destructor.
Definition at line 59 of file gbp_endpoint_group.cpp.
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 143 of file gbp_endpoint_group.cpp.
|
static |
Find the instnace of the bridge_domain domain in the OM.
Definition at line 131 of file gbp_endpoint_group.cpp.
const std::shared_ptr< gbp_bridge_domain > VOM::gbp_endpoint_group::get_bridge_domain | ( | ) |
const std::shared_ptr< gbp_route_domain > VOM::gbp_endpoint_group::get_route_domain | ( | ) |
Definition at line 149 of file gbp_endpoint_group.cpp.
epg_id_t VOM::gbp_endpoint_group::id | ( | ) | const |
Get the ID of the EPG.
Definition at line 72 of file gbp_endpoint_group.cpp.
const gbp_endpoint_group::key_t VOM::gbp_endpoint_group::key | ( | ) | const |
Return the object's key.
Definition at line 66 of file gbp_endpoint_group.cpp.
bool VOM::gbp_endpoint_group::operator== | ( | const gbp_endpoint_group & | bdae | ) | const |
comparison operator
Definition at line 78 of file gbp_endpoint_group.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 94 of file gbp_endpoint_group.cpp.
std::shared_ptr< gbp_endpoint_group > VOM::gbp_endpoint_group::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 137 of file gbp_endpoint_group.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 104 of file gbp_endpoint_group.cpp.
|
friend |
Definition at line 158 of file gbp_endpoint_group.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 163 of file gbp_endpoint_group.hpp.