BIRD-1.3.6 - show bgp summary command
Alexander Shikoff
minotaur at crete.org.ua
Mon Feb 27 18:31:03 CET 2012
Hello List,
On Mon, Feb 27, 2012 at 11:41:53AM +0100, Ondrej Zajicek wrote:
> On Sat, Feb 25, 2012 at 03:33:13PM +0200, Alexander Shikoff wrote:
> > On Thu, Feb 23, 2012 at 04:48:00PM +0200, Dean Belev wrote:
> > > Hi there,
> > >
> > > Is the patch for 1.3.4
> > > (http://marc.info/?l=bird-users&m=132155489919052&w=2
> > > <http://marc.info/?l=bird-users&m=132155489919052&w=2>) usable for 1.3.6 ?
> > >
> > > We have a strange behavior when we tried to implement it for 1.3.6 - the
> > > process stops right after the Enter is triggered.
> > > But the "?" function works correctly.
> >
> > Old patch does not fit the source code and bird architecture as well.
> > I've changed it in order to more comply to a birdc syntax.
>
> To fit better with BIRD architecture, it would be perhaps better to
> remove that from hooks and global code and move it completely to BGP
> code (like 'show ospf' is in OSPF code) and name it something like
> 'show bgp summary'.
Yes, you're right. I'm going to modify a patch, but I'm wondering
what is the best way to get a list of all BGP protocols?
The only way I know at a moment is just walking through proto_list
and comparing proto name to "BGP". Is there a better way?
Thanks in advance!
--
MINO-RIPE
More information about the Bird-users
mailing list