FD.io VPP
v21.01.1
Vector Packet Processing
|
A enternal interface for GBP. More...
Public Types | |
typedef interface::key_t | key_t |
The key for a GBP ext_itf interface. More... | |
Public Member Functions | |
gbp_ext_itf (const interface &itf, const gbp_bridge_domain &gbd, const gbp_route_domain &grd) | |
Construct a GBP ext_itf. More... | |
gbp_ext_itf (const gbp_ext_itf &r) | |
Copy Construct. More... | |
~gbp_ext_itf () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const gbp_ext_itf &bdae) const |
comparison operator More... | |
std::shared_ptr< gbp_ext_itf > | 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 handle_t & | handle () const |
return the ext_itfulation interface's handle More... | |
Static Public Member Functions | |
static std::shared_ptr< gbp_ext_itf > | find (const key_t &k) |
Find the instnace of the ext_itf interface 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_ext_itf > |
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 enternal interface for GBP.
Definition at line 28 of file gbp_ext_itf.hpp.
The key for a GBP ext_itf interface.
Definition at line 34 of file gbp_ext_itf.hpp.
VOM::gbp_ext_itf::gbp_ext_itf | ( | const interface & | itf, |
const gbp_bridge_domain & | gbd, | ||
const gbp_route_domain & | grd | ||
) |
Construct a GBP ext_itf.
Definition at line 26 of file gbp_ext_itf.cpp.
VOM::gbp_ext_itf::gbp_ext_itf | ( | const gbp_ext_itf & | r | ) |
Copy Construct.
Definition at line 36 of file gbp_ext_itf.cpp.
VOM::gbp_ext_itf::~gbp_ext_itf | ( | ) |
Destructor.
Definition at line 44 of file gbp_ext_itf.cpp.
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 125 of file gbp_ext_itf.cpp.
|
static |
Find the instnace of the ext_itf interface in the OM.
Definition at line 113 of file gbp_ext_itf.cpp.
const handle_t & VOM::gbp_ext_itf::handle | ( | ) | const |
return the ext_itfulation interface's handle
Definition at line 57 of file gbp_ext_itf.cpp.
const gbp_ext_itf::key_t VOM::gbp_ext_itf::key | ( | ) | const |
Return the object's key.
Definition at line 51 of file gbp_ext_itf.cpp.
bool VOM::gbp_ext_itf::operator== | ( | const gbp_ext_itf & | bdae | ) | const |
comparison operator
Definition at line 63 of file gbp_ext_itf.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 79 of file gbp_ext_itf.cpp.
std::shared_ptr< gbp_ext_itf > VOM::gbp_ext_itf::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 119 of file gbp_ext_itf.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 88 of file gbp_ext_itf.cpp.
|
friend |
Definition at line 142 of file gbp_ext_itf.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 147 of file gbp_ext_itf.hpp.