|
xorp
|
Classes | |
| struct | handler_table |
Public Member Functions | |
| XrlStaticRoutesTargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlStaticRoutesTargetBase () |
| Destructor. | |
| bool | set_command_map (XrlCmdMap *cmds) |
| Set command map. | |
| const string & | get_name () const |
| Get Xrl instance name associated with command map. | |
| const char * | version () const |
| Get version string of instance. | |
| XrlStaticRoutesTargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlStaticRoutesTargetBase () |
| Destructor. | |
| bool | set_command_map (XrlCmdMap *cmds) |
| Set command map. | |
| const string & | get_name () const |
| Get Xrl instance name associated with command map. | |
| const char * | version () const |
| Get version string of instance. | |
Protected Member Functions | |
| virtual XrlCmdError | common_0_1_get_target_name (string &name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_version (string &version)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_status (uint32_t &status, string &reason)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_shutdown ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_startup ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_reset (const uint32_t &filter)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_push_routes ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_enable_static_routes (const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_start_static_routes ()=0 |
| virtual XrlCmdError | static_routes_0_1_stop_static_routes ()=0 |
| virtual XrlCmdError | static_routes_0_1_add_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_add_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_add_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_add_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_enable_log_trace_all (const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_target_name (string &name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_version (string &version)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_get_status (uint32_t &status, string &reason)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_shutdown ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | common_0_1_startup ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_reset (const uint32_t &filter)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | policy_backend_0_1_push_routes ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_enable_static_routes (const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_start_static_routes ()=0 |
| virtual XrlCmdError | static_routes_0_1_stop_static_routes ()=0 |
| virtual XrlCmdError | static_routes_0_1_add_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_add_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop)=0 |
| virtual XrlCmdError | static_routes_0_1_add_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_add_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | static_routes_0_1_add_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_replace_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_interface_route4 (const bool &unicast, const bool &multicast, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_delete_backup_interface_route6 (const bool &unicast, const bool &multicast, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname)=0 |
| virtual XrlCmdError | static_routes_0_1_enable_log_trace_all (const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
Protected Attributes | |
| XrlCmdMap * | _cmds |
Private Member Functions | |
| XrlCmdRT | handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_enable_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_start_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_stop_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_enable_log_trace_all (const XrlArgs &in, XrlCmdOT out) |
| void | add_handlers () |
| void | remove_handlers () |
| XrlCmdRT | handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_enable_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_start_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_stop_static_routes (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_add_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_replace_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_interface_route4 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_delete_backup_interface_route6 (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_static_routes_0_1_enable_log_trace_all (const XrlArgs &in, XrlCmdOT out) |
| void | add_handlers () |
| void | remove_handlers () |
Static Private Attributes | |
| static struct handler_table | handlers [] |
| static const size_t | num_handlers = (sizeof(XrlStaticRoutesTargetBase::handlers) / sizeof(XrlStaticRoutesTargetBase::handlers[0])) |
| XrlStaticRoutesTargetBase::XrlStaticRoutesTargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| XrlStaticRoutesTargetBase::~XrlStaticRoutesTargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| XrlStaticRoutesTargetBase::XrlStaticRoutesTargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| virtual XrlStaticRoutesTargetBase::~XrlStaticRoutesTargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_status | ( | uint32_t & | status, |
| string & | reason | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get status of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_status | ( | uint32_t & | status, |
| string & | reason | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get status of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_target_name | ( | string & | name | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get name of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_target_name | ( | string & | name | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get name of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_version | ( | string & | version | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_get_version | ( | string & | version | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::finder_event_observer_0_1_xrl_target_birth | ( | const string & | target_class, |
| const string & | target_instance | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Announce target birth to observer.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::finder_event_observer_0_1_xrl_target_birth | ( | const string & | target_class, |
| const string & | target_instance | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Announce target birth to observer.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::finder_event_observer_0_1_xrl_target_death | ( | const string & | target_class, |
| const string & | target_instance | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Announce target death to observer.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::finder_event_observer_0_1_xrl_target_death | ( | const string & | target_class, |
| const string & | target_instance | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Announce target death to observer.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_configure | ( | const uint32_t & | filter, |
| const string & | conf | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Configure a policy filter.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_configure | ( | const uint32_t & | filter, |
| const string & | conf | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Configure a policy filter.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_push_routes | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Push all available routes through all filters for re-filtering.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_push_routes | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Push all available routes through all filters for re-filtering.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_reset | ( | const uint32_t & | filter | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Reset a policy filter.
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::policy_backend_0_1_reset | ( | const uint32_t & | filter | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Reset a policy filter.
Implemented in XrlStaticRoutesNode.
| bool XrlStaticRoutesTargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| bool XrlStaticRoutesTargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_backup_interface_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const string & | ifname, | ||
| const string & | vifname, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a backup static route by explicitly specifying the network interface toward the destination.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| ifname | of the name of the physical interface toward the destination. |
| vifname | of the name of the virtual interface toward the destination. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_backup_interface_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const string & | ifname, | ||
| const string & | vifname, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a backup static route by explicitly specifying the network interface toward the destination.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| ifname | of the name of the physical interface toward the destination. |
| vifname | of the name of the virtual interface toward the destination. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_backup_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a backup static route.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_backup_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a backup static route.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_interface_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const string & | ifname, | ||
| const string & | vifname, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a static route by explicitly specifying the network interface toward the destination.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| ifname | of the name of the physical interface toward the destination. |
| vifname | of the name of the virtual interface toward the destination. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_interface_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const string & | ifname, | ||
| const string & | vifname, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a static route by explicitly specifying the network interface toward the destination.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| ifname | of the name of the physical interface toward the destination. |
| vifname | of the name of the virtual interface toward the destination. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a static route.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_add_route4 | ( | const bool & | unicast, |
| const bool & | multicast, | ||
| const IPv4Net & | network, | ||
| const IPv4 & | nexthop, | ||
| const uint32_t & | metric | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Add/replace/delete a static route.
| unicast | if true, then the route would be used for unicast routing. |
| multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
| network | the network address prefix this route applies to. |
| nexthop | the address of the next-hop router for this route. |
| metric | the metric distance for this route. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_enable_log_trace_all | ( | const bool & | enable | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable the StaticRoutes trace log for all operations.
| enable | if true, then enable the trace log, otherwise disable it. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_enable_log_trace_all | ( | const bool & | enable | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable the StaticRoutes trace log for all operations.
| enable | if true, then enable the trace log, otherwise disable it. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_enable_static_routes | ( | const bool & | enable | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable/start/stop StaticRoutes.
| enable | if true, then enable StaticRoutes, otherwise disable it. |
Implemented in XrlStaticRoutesNode.
| virtual XrlCmdError XrlStaticRoutesTargetBase::static_routes_0_1_enable_static_routes | ( | const bool & | enable | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable/start/stop StaticRoutes.
| enable | if true, then enable StaticRoutes, otherwise disable it. |
Implemented in XrlStaticRoutesNode.