FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
A route-domain is a VRF. More...
Public Types | |
typedef route::table_id_t | key_t |
The Key for a route-domain. More... | |
Public Member Functions | |
route_domain (route::table_id_t id) | |
Construct a new object matching the desried state. More... | |
route_domain (const route_domain &o) | |
Copy Constructor. More... | |
~route_domain () | |
Destructor. More... | |
bool | operator== (const route_domain &r) const |
comparison operator - for UT More... | |
std::shared_ptr< route_domain > | singular () const |
Return the matching 'singular instance'. More... | |
std::string | to_string () const |
Debug print function. More... | |
route::table_id_t | table_id () const |
Get the table ID. More... | |
key_t | key () const |
Get the route-domain's key. More... | |
void | replay (void) |
replay the object to create it in hardware More... | |
Static Public Member Functions | |
static std::shared_ptr< route_domain > | find (const key_t &temp) |
Find the instnace of the route domain in the OM. More... | |
static void | dump (std::ostream &os) |
Dump all route-doamin into the stream provided. More... | |
static std::shared_ptr< route_domain > | get_default () |
Return the sigular instance for the default table. More... | |
Friends | |
class | OM |
class | singular_db< route::table_id_t, 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 route-domain is a VRF.
creating a route-domain object will construct both an IPv4 and IPv6 table.
Definition at line 31 of file route_domain.hpp.
The Key for a route-domain.
Definition at line 37 of file route_domain.hpp.
VOM::route_domain::route_domain | ( | route::table_id_t | id | ) |
Construct a new object matching the desried state.
Definition at line 33 of file route_domain.cpp.
VOM::route_domain::route_domain | ( | const route_domain & | o | ) |
Copy Constructor.
Definition at line 40 of file route_domain.cpp.
VOM::route_domain::~route_domain | ( | ) |
Destructor.
Definition at line 92 of file route_domain.cpp.
|
static |
Dump all route-doamin into the stream provided.
Definition at line 154 of file route_domain.cpp.
|
static |
Find the instnace of the route domain in the OM.
Definition at line 112 of file route_domain.cpp.
|
static |
Return the sigular instance for the default table.
Definition at line 134 of file route_domain.cpp.
route_domain::key_t VOM::route_domain::key | ( | ) | const |
Get the route-domain's key.
Definition at line 60 of file route_domain.cpp.
bool VOM::route_domain::operator== | ( | const route_domain & | r | ) | const |
comparison operator - for UT
Definition at line 48 of file route_domain.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 80 of file route_domain.cpp.
std::shared_ptr< route_domain > VOM::route_domain::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 148 of file route_domain.cpp.
route::table_id_t VOM::route_domain::table_id | ( | ) | const |
Get the table ID.
Definition at line 54 of file route_domain.cpp.
|
virtual |
Debug print function.
Implements VOM::object_base.
Definition at line 101 of file route_domain.cpp.
|
friend |
Definition at line 148 of file route_domain.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 153 of file route_domain.hpp.