]> git.puffer.fish Git - mirror/frr.git/commit
[bgpd] Add RIB reporting commands, show bgp ... statistics
authorPaul Jakma <paul.jakma@sun.com>
Thu, 14 Sep 2006 02:56:07 +0000 (02:56 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 14 Sep 2006 02:56:07 +0000 (02:56 +0000)
commit2815e61ffbbf9c362896f3912d925cf78e125ee1
tree8cc9c2cc857f12e3c22813f756fb8fd674757e1b
parent9458b8191563eb5569f341172484a234ef2f743e
[bgpd] Add RIB reporting commands, show bgp ... statistics

2006-09-13 Paul Jakma <paul.jakma@sun.com>

* bgp_aspath.c: (aspath_highest) new, return highest ASN in an
  aspath.
* bgp_route.c: (bgp_peer_count_walker) new, do the walk done
  in bgp_peer_counts as a thread.
  (bgp_peer_counts) move walk to previous and call it via
  thread_execute so this RIB walk shows up in thread stats.
  (bgp_table_stats) New, gather some statistics for a given
  RIB.
  (bgp_table_stats_walker) New, RIB walker thread for former.
  (bgp_table_stats_vty) Parsing front-end for 'show bgp ...',
  useful model for future rationalisation of 'show ... bgp'.
  (bgp_route_init) Add new RIB stats commands.
bgpd/ChangeLog
bgpd/bgp_aspath.c
bgpd/bgp_aspath.h
bgpd/bgp_route.c