16 #ifndef __VOM_GBP_EXT_ITF_H__ 17 #define __VOM_GBP_EXT_ITF_H__ 56 const key_t
key()
const;
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;
~gbp_ext_itf()
Destructor.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
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.
const handle_t & handle() const
return the ext_itfulation interface's handle
A enternal interface for GBP.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
A entry in the ARP termination table of a Bridge Domain.
bool operator==(const gbp_ext_itf &bdae) const
comparison operator
A Database to store the unique 'singular' instances of a single object type.
A representation of an interface in VPP.
std::string to_string() const
Convert to string for debugging.
Class definition for listeners to OM events.
inspect command handler Handler
A type declaration of an interface handle in VPP.
void event_handler(void *tls_async)
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.
std::shared_ptr< gbp_ext_itf > singular() const
Return the matching 'singular instance'.
A base class for all object_base in the VPP object_base-Model.
A entry in the ARP termination table of a Route Domain.
const key_t key() const
Return the object's key.
The VPP Object Model (VOM) library.
interface::key_t key_t
The key for a GBP ext_itf interface.
std::string key_t
The key for interface's key.
void replay(void)
replay the object to create it in hardware