16 #ifndef __VOM_GBP_BRIDGE_DOMAIN_H__ 17 #define __VOM_GBP_BRIDGE_DOMAIN_H__ 45 const std::shared_ptr<interface> bvi,
46 const std::shared_ptr<interface> uu_fwd);
49 const std::shared_ptr<interface> uu_fwd);
64 const key_t
key()
const;
79 std::shared_ptr<gbp_bridge_domain>
singular()
const;
84 static std::shared_ptr<gbp_bridge_domain>
find(
const key_t& k);
89 static void dump(std::ostream& os);
102 const std::shared_ptr<interface>
get_bvi();
122 void handle_replay();
127 void show(std::ostream& os);
148 static std::shared_ptr<gbp_bridge_domain> find_or_add(
171 std::shared_ptr<bridge_domain> m_bd;
172 std::shared_ptr<interface> m_bvi;
173 std::shared_ptr<interface> m_uu_fwd;
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
uint32_t id() const
Return the bridge domain's VPP ID.
bool operator==(const gbp_bridge_domain &bdae) const
comparison operator
const std::shared_ptr< interface > get_bvi()
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
std::shared_ptr< gbp_bridge_domain > singular() const
Return the matching 'singular instance'.
void replay(void)
replay the object to create it in hardware
static std::shared_ptr< gbp_bridge_domain > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
A entry in the ARP termination table of a Bridge Domain.
const key_t key() const
Return the object's key.
gbp_bridge_domain(const bridge_domain &bd, const interface &bvi)
Construct a GBP bridge_domain.
A Database to store the unique 'singular' instances of a single object type.
bridge_domain::key_t key_t
The key for a bridge_domain is the pari of EPG-IDs.
A representation of an interface in VPP.
A base class for all object_base in the VPP object_base-Model.
Class definition for listeners to OM events.
inspect command handler Handler
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.
uint32_t key_t
Key Type for Bridge Domains in the sigular DB.
A base class for all object_base in the VPP object_base-Model.
const std::shared_ptr< bridge_domain > get_bridge_domain()
The VPP Object Model (VOM) library.
std::string to_string() const
Convert to string for debugging.
~gbp_bridge_domain()
Destructor.