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.
sll srl srl sll sra u16x4 i
A cmd class that Dumps all the Vpp interfaces.
Base class for intterface Delete commands.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
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.
std::string to_string() const
convert to string format for debug purposes
HW::item< handle_t > & item()
return the HW item the command updates