|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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;
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;
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.
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 ...
static void dump(std::ostream &os)
Dump all L3Configs into the stream provided.
The interface to writing objects into VPP OM.
inspect command handler Handler
bool operator==(const gbp_vxlan &vt) const
uint32_t key_t
The VNI is the key.
Class definition for listeners to OM events.
static std::shared_ptr< gbp_vxlan > find(const key_t k)
Find the GBP_VXLAN tunnel in the OM.
const key_t key() const
Return the object's key.
virtual std::string to_string() const
Debug rpint function.
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.
A entry in the ARP termination table of a Route Domain.
A Database to store the unique 'singular' instances of a single object type.
void event_handler(void *tls_async)
const handle_t & handle() const
Return VPP's handle to this object.
A representation of a GBP_VXLAN Tunnel in VPP.
std::shared_ptr< gbp_vxlan > singular() const
Return the matching 'singular instance'.