Re: [Idr] draft-dong-idr-node-target-ext-comm route distribution procedures

Jeffrey Haas <jhaas@pfrc.org> Thu, 20 October 2022 13:04 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 92C83C14CF04; Thu, 20 Oct 2022 06:04:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqnwhGgdAfzZ; Thu, 20 Oct 2022 06:04:52 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 29694C14F72B; Thu, 20 Oct 2022 06:04:51 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id D37501E363; Thu, 20 Oct 2022 09:04:50 -0400 (EDT)
Date: Thu, 20 Oct 2022 09:04:50 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>
Cc: "draft-dong-idr-node-target-ext-comm@ietf.org" <draft-dong-idr-node-target-ext-comm@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Message-ID: <20221020130449.GA20957@pfrc.org>
References: <20221019221038.GC10497@pfrc.org> <460c958c80ed4837bf703b37b8dff3f8@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <460c958c80ed4837bf703b37b8dff3f8@huawei.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/aY7iZb95TMsbWi2HP9zd6Cs8H2Q>
Subject: Re: [Idr] draft-dong-idr-node-target-ext-comm route distribution procedures
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 20 Oct 2022 13:04:54 -0000

Jie,

On Thu, Oct 20, 2022 at 09:41:50AM +0000, Dongjie (Jimmy) wrote:
> That said, this document tries to introduce an optional procedure to
> improve the route distribution efficiency based on NT. It could be
> considered as a starting point for further discussion. The authors
> realized that this optional procedure may or may not work in different
> network scenarios (e.g. the deployment of hierarchical RRs), thus whether
> it can be enabled needs depends on the operators policy and understanding
> to their network. This policy also needs to apply to the EBGP peer case
> (Sorry the current version is not very clear on this).
> 
> Your suggestion about using RT-constrain for this distribution control is
> interesting and deserve some further discussion. And in the controller
> based route distribution case, BGP-LS may also be an option to build the
> distribution graph on RRs. Actually this makes me wonder whether it would
> be better if we split the optional distribution optimization from the NT
> extended community definition in this draft. What do you think?

Not speaking as one of the IDR Chairs, I think it's likely that the Extended
Community for signaling purposes will get easier traction if your
distribution and filtering procedures aren't a core part of the proposal.
It's clear what is intended as the target for this Extended Community.

Some form of optimized filtering behavior, however, is strongly desired when
using such a community - or sets of them attached to a BGP route.
Otherwise, as others have said, we're taking a point-to-multipoint
distribution mechanism and putting a lot of excessive noise in the protocol.

Choosing my favored use case for such a community, targeting BGP Flowspec
routes to a subset of nodes, there's still clear benefit even without such a
filtering method.  In Flowspec scenarios, it's typical for there to be a
dedicated route reflector plane that is responsible for distribution of
flowspec routes to interested ASBR devices.  Currently, if a filter is
desired to be installed on a subset of devices, it's necessary to have
targeted BGP sessions to those devices.  With a node target community, the
reflector can simply distribute the routes to the targeted subset.

I did realize one bit of my thinking in my original response is not fully
correct:

> > Of course, there's one large hold-up with regard to such a methodology:
> > RT-Constrain is not per-AFI/SAFI for its flooding graph.  In general, this
> > hasn't been a problem for features deployed for RT-Constrain since the
> > communities in question tend to be associated with specific AFI/SAFIs.
> > However, there's no guarantee that a given AFI/SAFI node-targeted route has
> > an appropriately congruent AFI/SAFI flooding topology along the
> > RT-Constrain graph.
> > 
> > Solving the RT-Constrain AFI/SAFI congruency issue may be helpful here, and
> > perhaps has overlapping use with other possible BESS use cases.

The congruency isn't fully important for interior BGP scenarios.
RT-Constrain would indeed build graph arcs that might not be eligible for
all AFI/SAFI to be distributed over.  However, since the mechanism simply
says "you're allowed to", routes will still properly distribute over
sessions that have the necessary AFI/SAFI negotiated.

RFC 4684's inter-as scenario permits pruning of paths.  The challenge of
AFI/SAFI congruency vs. the pruning is present only in that scenario.

-- Jeff