|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_SUB_INTERFACE_CMDS_H__
17 #define __VOM_SUB_INTERFACE_CMDS_H__
23 #include <vapi/interface.api.vapi.hpp>
26 namespace sub_interface_cmds {
The VPP Object Model (VOM) library.
delete_cmd(HW::item< handle_t > &item)
Constructor.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
create_cmd(HW::item< handle_t > &item, const std::string &name, const handle_t &parent, uint16_t vlan)
Cstrunctor taking the reference to the parent and the sub-interface's VLAN.
Base class for intterface Delete commands.
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 representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
A functor class that creates an interface.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A base class for interface Create commands.
HW::item< handle_t > & item()
return the HW item the command updates
A cmd class that Delete an interface.
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.