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 {
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
enable_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
HW::item< bool > & item()
return the HW item the command updates
A base class for all RPC commands to VPP.
bool operator==(const enable_cmd &i) const
Comparison operator - only used for UT.
A type declaration of an interface handle in VPP.
A functor class that enable L2 emulation to an interface.
The VPP Object Model (VOM) library.
A cmd class that Unbinds L2 configuration from an interface.