|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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>, vapi::Sw_interface_add_del_address>
73 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_add_del_address>
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
bool operator==(const dump_v4_cmd &i) const
Comparison operator - only used for UT.
unbind_cmd(HW::item< bool > &item, const handle_t &itf, const route::prefix_t &pfx)
Constructor.
A base class for all RPC commands to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A functor class that binds the L3 config to the interface.
A cmd class that Dumps all the IPv4 L3 configs.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
bool operator==(const bind_cmd &i) const
Comparison operator - only used for UT.
A representation of the connection to VPP.
dump_v4_cmd(const handle_t &itf)
Constructor.
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
HW::item< bool > & item()
return the HW item the command updates
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
bind_cmd(HW::item< bool > &item, const handle_t &itf, const route::prefix_t &pfx)
Constructor.
A base class for VPP dump commands.
A cmd class that Unbinds L3 Config from an interface.