16 #ifndef __VOM_GBP_VXLAN_H__ 17 #define __VOM_GBP_VXLAN_H__ 43 const boost::asio::ip::address_v4&
src);
46 const boost::asio::ip::address_v4&
src);
63 std::shared_ptr<gbp_vxlan>
singular()
const;
68 const key_t
key()
const;
83 static void dump(std::ostream& os);
88 static std::shared_ptr<gbp_vxlan>
find(
const key_t k);
108 void handle_replay();
113 void show(std::ostream& os);
135 std::shared_ptr<interface> singular_i()
const;
140 static std::shared_ptr<gbp_vxlan> find_or_add(
const gbp_vxlan& temp);
166 std::shared_ptr<gbp_bridge_domain> m_gbd;
167 std::shared_ptr<gbp_route_domain> m_grd;
168 boost::asio::ip::address_v4 m_src;
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.
gbp_vxlan(uint32_t vni, const gbp_bridge_domain &gbd, const boost::asio::ip::address_v4 &src)
Construct a new object matching the desried state.
A representation of an interface in VPP.
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