|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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 {
The VPP Object Model (VOM) library.
A base class for all RPC commands to VPP.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
A representation of the connection to VPP.
A cmd class that deletes a GBP subnet.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A type declaration of an interface handle in VPP.
std::string to_string() const
convert to string format for debug purposes
std::string to_string() const
convert to string format for debug purposes
A command class that creates or updates the GBP subnet.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const create_cmd &i) const
Comparison operator - only used for UT.
HW::item< bool > & item()
return the HW item the command updates
delete_cmd(HW::item< bool > &item, route::table_id_t rd, const route::prefix_t &prefix)
Constructor.
rc_t issue(connection &con)
Issue the command to VPP/HW.
A cmd class that Dumps all the GBP subnets.
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.
create_cmd(HW::item< bool > &item, route::table_id_t rd, const route::prefix_t &prefix, const gbp_subnet::type_t &type, const handle_t &itf, sclass_t sclass)
Constructor.
std::string to_string() const
convert to string format for debug purposes
vl_api_fib_path_type_t type