16 #ifndef __VOM_LLDP_GLOBAL_CMDS_H__ 17 #define __VOM_LLDP_GLOBAL_CMDS_H__ 23 #include <vapi/lldp.api.vapi.hpp> 26 namespace lldp_global_cmds {
40 uint32_t tx_interval);
66 uint32_t m_tx_interval;
Error codes that VPP will return during a HW write.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
bool operator==(const config_cmd &i) const
Comparison operator - only used for UT.
sll srl srl sll sra u16x4 i
A command class that binds the LLDP global to the interface.
config_cmd(HW::item< bool > &item, const std::string &system_name, uint32_t tx_hold, uint32_t tx_interval)
Constructor.
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
HW::item< bool > & item()
return the HW item the command updates