FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
A entry in the ARP termination table of a Route Domain. More...
Public Types | |
typedef route_domain::key_t | key_t |
The key for a route_domain is the pari of EPG-IDs. More... | |
Public Member Functions | |
gbp_route_domain (const route_domain &rd) | |
Construct a GBP route_domain. More... | |
gbp_route_domain (const route_domain &rd, const interface &ip4_uu_fwd, const interface &ip6_uu_fwd) | |
gbp_route_domain (const route_domain &rd, const std::shared_ptr< interface > ip4_uu_fwd, const std::shared_ptr< interface > ip6_uu_fwd) | |
gbp_route_domain (const gbp_route_domain &r) | |
Copy Construct. More... | |
~gbp_route_domain () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
uint32_t | id () const |
Return the route domain's VPP ID. More... | |
bool | operator== (const gbp_route_domain &rdae) const |
comparison operator More... | |
std::shared_ptr< gbp_route_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< route_domain > | get_route_domain () |
Static Public Member Functions | |
static std::shared_ptr< gbp_route_domain > | find (const key_t &k) |
Find the instnace of the route_domain domain in the OM. More... | |
static void | dump (std::ostream &os) |
Dump all route_domain-doamin into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< key_t, gbp_route_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 Route Domain.
Definition at line 29 of file gbp_route_domain.hpp.
The key for a route_domain is the pari of EPG-IDs.
Definition at line 35 of file gbp_route_domain.hpp.
VOM::gbp_route_domain::gbp_route_domain | ( | const route_domain & | rd | ) |
Construct a GBP route_domain.
Definition at line 61 of file gbp_route_domain.cpp.
VOM::gbp_route_domain::gbp_route_domain | ( | const route_domain & | rd, |
const interface & | ip4_uu_fwd, | ||
const interface & | ip6_uu_fwd | ||
) |
Definition at line 42 of file gbp_route_domain.cpp.
VOM::gbp_route_domain::gbp_route_domain | ( | const route_domain & | rd, |
const std::shared_ptr< interface > | ip4_uu_fwd, | ||
const std::shared_ptr< interface > | ip6_uu_fwd | ||
) |
Definition at line 51 of file gbp_route_domain.cpp.
VOM::gbp_route_domain::gbp_route_domain | ( | const gbp_route_domain & | r | ) |
Copy Construct.
Construct a new object matching the desried state.
Definition at line 34 of file gbp_route_domain.cpp.
VOM::gbp_route_domain::~gbp_route_domain | ( | ) |
Destructor.
Definition at line 129 of file gbp_route_domain.cpp.
|
static |
Dump all route_domain-doamin into the stream provided.
Definition at line 188 of file gbp_route_domain.cpp.
|
static |
Find the instnace of the route_domain domain in the OM.
Definition at line 154 of file gbp_route_domain.cpp.
const std::shared_ptr< route_domain > VOM::gbp_route_domain::get_route_domain | ( | ) |
Definition at line 80 of file gbp_route_domain.cpp.
uint32_t VOM::gbp_route_domain::id | ( | ) | const |
Return the route domain's VPP ID.
Definition at line 74 of file gbp_route_domain.cpp.
const gbp_route_domain::key_t VOM::gbp_route_domain::key | ( | ) | const |
Return the object's key.
Definition at line 68 of file gbp_route_domain.cpp.
bool VOM::gbp_route_domain::operator== | ( | const gbp_route_domain & | rdae | ) | const |
comparison operator
Definition at line 86 of file gbp_route_domain.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 117 of file gbp_route_domain.cpp.
std::shared_ptr< gbp_route_domain > VOM::gbp_route_domain::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 182 of file gbp_route_domain.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 138 of file gbp_route_domain.cpp.
|
friend |
Definition at line 151 of file gbp_route_domain.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 156 of file gbp_route_domain.hpp.