16 #ifndef __VOM_VXLAN_TUNNEL_CMDS_H__ 17 #define __VOM_VXLAN_TUNNEL_CMDS_H__ 24 #include <vapi/vxlan.api.vapi.hpp> 27 namespace vxlan_tunnel_cmds {
40 const std::string&
name,
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
Combaintion of attributes that are a unique key for a VXLAN tunnel.
Error codes that VPP will return during a HW write.
A Command class that creates an VXLAN tunnel.
A representation of the connection to VPP.
A functor class that creates an VXLAN tunnel.
A cmd class that Dumps all the Vpp interfaces.
create_cmd(HW::item< handle_t > &item, const std::string &name, const vxlan_tunnel::endpoint_t &ep, handle_t mcast_itf)
Create command constructor taking HW item to update and the endpoint values.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
Base class for intterface Delete commands.
A type declaration of an interface handle in VPP.
A base class for interface Create commands.
The VPP Object Model (VOM) library.
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates