16 #ifndef __VOM_LLDP_BINDING_CMDS_H__ 17 #define __VOM_LLDP_BINDING_CMDS_H__ 23 #include <vapi/lldp.api.vapi.hpp> 26 namespace lldp_binding_cmds {
39 const std::string& port_desc);
64 const std::string m_port_desc;
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A representation of the connection to VPP.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
A base class for all RPC commands to VPP.
bind_cmd(HW::item< bool > &item, const handle_t &itf, const std::string &port_desc)
Constructor.
sll srl srl sll sra u16x4 i
A cmd class that Unbinds Lldp Config from an interface.
A type declaration of an interface handle in VPP.
A command class that binds the LLDP config to the interface.
The VPP Object Model (VOM) library.
rc_t issue(connection &con)
Issue the command to VPP/HW.
HW::item< bool > & item()
return the HW item the command updates