16 #ifndef __VOM_VXLAN_GBP_TUNNEL_CMDS_H__ 17 #define __VOM_VXLAN_GBP_TUNNEL_CMDS_H__ 23 #include <vapi/vxlan_gbp.api.vapi.hpp> 26 namespace vxlan_gbp_tunnel_cmds {
A Command class that creates an VXLAN tunnel.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
Combaintion of attributes that are a unique key for a VXLAN tunnel.
Error codes that VPP will return during a HW write.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
create_cmd(HW::item< handle_t > &item, const std::string &name, const vxlan_tunnel::endpoint_t &ep, bool is_l2, handle_t mcast_itf)
Create command constructor taking HW item to update and the endpoint values.
sll srl srl sll sra u16x4 i
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 functor class that creates an VXLAN tunnel.
A cmd class that Dumps all the Vpp interfaces.
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates