16 #ifndef __VOM_TAP_INTERFACE_CMDS_H__ 17 #define __VOM_TAP_INTERFACE_CMDS_H__ 24 #include <vapi/interface.api.vapi.hpp> 25 #include <vapi/tapv2.api.vapi.hpp> 28 namespace tap_interface_cmds {
37 const std::string&
name,
A functor class that creates an interface.
Error codes that VPP will return during a HW write.
Type def of a L2 address as read from VPP.
A cmd class that Dumps all the Vpp Interfaces.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
sll srl srl sll sra u16x4 i
Base class for intterface Delete commands.
virtual bool operator==(const create_cmd &o) const
Comparison operator - only used for UT.
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.
tapv2_create_cmd(HW::item< handle_t > &item, const std::string &name, const route::prefix_t &prefix, const l2_address_t &l2_address)
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates