|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_L2_EMULATION_CMDS_H__
17 #define __VOM_L2_EMULATION_CMDS_H__
22 #include <vapi/l2e.api.vapi.hpp>
25 namespace l2_emulation_cmds {
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
A representation of the connection to VPP.
disable_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
A functor class that enable L2 emulation to an interface.
std::string to_string() const
convert to string format for debug purposes
HW::item< bool > & item()
return the HW item the command updates
std::string to_string() const
convert to string format for debug purposes
A cmd class that Unbinds L2 configuration from an interface.
enable_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
bool operator==(const disable_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.
bool operator==(const enable_cmd &i) const
Comparison operator - only used for UT.