Re: [Idr] [MIB-DOCTORS] BGP MIBv2 discontinuity objects
Jeffrey Haas <jhaas@pfrc.org> Wed, 16 July 2008 21:13 UTC
Return-Path: <idr-bounces@ietf.org>
X-Original-To: idr-archive@megatron.ietf.org
Delivered-To: ietfarch-idr-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 53BF43A6969; Wed, 16 Jul 2008 14:13:10 -0700 (PDT)
X-Original-To: idr@core3.amsl.com
Delivered-To: idr@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4C9443A69B5; Wed, 16 Jul 2008 14:13:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fcj6Nm38Xs97; Wed, 16 Jul 2008 14:13:07 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by core3.amsl.com (Postfix) with ESMTP id 6B7B83A697C; Wed, 16 Jul 2008 14:13:07 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id A5234244181; Wed, 16 Jul 2008 21:13:37 +0000 (UTC)
Date: Wed, 16 Jul 2008 17:13:37 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: David B Harrington <dbharrington@comcast.net>
Message-ID: <20080716211337.GA17720@slice>
References: <001e01c8e779$fd90e650$6601a8c0@JoanPC> <00af01c8e781$66710720$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <00af01c8e781$66710720$0600a8c0@china.huawei.com>
User-Agent: Mutt/1.5.15+20070412 (2007-04-11)
Cc: "'MIB Doctors (E-mail)'" <mib-doctors@ietf.org>, 'David Ward' <dward@cisco.com>, idr@ietf.org
Subject: Re: [Idr] [MIB-DOCTORS] BGP MIBv2 discontinuity objects
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: idr-bounces@ietf.org
Errors-To: idr-bounces@ietf.org
David, 1. If you interpret this response as "snippy", please don't take personal offense. 2. This is exactly the sort of feedback that this MIB has been requiring. On Wed, Jul 16, 2008 at 04:20:31PM -0400, David B Harrington wrote: > I have some concerns if different implementations do not represent > things in a consistent manner, and reflect the changing conditions in > a consistent manner. I am concerned that the design of these tables > and a lack of standardized behavior at discontinuity might lead to > misinformation being presented to an operator. "Implementations vary > widely" raises a red flag for me about any supposed **standard**. Just like most IETF protocols, BGP-4's specifications are largely about on-the-wire behavior and abstract data modeling. The MIB is there to give people a canonical way to get at operational state and the abstract databases. The IETF isn't here to tell you how to write your code. If your implementation doesn't have persistent storage, you're not going to have a place to store the last-used INDEX for a table in the case of a discontinuity. That's an implementation issue. If your implementation chooses to load your path attribute set from a local cache before you even bring up a single BGP peering session and maintain consistent indices across reboots, that's an implementation issue. We're not here to tell people that the MIB is meant to constrain how they write their code. We're here to say that the MIB models the data in a clear and operationally useful fashion. I'd be lax in my duties if I didn't point out where the model and reality might have problems meshing. > I also get concerned when a MIB designer talks about the limitations > of SMI at using complex modeling stsructures. MIB modules are > effectively relational database models, and in my experience > relational database models typically do not use deeply nested > structures. But BGP does. Honestly, most TLV based protocols do. Perhaps the only novel thing about BGP (and probably not even novel) is that path attributes are shared amongst prefixes. And thus have a one-to-many relationship. > And attempts to force SMI to represent deeply nested > structures usually result in poor MIB designs. "If only SMI supported > ASN.1 deeply nested structures" raises a red flag for me. Excellent. You obviously have an opinion. If you don't have time to study the whole MIB, at least study the bgpAfPathAttrTable and its relationsip to the bgpNlriTable. Over the past 5 years of working on this MIB, I've received contradictory advice from several "mib experts". 1. Flatten the tables. This removes the "deeply nested" concern. This makes a MIB walk full of redundant information. 2. Factor the tables. This removes redundant information at the risk of introducing relational integrity and discontinuity issues. Given that BGP implementations have data structures that are factored and that size of MIB walks was a concern I was repeatedly presented with, I chose 2. This was after a lot of hallway discussion over several IETFs. If this is a problem, *speak now*. Given the amount of churn over both views over the last several years, if we can't even get consensus among the MIB doctors we'd be best off driving a stake into this spec and handing the resultant dust to Sue and Yakov for careful burial as a warning to the future to not even bother trying. -- Jeff _______________________________________________ Idr mailing list Idr@ietf.org https://www.ietf.org/mailman/listinfo/idr
- [Idr] Early MIB Dr. Review of draft-ietf-idr-bgp4… Joan Cucchiara
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… Jeffrey Haas
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… Joan Cucchiara
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… tom.petch
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… Jeffrey Haas
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… tom.petch
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… Jeffrey Haas
- Re: [Idr] Early MIB Dr. Review of draft-ietf-idr-… Joan Cucchiara
- [Idr] RFC 1657 MIB errors/corrections Jeffrey Haas
- [Idr] Factoring the bgpPeerAfTable in BGP MIBv2 Jeffrey Haas
- [Idr] BGP MIBv2 discontinuity objects Jeffrey Haas
- Re: [Idr] BGP MIBv2 discontinuity objects Joan Cucchiara
- Re: [Idr] BGP MIBv2 discontinuity objects Jeffrey Haas
- Re: [Idr] BGP MIBv2 discontinuity objects Joan Cucchiara
- Re: [Idr] [MIB-DOCTORS] BGP MIBv2 discontinuity o… Jeffrey Haas
- Re: [Idr] [MIB-DOCTORS] BGP MIBv2 discontinuity o… Jeffrey Haas
- Re: [Idr] BGP MIBv2 discontinuity objects Jeffrey Haas