|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
19 namespace arp_proxy_binding_cmds {
29 return (m_itf == other.m_itf);
35 msg_t req(
con.ctx(), std::ref(*
this));
37 auto& payload = req.get_request().get_payload();
38 payload.sw_if_index = m_itf.
value();
64 return (m_itf == other.m_itf);
70 msg_t req(
con.ctx(), std::ref(*
this));
72 auto& payload = req.get_request().get_payload();
73 payload.sw_if_index = m_itf.
value();
115 return (
"ARP-proxy-binding-dump");
bind_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
vapi::Proxy_arp_intfc_dump msg_t
A command class that binds the LLDP config to the interface.
rc_t wait()
Wait on the commands promise.
void set(const rc_t &rc)
Set the HW return code - should only be called from the family of Command objects.
std::string to_string() const
convert to string format for debug purposes
The VPP Object Model (VOM) library.
rc_t issue(connection &con)
Issue the command to VPP/HW.
const static rc_t OK
The HW write was successfull.
uint32_t value() const
get the value of the handle
A base class for all RPC commands to VPP.
unbind_cmd(HW::item< bool > &item, const handle_t &itf)
Constructor.
HW::item< bool > & m_hw_item
A reference to an object's HW::item that the command will update.
std::unique_ptr< vapi::Proxy_arp_intfc_dump > m_dump
The VAPI event registration.
rc_t issue(connection &con)
Issue the command to VPP/HW.
#define VAPI_CALL(_stmt)
Convenince wrapper macro for error handling in VAPI sends.
A representation of the connection to VPP.
rc_t wait()
Wait for the issue of the command to complete.
const static rc_t NOOP
The HW write/update action was/has not been attempted.
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
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
vapi::Proxy_arp_intfc_enable_disable msg_t
convenient typedef
A cmd class that Unbinds ArpProxy Config from an interface.
std::string to_string() const
convert to string format for debug purposes
A cmd class that Dumps all the Proxy ARP configs.
bool operator==(const unbind_cmd &i) const
Comparison operator - only used for UT.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
Error codes that VPP will return during a HW write.
rc_t issue(connection &con)
Issue the command to VPP/HW.