bgp.xrls

来自「BCAST Implementation for NS2」· XRLS 代码 · 共 246 行

XRLS
246
字号
/* * Copyright (c) 2001-2003 International Computer Science Institute * See LICENSE file for licensing, conditions, and warranties on use. * * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED * * Generated by 'tgt-gen'. * * $XORP: xorp/xrl/targets/bgp.xrls,v 1.19 2003/11/05 18:03:52 hodson Exp $ *//** *  Get name of Xrl Target */finder://bgp/common/0.1/get_target_name->name:txt/** *  Get version string from Xrl Target */finder://bgp/common/0.1/get_version->version:txt/** *  Get status of Xrl Target */finder://bgp/common/0.1/get_status->status:u32&reason:txt/** *  Request clean shutdown of Xrl Target */finder://bgp/common/0.1/shutdown/** *  Get the BGP version currently running. */finder://bgp/bgp/0.2/get_bgp_version->version:u32/** *  Get local config *   *  @param id our BGP ID. */finder://bgp/bgp/0.2/local_config?as:u32&id:ipv4/** *  Set the local AS number. *   *  @param as our AS number. */finder://bgp/bgp/0.2/set_local_as?as:u32/** *  Get the local AS number. */finder://bgp/bgp/0.2/get_local_as->as:u32/** *  Set the BGP id. *   *  @param id our BGP ID. */finder://bgp/bgp/0.2/set_bgp_id?id:ipv4/** *  Get the BGP id. */finder://bgp/bgp/0.2/get_bgp_id->id:ipv4/** *  Add peer. *   *  @param as the peer's AS number. *   *  @param next_hop the local next hop. *   *  @param holdtime expects traffic in this time interval. */finder://bgp/bgp/0.2/add_peer?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32&as:u32&next_hop:ipv4&holdtime:u32/** *  Delete peer. */finder://bgp/bgp/0.2/delete_peer?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32/** *  Enable this peer. */finder://bgp/bgp/0.2/enable_peer?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32/** *  Disable this peer. */finder://bgp/bgp/0.2/disable_peer?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32/** *  Set which parameters we support per peer */finder://bgp/bgp/0.2/set_parameter?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32&parameter:txt/** *  Set next hop rewrite filter. */finder://bgp/bgp/0.2/next_hop_rewrite_filter?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32&next_hop:ipv4/** *  Set the peer state enabled or disabled. *   *  @param toggle enabled or disabled. */finder://bgp/bgp/0.2/set_peer_state?local_ip:txt&local_port:u32&peer_ip:txt&peer_port:u32&toggle:bool/** *  Get the first item of a list of BGP peers See RFC 1657 (BGP MIB) for full *  definitions of return values. *   *  @param token returned token to be provided when calling get_peer_list_next. *   *  @param more returned to indicate whether there are more list items *  remaining. */finder://bgp/bgp/0.2/get_peer_list_start->token:u32&more:bool/** *  Get the next item of a list of BGP peers *   *  @param token token from prior call to get_peer_list *   *  @param more returned to indicate whether there are more list items *  remaining. */finder://bgp/bgp/0.2/get_peer_list_next?token:u32->local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32&more:boolfinder://bgp/bgp/0.2/get_peer_id?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->peer_id:ipv4finder://bgp/bgp/0.2/get_peer_status?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->peer_state:u32&admin_status:u32finder://bgp/bgp/0.2/get_peer_negotiated_version?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->neg_version:i32finder://bgp/bgp/0.2/get_peer_as?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->peer_as:u32finder://bgp/bgp/0.2/get_peer_msg_stats?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->in_updates:u32&out_updates:u32&in_msgs:u32&out_msgs:u32&last_error:u32&in_update_elapsed:u32finder://bgp/bgp/0.2/get_peer_established_stats?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->transitions:u32&established_time:u32finder://bgp/bgp/0.2/get_peer_timer_config?local_ip:ipv4&local_port:u32&peer_ip:ipv4&peer_port:u32->retry_interval:u32&hold_time:u32&keep_alive:u32&hold_time_conf:u32&keep_alive_conf:u32&min_as_orgination_interval:u32&min_route_adv_interval:u32/** *  Register rib. *   *  @param name rib name. */finder://bgp/bgp/0.2/register_rib?name:txt/** *  add route *   *  @param origin the origin of the path information. *   *  @param next_hop the border router that should be used as a detination for *  the nlri. *   *  @param nlri network level reachability information. */finder://bgp/bgp/0.2/add_route?origin:i32&asnum:i32&next_hop:ipv4&nlri:ipv4net/** *  delete route *   *  @param nlri network level reachability information. */finder://bgp/bgp/0.2/delete_route?nlri:ipv4net/** *  Get the first item of a list of BGP routes See RFC 1657 (BGP MIB) for full *  definitions of return values. *   *  @param token returned token to be provided when calling *  get_route_list_next. */finder://bgp/bgp/0.2/get_v4_route_list_start->token:u32/** *  Get the first item of a list of BGP routes See RFC 1657 (BGP MIB) for full *  definitions of return values. *   *  @param token returned token to be provided when calling *  get_route_list_next. */finder://bgp/bgp/0.2/get_v6_route_list_start->token:u32/** *  Get the next route in the list See RFC 1657 (BGP MIB) for full definitions *  of return values. */finder://bgp/bgp/0.2/get_v4_route_list_next?token:u32->peer_id:ipv4&net:ipv4net&best_and_origin:u32&aspath:binary&nexthop:ipv4&med:i32&localpref:i32&atomic_agg:i32&aggregator:binary&calc_localpref:i32&attr_unknown:binary&valid:bool/** *  Get the next route in the list See RFC 1657 (BGP MIB) for full definitions *  of return values. */finder://bgp/bgp/0.2/get_v6_route_list_next?token:u32->peer_id:ipv4&net:ipv6net&best_and_origin:u32&aspath:binary&nexthop:ipv6&med:i32&localpref:i32&atomic_agg:i32&aggregator:binary&calc_localpref:i32&attr_unknown:binary&valid:bool/** *  Route Info Changed route_info_changed is called by the RIB on the RIB *  client (typically a routing protocol) that had registered an interest in *  the routing of an address. This can be because the metric and/or nexthop *  changed. *   *  @param addr base address of the subnet that was registered *   *  @param prefix_len prefix length of the subnet that was registered *   *  @param metric the routing metric toward the address. *   *  @param admin_distance the administratively defined distance toward the *  address. *   *  @param protocol_origin the name of the protocol that originated this entry. */finder://bgp/rib_client/0.1/route_info_changed4?addr:ipv4&prefix_len:u32&nexthop:ipv4&metric:u32&admin_distance:u32&protocol_origin:txtfinder://bgp/rib_client/0.1/route_info_changed6?addr:ipv6&prefix_len:u32&nexthop:ipv6&metric:u32&admin_distance:u32&protocol_origin:txt/** *  Route Info Invalid route_info_invalid is called by the RIB on the RIB *  client (typically a routing protocol) that had registere d an interest in *  the routing of an address. This can be because the information previously *  reported as applying no longer applies for any number of reasons. When the *  RIB sends this message, it has automatically de-registered interest in the *  route, and the client will normally need to send a register_interest *  request again. */finder://bgp/rib_client/0.1/route_info_invalid4?addr:ipv4&prefix_len:u32finder://bgp/rib_client/0.1/route_info_invalid6?addr:ipv6&prefix_len:u32/** *  Announce target birth. */finder://bgp/finder_event_observer/0.1/xrl_target_birth?target_class:txt&target_instance:txt/** *  Announce target death. */finder://bgp/finder_event_observer/0.1/xrl_target_death?target_class:txt&target_instance:txt

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?