16 #ifndef __VOM_L3_BINDING_CMDS_H__ 17 #define __VOM_L3_BINDING_CMDS_H__ 23 #include <vapi/interface.api.vapi.hpp> 24 #include <vapi/ip.api.vapi.hpp> 27 namespace l3_binding_cmds {
33 :
public rpc_cmd<HW::item<bool>, rc_t, vapi::Sw_interface_add_del_address>
73 :
public rpc_cmd<HW::item<bool>, rc_t, vapi::Sw_interface_add_del_address>
A functor class that binds the L3 config to the interface.
Error codes that VPP will return during a HW write.
std::string to_string() const
convert to string format for debug purposes
bind_cmd(HW::item< bool > &item, const handle_t &itf, const route::prefix_t &pfx)
Constructor.
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.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Unbinds L3 Config from an interface.
A type declaration of an interface handle in VPP.
A cmd class that Dumps all the IPv4 L3 configs.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
The VPP Object Model (VOM) library.
A base class for VPP dump commands.