|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_PIPE_CMDS_H__
17 #define __VOM_PIPE_CMDS_H__
23 #include <vapi/pipe.api.vapi.hpp>
A functor class that creates an interface.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
virtual vapi_error_e operator()(vapi::Pipe_create &reply)
call operator used as a callback by VAPI when the reply is available
A cmd class that Dumps all the Vpp interfaces.
Base class for intterface Delete commands.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
delete_cmd(HW::item< handle_t > &item, HW::item< pipe::handle_pair_t > &end_pair)
Constructor.
A representation of the connection to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A base class for interface Create commands.
dump_cmd()=default
Default Constructor.
HW::item< handle_t > & item()
return the HW item the command updates
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
A cmd class that Delete an interface.
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.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
std::string to_string() const
convert to string format for debug purposes