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> 28 namespace tap_interface_cmds {
37 const std::string& name,
sll srl srl sll sra u16x4 i
Error codes that VPP will return during a HW write.
Type def of a L2 address as read from VPP.
create_cmd(HW::item< handle_t > &item, const std::string &name, route::prefix_t &prefix, const l2_address_t &l2_address)
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
A functor class that creates an interface.
HW::item< handle_t > & item()
return the HW item the command updates
rc_t issue(connection &con)
Issue the command to VPP/HW.
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 functor class that deletes a Tap interface.
A base class for interface Create commands.
The VPP Object Model (VOM) library.
A base class for VPP dump commands.