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 bridge_domain::key_t | key_t |
The key for a bridge_domain is the pari of EPG-IDs. More... | |
Public Member Functions | |
gbp_bridge_domain (const bridge_domain &bd, const interface &bvi) | |
Construct a GBP bridge_domain. More... | |
gbp_bridge_domain (const bridge_domain &bd, const interface &bvi, const interface &uu_fwd) | |
gbp_bridge_domain (const bridge_domain &bd, const std::shared_ptr< interface > bvi, const std::shared_ptr< interface > uu_fwd) | |
gbp_bridge_domain (const bridge_domain &bd, const interface &bvi, const std::shared_ptr< interface > uu_fwd) | |
gbp_bridge_domain (const gbp_bridge_domain &r) | |
Copy Construct. More... | |
~gbp_bridge_domain () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
uint32_t | id () const |
Return the bridge domain's VPP ID. More... | |
bool | operator== (const gbp_bridge_domain &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_bridge_domain > | 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... | |
const std::shared_ptr< bridge_domain > | get_bridge_domain () |
const std::shared_ptr< interface > | get_bvi () |
Static Public Member Functions | |
static std::shared_ptr< gbp_bridge_domain > | 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_bridge_domain > |
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 29 of file gbp_bridge_domain.hpp.
The key for a bridge_domain is the pari of EPG-IDs.
Definition at line 35 of file gbp_bridge_domain.hpp.
VOM::gbp_bridge_domain::gbp_bridge_domain | ( | const bridge_domain & | bd, |
const interface & | bvi | ||
) |
Construct a GBP bridge_domain.
Construct a new object matching the desried state.
Definition at line 34 of file gbp_bridge_domain.cpp.
VOM::gbp_bridge_domain::gbp_bridge_domain | ( | const bridge_domain & | bd, |
const interface & | bvi, | ||
const interface & | uu_fwd | ||
) |
Definition at line 42 of file gbp_bridge_domain.cpp.
VOM::gbp_bridge_domain::gbp_bridge_domain | ( | const bridge_domain & | bd, |
const std::shared_ptr< interface > | bvi, | ||
const std::shared_ptr< interface > | uu_fwd | ||
) |
Definition at line 52 of file gbp_bridge_domain.cpp.
VOM::gbp_bridge_domain::gbp_bridge_domain | ( | const bridge_domain & | bd, |
const interface & | bvi, | ||
const std::shared_ptr< interface > | uu_fwd | ||
) |
Definition at line 62 of file gbp_bridge_domain.cpp.
VOM::gbp_bridge_domain::gbp_bridge_domain | ( | const gbp_bridge_domain & | r | ) |
Copy Construct.
Definition at line 72 of file gbp_bridge_domain.cpp.
VOM::gbp_bridge_domain::~gbp_bridge_domain | ( | ) |
Destructor.
Definition at line 145 of file gbp_bridge_domain.cpp.
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 201 of file gbp_bridge_domain.cpp.
|
static |
Find the instnace of the bridge_domain domain in the OM.
Definition at line 170 of file gbp_bridge_domain.cpp.
const std::shared_ptr< bridge_domain > VOM::gbp_bridge_domain::get_bridge_domain | ( | ) |
Definition at line 93 of file gbp_bridge_domain.cpp.
const std::shared_ptr< interface > VOM::gbp_bridge_domain::get_bvi | ( | ) |
Definition at line 99 of file gbp_bridge_domain.cpp.
uint32_t VOM::gbp_bridge_domain::id | ( | ) | const |
Return the bridge domain's VPP ID.
Definition at line 87 of file gbp_bridge_domain.cpp.
const gbp_bridge_domain::key_t VOM::gbp_bridge_domain::key | ( | ) | const |
Return the object's key.
Definition at line 81 of file gbp_bridge_domain.cpp.
bool VOM::gbp_bridge_domain::operator== | ( | const gbp_bridge_domain & | bdae | ) | const |
comparison operator
Definition at line 105 of file gbp_bridge_domain.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 136 of file gbp_bridge_domain.cpp.
std::shared_ptr< gbp_bridge_domain > VOM::gbp_bridge_domain::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 195 of file gbp_bridge_domain.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 154 of file gbp_bridge_domain.cpp.
|
friend |
Definition at line 154 of file gbp_bridge_domain.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 159 of file gbp_bridge_domain.hpp.