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 {
38 const std::string& system_name,
40 uint32_t tx_interval);
60 const std::string m_system_name;
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.
bool operator==(const config_cmd &i) const
Comparison operator - only used for UT.
A representation of the connection to VPP.
HW::item< bool > & item()
return the HW item the command updates
A base class for all RPC commands to VPP.
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