|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_IP_UNNUMBERED_CMDS_H__
17 #define __VOM_IP_UNNUMBERED_CMDS_H__
23 #include <vapi/interface.api.vapi.hpp>
24 #include <vapi/ip.api.vapi.hpp>
27 namespace ip_unnumbered_cmds {
33 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_set_unnumbered>
70 :
public rpc_cmd<HW::item<bool>, vapi::Sw_interface_set_unnumbered>
std::string to_string() const
convert to string format for debug purposes
A cmd class that Unconfigs L3 Config from an interface.
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
dump_cmd()=default
Constructor.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Dumps all the IP unnumbered interfaces.
bool operator==(const unconfig_cmd &i) const
Comparison operator - only used for UT.
bool operator==(const config_cmd &i) const
Comparison operator - only used for UT.
config_cmd(HW::item< bool > &item, const handle_t &itf, const handle_t &l3_itf)
Constructor.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
sll srl srl sll sra u16x4 i
A command class that configures the IP unnumbered.
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
unconfig_cmd(HW::item< bool > &item, const handle_t &itf, const handle_t &l3_itf)
Constructor.
HW::item< bool > & item()
return the HW item the command updates
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
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.