|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_GBP_ENDPOINT_GROUP_CMDS_H__
17 #define __VOM_GBP_ENDPOINT_GROUP_CMDS_H__
22 #include <vapi/gbp.api.vapi.hpp>
25 namespace gbp_endpoint_group_cmds {
61 const uint16_t m_sclass;
62 const uint32_t m_bd_id;
std::string to_string() const
convert to string format for debug purposes
The VPP Object Model (VOM) library.
create_cmd(HW::item< bool > &item, vnid_t vnid, uint16_t sclass, uint32_t bd_id, route::table_id_t rd_id, const gbp_endpoint_group::retention_t &retention, const handle_t &itf)
Constructor.
delete_cmd(HW::item< bool > &item, sclass_t sclass)
Constructor.
A base class for all RPC commands to VPP.
A cmd class that Dumps all the GBP endpoint_groups.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
vl_api_gbp_endpoint_retention_t retention
A type declaration of an interface handle in VPP.
uint32_t vnid_t
EPG IDs are 32 bit integers.
HW::item< bool > & item()
return the HW item the command updates
rc_t issue(connection &con)
Issue the command to VPP/HW.
Endpoint Retention Policy Settings.
A command class that creates or updates the GBP endpoint_group.
std::string to_string() const
convert to string format for debug purposes
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
uint32_t table_id_t
type def the table-id
Error codes that VPP will return during a HW write.
A base class for VPP dump commands.
A cmd class that deletes a GBP endpoint_group.