16 #ifndef __VOM_GBP_SUBNET_CMDS_H__ 17 #define __VOM_GBP_SUBNET_CMDS_H__ 22 #include <vapi/gbp.api.vapi.hpp> 25 namespace gbp_subnet_cmds {
61 const bool m_internal;
uint32_t table_id_t
type def the table-id
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
uint32_t epg_id_t
EPG IDs are 32 bit integers.
Error codes that VPP will return during a HW write.
A cmd class that Dumps all the GBP subnets.
create_cmd(HW::item< bool > &item, route::table_id_t rd, const route::prefix_t &prefix, bool internal, const handle_t &itf, epg_id_t epg_id)
Constructor.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
std::string to_string() const
convert to string format for debug purposes
A cmd class that deletes a GBP subnet.
A type declaration of an interface handle in VPP.
A command class that creates or updates the GBP subnet.
The VPP Object Model (VOM) library.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A base class for VPP dump commands.
HW::item< bool > & item()
return the HW item the command updates