FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
A entry in the ARP termination table of a Bridge Domain. More...
Public Types | |
typedef std::pair< interface::key_t, boost::asio::ip::address > | key_t |
The key for a GBP endpoint; interface and IP. More... | |
Public Member Functions | |
gbp_endpoint (const interface &itf, const boost::asio::ip::address &ip_addr, epg_id_t epg_id) | |
Construct a GBP endpoint. More... | |
gbp_endpoint (const gbp_endpoint &r) | |
Copy Construct. More... | |
~gbp_endpoint () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const gbp_endpoint &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_endpoint > | 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_endpoint > | 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 > |
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 35 of file gbp_endpoint.hpp.
typedef std::pair<interface::key_t, boost::asio::ip::address> VOM::gbp_endpoint::key_t |
The key for a GBP endpoint; interface and IP.
Definition at line 41 of file gbp_endpoint.hpp.
VOM::gbp_endpoint::gbp_endpoint | ( | const interface & | itf, |
const boost::asio::ip::address & | ip_addr, | ||
epg_id_t | epg_id | ||
) |
Construct a GBP endpoint.
Definition at line 26 of file gbp_endpoint.cpp.
VOM::gbp_endpoint::gbp_endpoint | ( | const gbp_endpoint & | r | ) |
Copy Construct.
Definition at line 36 of file gbp_endpoint.cpp.
VOM::gbp_endpoint::~gbp_endpoint | ( | ) |
Destructor.
Definition at line 44 of file gbp_endpoint.cpp.
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 124 of file gbp_endpoint.cpp.
|
static |
Find the instnace of the bridge_domain domain in the OM.
Definition at line 112 of file gbp_endpoint.cpp.
const gbp_endpoint::key_t VOM::gbp_endpoint::key | ( | ) | const |
Return the object's key.
Definition at line 53 of file gbp_endpoint.cpp.
bool VOM::gbp_endpoint::operator== | ( | const gbp_endpoint & | bdae | ) | const |
comparison operator
Definition at line 59 of file gbp_endpoint.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 75 of file gbp_endpoint.cpp.
std::shared_ptr< gbp_endpoint > VOM::gbp_endpoint::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 118 of file gbp_endpoint.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 84 of file gbp_endpoint.cpp.
|
friend |
Definition at line 144 of file gbp_endpoint.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 149 of file gbp_endpoint.hpp.