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;
vl_api_wireguard_peer_flags_t flags
Error codes that VPP will return during a HW write.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that deletes a GBP endpoint.
A representation of the connection to VPP.
A cmd class that Dumps all the GBP endpoints.
std::string to_string() const
convert to string format for debug purposes
A command class that creates or updates the GBP endpoint.
A base class for all RPC commands to VPP.
virtual vapi_error_e operator()(vapi::Gbp_endpoint_add &reply)
call operator used as a callback by VAPI when the reply is available
sll srl srl sll sra u16x4 i
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.
A type declaration of an interface handle in VPP.
The VPP Object Model (VOM) library.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
Type def of a Ethernet address.
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates