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;
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
uint32_t table_id_t
type def the table-id
A cmd class that deletes a GBP endpoint_group.
Endpoint Retention Policy Settings.
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.
std::string to_string() const
convert to string format for debug purposes
A cmd class that Dumps all the GBP endpoint_groups.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
sll srl srl sll sra u16x4 i
vl_api_gbp_endpoint_retention_t retention
A type declaration of an interface handle in VPP.
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.
The VPP Object Model (VOM) library.
uint32_t vnid_t
EPG IDs are 32 bit integers.
A base class for VPP dump commands.
HW::item< bool > & item()
return the HW item the command updates
A command class that creates or updates the GBP endpoint_group.