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 {
31 :
public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_add_del>
60 const uint32_t m_bd_id;
69 :
public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_add_del>
uint32_t table_id_t
type def the table-id
uint32_t epg_id_t
EPG IDs are 32 bit integers.
A cmd class that deletes a GBP endpoint_group.
rc_t issue(connection &con)
Issue the command to VPP/HW.
Error codes that VPP will return during a HW write.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
create_cmd(HW::item< bool > &item, epg_id_t epg_id, uint32_t bd_id, route::table_id_t rd_id, const handle_t &itf)
Constructor.
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.
A type declaration of an interface handle in VPP.
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
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.