|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_ENDPOINT_CMDS_H__
17 #define __VOM_GBP_ENDPOINT_CMDS_H__
22 #include <vapi/gbp.api.vapi.hpp>
25 namespace gbp_endpoint_cmds {
38 const std::vector<boost::asio::ip::address>& ip_addrs,
62 const std::vector<boost::asio::ip::address> m_ip_addrs;
delete_cmd(HW::item< handle_t > &item)
Constructor.
The VPP Object Model (VOM) library.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A command class that creates or updates the GBP endpoint.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A base class for all RPC commands to VPP.
A cmd class that deletes a GBP endpoint.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
create_cmd(HW::item< handle_t > &item, const handle_t &itf, const std::vector< boost::asio::ip::address > &ip_addrs, const mac_address_t &mac, sclass_t sclass, const gbp_endpoint::flags_t &flags)
Constructor.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A representation of the connection to VPP.
sll srl srl sll sra u16x4 i
A type declaration of an interface handle in VPP.
A cmd class that Dumps all the GBP endpoints.
HW::item< handle_t > & item()
return the HW item the command updates
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
virtual vapi_error_e operator()(vapi::Gbp_endpoint_add &reply)
call operator used as a callback by VAPI when the reply is available
Type def of a Ethernet address.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
std::string to_string() const
convert to string format for debug purposes
vl_api_wireguard_peer_flags_t flags