16 #ifndef __VOM_PIPE_CMDS_H__ 17 #define __VOM_PIPE_CMDS_H__ 23 #include <vapi/pipe.api.vapi.hpp> 38 const std::string&
name,
A cmd class that Delete an interface.
Error codes that VPP will return during a HW write.
virtual vapi_error_e operator()(vapi::Pipe_create &reply)
call operator used as a callback by VAPI when the reply is available
A functor class that creates an interface.
A representation of the connection to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
A cmd class that Dumps all the Vpp interfaces.
Base class for intterface Delete commands.
A base class for interface Create commands.
The VPP Object Model (VOM) library.
create_cmd(HW::item< handle_t > &item, const std::string &name, uint32_t instance, HW::item< pipe::handle_pair_t > &ends)
Cstrunctor taking the reference to the parent and the sub-interface's VLAN.
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates