|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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 {
unbind_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
The VPP Object Model (VOM) library.
A cmd class that Unbinds Lldp Config from an interface.
A base class for all RPC commands to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A representation of the connection 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
std::string to_string() const
convert to string format for debug purposes
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
A command class that binds the LLDP config to the interface.
HW::item< bool > & item()
return the HW item the command updates
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
Error codes that VPP will return during a HW write.
rc_t issue(connection &con)
Issue the command to VPP/HW.