Re: [Bgp-autoconf] bgp auto configuration -01 update after interim discussion

Jeffrey Haas <jhaas@pfrc.org> Wed, 23 June 2021 14:00 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: bgp-autoconf@ietfa.amsl.com
Delivered-To: bgp-autoconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D66253A38EB; Wed, 23 Jun 2021 07:00:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zDswNyKV-N0R; Wed, 23 Jun 2021 07:00:08 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 2253D3A38E9; Wed, 23 Jun 2021 07:00:08 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 2B5051E467; Wed, 23 Jun 2021 10:25:56 -0400 (EDT)
Date: Wed, 23 Jun 2021 10:25:55 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Robert Raszuk <robert@raszuk.net>
Cc: bgp-autoconf@ietf.org, idr-chairs <idr-chairs@ietf.org>
Message-ID: <20210623142555.GB14665@pfrc.org>
References: <20210622203227.GA17412@pfrc.org> <CAOj+MMH1qRbHjqTJAdbgV1_OGC5x18VYgzfweN3KwmwOrryDhg@mail.gmail.com> <20210623130335.GA14665@pfrc.org> <CAOj+MMEE4BZeOw0LNfHSoquocTTw_PK0KnS8YBUoefsdHhPYpg@mail.gmail.com> <20210623140436.GA18680@pfrc.org> <CAOj+MMGe7y04nWMqm9grK70y00LbQ+FfAv+bmJDjd7On_OofgQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAOj+MMGe7y04nWMqm9grK70y00LbQ+FfAv+bmJDjd7On_OofgQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/bgp-autoconf/3zIuEorbvOHjukPtmK9hYK1ln_A>
Subject: Re: [Bgp-autoconf] bgp auto configuration -01 update after interim discussion
X-BeenThere: bgp-autoconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP autoconfiguration design team discussion list <bgp-autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bgp-autoconf/>
List-Post: <mailto:bgp-autoconf@ietf.org>
List-Help: <mailto:bgp-autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 14:00:11 -0000

On Wed, Jun 23, 2021 at 03:52:49PM +0200, Robert Raszuk wrote:
> * Assume we did not reach mutually interesting AFs to establish session and
> we suppressed OPENs as you said. Now if I add a new AF on either side - do
> I need AD PDU or can I just try BGP OPEN as I already know the peer(s) ?

OPEN messages weren't suppressed.  BGP just decided the peer was
unacceptable.  Very much like when one side requires an AFI/SAFI to be
negotiated and it didn't see it.

Consider this example:

Time 1: The client opens a session to discovered peer and does not see 
VPNv4 Unicast in the OPEN message.  It closes the session without letting it
proceed to Established.

Time 2: The discovery message indicates the version number has changed.

Time 3: The client opens a session again.  This time, it notices that the
required VPNv4 Unicast is present and considers the session acceptable.  The
session is permitted to move to Established.

> Not related:
> 
> Just like in BGP perhaps we should also support passive AD side ? Say in
> leaf <--> spines or leaf <--> controller that can be perhaps useful
> optimization.

That's certainly permissible in the mechanism described.  Auto-discovery
doesn't remove the need for all configuration.

If both sides select passive mode, nothing will come up.

-- Jeff