16 #ifndef __VOM_ARP_PROXY_CONFIG_CMDS_H__ 17 #define __VOM_ARP_PROXY_CONFIG_CMDS_H__ 23 #include <vapi/ip.api.vapi.hpp> 26 namespace arp_proxy_config_cmds {
37 const boost::asio::ip::address_v4&
lo,
38 const boost::asio::ip::address_v4& high);
58 const boost::asio::ip::address_v4 m_low;
59 const boost::asio::ip::address_v4 m_high;
66 :
public rpc_cmd<HW::item<bool>, rc_t, vapi::Proxy_arp_add_del>
73 const boost::asio::ip::address_v4&
lo,
74 const boost::asio::ip::address_v4& hig);
94 const boost::asio::ip::address_v4 m_low;
95 const boost::asio::ip::address_v4 m_high;
config_cmd(HW::item< bool > &item, const boost::asio::ip::address_v4 &lo, const boost::asio::ip::address_v4 &high)
Constructor.
Error codes that VPP will return during a HW write.
A representation of the connection to VPP.
bool operator==(const config_cmd &i) const
Comparison operator - only used for UT.
HW::item< bool > & item()
return the HW item the command updates
A base class for all RPC commands to VPP.
The VPP Object Model (VOM) library.
A cmd class that Unconfigs ArpProxy Config from an interface.
std::string to_string() const
convert to string format for debug purposes
A command class that adds the ARP Proxy config.
A cmd class that Dumps all the Proxy ARP configs.
A base class for VPP dump commands.
rc_t issue(connection &con)
Issue the command to VPP/HW.