16 #ifndef __VOM_GBP_VXLAN_H__ 17 #define __VOM_GBP_VXLAN_H__ 59 std::shared_ptr<gbp_vxlan>
singular()
const;
64 const key_t
key()
const;
79 static void dump(std::ostream& os);
84 static std::shared_ptr<gbp_vxlan>
find(
const key_t k);
104 void handle_replay();
109 void show(std::ostream& os);
131 std::shared_ptr<interface> singular_i()
const;
136 static std::shared_ptr<gbp_vxlan> find_or_add(
const gbp_vxlan& temp);
162 std::shared_ptr<gbp_bridge_domain> m_gbd;
163 std::shared_ptr<gbp_route_domain> m_grd;
173 static std::string mk_name(uint32_t
vni);
static void dump(std::ostream &os)
Dump all L3Configs into the stream provided.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
const handle_t & handle() const
Return VPP's handle to this object.
std::shared_ptr< gbp_vxlan > singular() const
Return the matching 'singular instance'.
A entry in the ARP termination table of a Bridge Domain.
A representation of a GBP_VXLAN Tunnel in VPP.
virtual std::string to_string() const
Debug rpint function.
A Database to store the unique 'singular' instances of a single object type.
A representation of an interface in VPP.
gbp_vxlan(uint32_t vni, const gbp_bridge_domain &gbd)
Construct a new object matching the desried state.
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.
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.
uint32_t key_t
The VNI is the key.
static std::shared_ptr< gbp_vxlan > find(const key_t k)
Find the GBP_VXLAN tunnel in the OM.
bool operator==(const gbp_vxlan &vt) const