|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_EXT_ITF_H__
17 #define __VOM_GBP_EXT_ITF_H__
66 std::shared_ptr<gbp_ext_itf>
singular()
const;
71 static std::shared_ptr<gbp_ext_itf>
find(
const key_t& k);
76 static void dump(std::ostream& os);
111 void handle_replay();
116 void show(std::ostream& os);
137 static std::shared_ptr<gbp_ext_itf> find_or_add(
const gbp_ext_itf& temp);
162 std::shared_ptr<interface> m_itf;
167 std::shared_ptr<gbp_bridge_domain> m_bd;
168 std::shared_ptr<gbp_route_domain> m_rd;
The VPP Object Model (VOM) library.
A entry in the ARP termination table of a Bridge Domain.
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
The interface to writing objects into VPP OM.
A enternal interface for GBP.
inspect command handler Handler
Class definition for listeners to OM events.
vnet_hw_if_output_node_runtime_t * r
const handle_t & handle() const
return the ext_itfulation interface's handle
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
gbp_ext_itf(const interface &itf, const gbp_bridge_domain &gbd, const gbp_route_domain &grd)
Construct a GBP ext_itf.
static std::shared_ptr< gbp_ext_itf > find(const key_t &k)
Find the instnace of the ext_itf interface in the OM.
bool operator==(const gbp_ext_itf &bdae) const
comparison operator
A representation of an interface in VPP.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
A type declaration of an interface handle in VPP.
std::string to_string() const
Convert to string for debugging.
std::shared_ptr< gbp_ext_itf > singular() const
Return the matching 'singular instance'.
A entry in the ARP termination table of a Route Domain.
const key_t key() const
Return the object's key.
A Database to store the unique 'singular' instances of a single object type.
interface::key_t key_t
The key for a GBP ext_itf interface.
std::string key_t
The key for interface's key.
void event_handler(void *tls_async)
void replay(void)
replay the object to create it in hardware
A base class for all object_base in the VPP object_base-Model.
~gbp_ext_itf()
Destructor.