16 #ifndef __VOM_TAP_INTERFACE_CMDS_H__ 17 #define __VOM_TAP_INTERFACE_CMDS_H__ 24 #include <vapi/interface.api.vapi.hpp> 25 #include <vapi/tap.api.vapi.hpp> 26 #include <vapi/tapv2.api.vapi.hpp> 29 namespace tap_interface_cmds {
38 const std::string& name,
107 const std::string& name,
A functor class that creates an interface.
Error codes that VPP will return during a HW write.
A functor class that deletes a Tap interface.
Type def of a L2 address as read from VPP.
A cmd class that Dumps all the Vpp Interfaces.
tap_create_cmd(HW::item< handle_t > &item, const std::string &name, route::prefix_t &prefix, const l2_address_t &l2_address)
A functor class that creates an interface.
A representation of the connection to VPP.
virtual bool operator==(const create_cmd &o) const
Comparison operator - only used for UT.
Base class for intterface Delete commands.
A cmd class that Dumps all the Vpp Interfaces.
A base class for interface Create commands.
The VPP Object Model (VOM) library.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A functor class that deletes a Tap interface.
std::string to_string() const
convert to string format for debug purposes
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates