Re: [Idr] BGP MIBv2 implementation

Jeffrey Haas <jhaas@pfrc.org> Tue, 11 September 2012 19:50 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90E3E21F8692 for <idr@ietfa.amsl.com>; Tue, 11 Sep 2012 12:50:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.965
X-Spam-Level:
X-Spam-Status: No, score=-101.965 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_51=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dYQq8NU2d+lD for <idr@ietfa.amsl.com>; Tue, 11 Sep 2012 12:50:49 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id CE14921F868A for <idr@ietf.org>; Tue, 11 Sep 2012 12:50:45 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 38785C3A8; Tue, 11 Sep 2012 15:50:45 -0400 (EDT)
Date: Tue, 11 Sep 2012 15:50:45 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Bill Fenner <fenner@fenron.net>
Message-ID: <20120911195045.GF8139@pfrc>
References: <44F4E579A764584EA9BDFD07D0CA0813076E31CA@tlvmail1> <6246F062-090F-4092-B931-B10F3A84AEB0@juniper.net> <44F4E579A764584EA9BDFD07D0CA0813076E323A@tlvmail1> <283B4946-C3D5-42A0-87D6-02C8FD5CA132@juniper.net> <44F4E579A764584EA9BDFD07D0CA08130777BECD@tlvmail1> <A933E7A8-2729-44B8-973C-1DE8C7A6CEBD@juniper.net> <44F4E579A764584EA9BDFD07D0CA08130777C66C@tlvmail1> <CAATsVbaAXaG30_bNOOXB-=3PoeR61ByZWtEp1PpeN0ic2GHo4w@mail.gmail.com> <44F4E579A764584EA9BDFD07D0CA081307A42614@tlvmail1> <CAATsVbZFQaLg_NZUZXnLnej-4m2M6TCrTiynnptvyAkCyODBSg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAATsVbZFQaLg_NZUZXnLnej-4m2M6TCrTiynnptvyAkCyODBSg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: idr@ietf.org
Subject: Re: [Idr] BGP MIBv2 implementation
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Sep 2012 19:50:49 -0000

Responding to a somewhat stale thread:

On Wed, Jul 25, 2012 at 04:21:50PM -0700, Bill Fenner wrote:
> > What is the problem with expanding the table to include all required BGP
> > information? If your concern is memory utilization, at the risk of stating
> > the obvious let me say that MIB structure doesn?t necessarily prescribe the
> > internal database structure, meaning you can always choose a more efficient
> > internal structure (e.g. using pointers instead of storing duplicate
> > information) and translate the SNMP queries from/to the MIB structure.
> >
> 
> Of course the SNMP structure is not necessarily at all related to the
> internal data structures.  My understanding is that the reason for the
> Rib-OUT table using RowPointer was the [not that well-founded, but still
> widespread] concern about the amount of data returned in a full MIB walk.

Speaking as a user of various MIBs while at a previous employer, I had way
too many bugs open with too many vendors on mis-behaving large MIB walks.
As a developer, while I realize that there shouldn't be this big of a
concern over the problem space, it crops up way too many places for me to
have stayed comfortable with the idea in the base BGP MIB v2.

>  (Also, it does concretely reduce the amount of data you need to process if
> you're a management system that wants to know all of the RIB-IN plus
> RIB-OUTs.)

This ended up being a bigger reason for the change.  The amount of redundant
information consumed by management systems got to be very large, very quick.
There was also the matter of consistency: When 200 peers all were recieving
the same route, if your MIB walk is too slow it may change state prior to
the completion of the walk.  

SNMP really is just the wrong tool for this sort of monitoring.

> What about representing locally-advertised routes as being received from a
> peer of type unknown, with zero length address?
> 
> 
> > ****
> >
> > -          Add support for BGP communities (as in your communities draft)
> > in the NLRI in/out tables.****
> >
> > There is no reason this can't be a future addition, right, in the interest
> > of getting the base functionality out?****
> >
> > ** **
> >
> > [DC] Why should this simple addition hold back progress?
> >
> 
> It was removed in 2007 because of a lack of consensus about including it.
>  Is your sense that that lack of consensus has changed?

An additional bit of conversation Bill and I had at IETF 84 while reviewing
BGP MIBv2 issues was that nothing stops someone like you, Daniel, from
adding an extension MIB that gives you the entire table, communities, etc.
My suggestion, however, is that the representational issues around
representing structured information in MIBs is that it's too much pain to
really want to do.

I would much more strongly support work to do this in YANG.
(And if I ever manage to help get this MIB to RFC, might have some energy to
help with that.)

-- Jeff