Re: [Idr] BGP MIBv2 implementation

Jeffrey Haas <jhaas@pfrc.org> Tue, 17 July 2012 20:00 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 72B9B21F865E for <idr@ietfa.amsl.com>; Tue, 17 Jul 2012 13:00:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.131
X-Spam-Level:
X-Spam-Status: No, score=-102.131 tagged_above=-999 required=5 tests=[AWL=0.134, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o2GiDK+lGwp1 for <idr@ietfa.amsl.com>; Tue, 17 Jul 2012 13:00:42 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 04D5E21F8621 for <idr@ietf.org>; Tue, 17 Jul 2012 13:00:41 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id A0486C6B2; Tue, 17 Jul 2012 16:01:29 -0400 (EDT)
Date: Tue, 17 Jul 2012 16:01:29 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Bill Fenner <fenner@fenron.net>
Message-ID: <20120717200129.GA11505@pfrc>
References: <EAF21C4E-4162-4A20-B5E8-9DD4402621D4@juniper.net> <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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAATsVbaAXaG30_bNOOXB-=3PoeR61ByZWtEp1PpeN0ic2GHo4w@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: Jeffrey Haas <jhaas@juniper.net>, 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, 17 Jul 2012 20:00:42 -0000

Bill,

On Tue, Jul 17, 2012 at 02:59:00PM -0400, Bill Fenner wrote:
> > -          **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?

There's also a matter of how you cleanly represent this.  I've had prior
drafts suggesting a structure for such a thing, but not a huge amount of
traction in it.  I'm happy to have the bgp mibv2 hit RFC at this point
before I invest the effort. :-)

> 
> > -          **Restore local address (and maybe ports) to bgp4V2PeerTable
> > index to support multiple BGP sessions between two speakers as in
> > draft-ietf-grow-diverse-bgp-path-dist
> >
> If the ports are in the INDEX, how do you ever find a row if one of the
> ports is guaranteed to be ephemeral and you don't know a priori who
> originated the connection?

That was the original problem.  The local address and port was originally
part of the index with some attempt to reflect this case.  It made for quite
the mess and was only really used to cover a small number of really
exceptional edge cases in BGP peer configuration.

> An idea that solves both the ports and the unknown-local-address problem is
> to use the remote address and an instance identifier.  Peers with a single
> connection (the "normal" case) would be only instance 1, but if you had
> multiple simultaneous connections to the same remote peer you could use
> more values.

If there's strong consensus, I'm not opposed to adding that.

-- Jeff