|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_DHCP_CLIENT_CMDS_H__
17 #define __VOM_DHCP_CLIENT_CMDS_H__
23 #include <vapi/dhcp.api.vapi.hpp>
24 #include <vapi/vpe.api.vapi.hpp>
27 namespace dhcp_client_cmds {
42 bool set_braodcast_flag,
78 const bool m_set_broadcast_flag;
A cmd class that Dumps all the DHCP clients.
The VPP Object Model (VOM) library.
void retire(connection &con)
Retire the command - unsubscribe.
A base class for all RPC commands to VPP.
void notify()
called in the VAPI RX thread when data is available.
A functor class represents our desire to recieve interface events.
A command class that binds the DHCP config to the interface.
std::string to_string() const
convert to string format for debug purposes
An Event command base class.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
bool operator==(const events_cmd &i) const
Comparison operator - only used for UT.
A type declaration of an interface handle in VPP.
bind_cmd(HW::item< bool > &item, const handle_t &itf, const std::string &hostname, const l2_address_t &client_id, bool set_braodcast_flag, const ip_dscp_t &dscp)
Constructor.
A class that listens to DHCP Events.
A cmd class that Unbinds Dhcp Config from an interface.
unbind_cmd(HW::item< bool > &item, const handle_t &itf, const std::string &hostname)
Constructor.
Type def of a L2 address as read from VPP.
HW::item< bool > & item()
return the HW item the command updates
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
events_cmd(dhcp_client::event_listener &el)
Constructor.
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
rc_t issue(connection &con)
Issue the command to VPP/HW - subscribe to DHCP events.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.