|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_ROUTE_CMDS_H__
17 #define __VOM_ROUTE_CMDS_H__
23 #include <vapi/ip.api.vapi.hpp>
27 namespace ip_route_cmds {
A cmd class that deletes a route.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
std::set< path > path_list_t
A path-list is a set of paths.
A base class for all RPC commands to VPP.
rc_t issue(connection &con)
Issue the command to VPP/HW.
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const dump_cmd &i) const
Comparison operator - only used for UT.
A command class that creates or updates the route.
A representation of the connection to VPP.
std::string to_string() const
convert to string format for debug purposes
bool operator==(const update_cmd &i) const
Comparison operator - only used for UT.
std::string to_string() const
convert to string format for debug purposes
HW::item< handle_t > & item()
return the HW item the command updates
An L3 protocol can be used to construct a prefix that is used to match packets are part of a route.
A cmd class that Dumps ip fib routes.
update_cmd(HW::item< handle_t > &item, table_id_t id, const prefix_t &prefix, const path_list_t &pl)
Constructor.
dump_cmd()
Default Constructor.
bool operator==(const delete_cmd &i) const
Comparison operator - only used for UT.
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.
delete_cmd(HW::item< handle_t > &item, table_id_t id, const prefix_t &prefix)
Constructor.