16 #ifndef __VOM_ROUTE_CMDS_H__ 17 #define __VOM_ROUTE_CMDS_H__ 23 #include <vapi/ip.api.vapi.hpp> 27 namespace ip_route_cmds {
uint32_t table_id_t
type def the table-id
std::string to_string() const
convert to string format for debug purposes
A command class that creates or updates the route.
A cmd class that Dumps ip fib routes.
Error codes that VPP will return during a HW write.
An L3 protocol can be used to construct a prefix that is used to match packets are part of a route...
update_cmd(HW::item< handle_t > &item, table_id_t id, const prefix_t &prefix, const path_list_t &pl)
Constructor.
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
std::set< path > path_list_t
A path-list is a set of paths.
A cmd class that deletes a route.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
bool operator==(const update_cmd &i) const
Comparison operator - only used for UT.
A base class for VPP dump commands.
HW::item< handle_t > & item()
return the HW item the command updates
vl_api_fib_path_nh_proto_t proto