Re: [Idr] WKLC transitivity considerations (was Re: Adoption call for draft-heitz-idr-wklc-02 (3/9 to 3/23))

Gyan Mishra <hayabusagsm@gmail.com> Fri, 19 March 2021 23:56 UTC

Return-Path: <hayabusagsm@gmail.com>
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 BD93D3A145D for <idr@ietfa.amsl.com>; Fri, 19 Mar 2021 16:56:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.086
X-Spam-Level:
X-Spam-Status: No, score=-2.086 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 rgpTG3qsKP6u for <idr@ietfa.amsl.com>; Fri, 19 Mar 2021 16:56:44 -0700 (PDT)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB2F03A145A for <idr@ietf.org>; Fri, 19 Mar 2021 16:56:44 -0700 (PDT)
Received: by mail-pl1-x636.google.com with SMTP id w11so3663397ply.6 for <idr@ietf.org>; Fri, 19 Mar 2021 16:56:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yu4s2sDuvAJxt9c8aXIURi1jwQFjxPKDQ0lHZc3V6qo=; b=Q3/LPo1tDiuhuhOz4yTY2cU0hfsVz81PKGyol/a6+tO/2OOGYQ9xtaGHNSkGYBMXdZ ORtZ7p0aZ92mlCF5l3XCtZF2B6kKvRCn47wfSFJZgS3pU74XupG7wJwosiWXCM1UOU+i lU/Vi2NTYavEUBWhebm6ewY7YyHHqMgDv7yd4UlTyDw0SepjUgufmAu7p/7h1//MZgjz Q5OKOfwD5jxq1OV3vhp9Q8ELbIOKeL8+eucryHNMLBgH7aBnLmlhgHJO8TvJkwQzfjEm 3yRV/TudbG3ul8ZPmhjljJ5C9M+6nsNT7+v8iMMR8N7s571gnDrACCVAfXX4Bh58kqi5 E0pg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yu4s2sDuvAJxt9c8aXIURi1jwQFjxPKDQ0lHZc3V6qo=; b=bqa88ZzNOJIcJPHT/uusjHJhk6RY3Nla8MZ/tAClN9SJbPyY6pyvONYdnQSHl2UeU4 u4m6C59k7YCzJymlgWes1OEzQQMr+VfffLE5XwoKAYSsJSmRchPvIdnPVwyQVaKrNzdf xokRbr3fw4t32JvUs88erbbWLkWrTnnE/SzOK1Ib3aR7Ev79Q+Lh/qj9AbC1uveWrz+R VBpCXzhZTVtK8+7130P51zsbEzrIjImNc4x1/nlprJhI23+3//GnTollpjf8PjUh8gHJ kmq/tHFHzYDTItPNLK+MYKgELJAxXoXg9pj25uJZami4WN9INP6lu8lrYOegYg4RTRH7 aDZg==
X-Gm-Message-State: AOAM533hTUOn3PzOoPbG7+awASqlgW5wWvfXFs8uttglcZ1qDF3i4r3h LgiNaaj4VWMSwABTxLE2QBXiUU6QvB8WQgaPFp8=
X-Google-Smtp-Source: ABdhPJy9h1KjWbtCEMNTxuC+jzujYGmu8NUQ/ZO6hRDM8L8UIjmOzBJdha6Y/djwc8J3iahBt/Z1uWkk7YXFbshuKeU=
X-Received: by 2002:a17:90b:2358:: with SMTP id ms24mr954951pjb.132.1616198203322; Fri, 19 Mar 2021 16:56:43 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR11MB3207CF86CF2FBD56CA3EAD66C0919@BYAPR11MB3207.namprd11.prod.outlook.com> <CBFDE565-E501-4344-BF6C-53A541D50391@tsinghua.org.cn> <012b01d7170f$7ec90310$7c5b0930$@tsinghua.org.cn> <BYAPR11MB3207D4E973EE9ED170687E1EC06F9@BYAPR11MB3207.namprd11.prod.outlook.com> <015601d7171a$036be470$0a43ad50$@tsinghua.org.cn> <CAH1iCiqy3uu0SF2i9TyTRwCdt2d2Ud9+nUCtRG+vc2E-gwfLPQ@mail.gmail.com> <20210319162953.GR29692@pfrc.org> <BYAPR11MB3207F7BC05E7F10C09373E6EC0689@BYAPR11MB3207.namprd11.prod.outlook.com> <20210319214341.GT29692@pfrc.org> <BYAPR11MB3207F5FB11E2881774AD1767C0689@BYAPR11MB3207.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB3207F5FB11E2881774AD1767C0689@BYAPR11MB3207.namprd11.prod.outlook.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Fri, 19 Mar 2021 19:56:32 -0400
Message-ID: <CABNhwV01GZPoJwdbyOWuzD==+XNtqD5cyOMmtDgQF4kKOqhxwA@mail.gmail.com>
To: "Jakob Heitz (jheitz)" <jheitz=40cisco.com@dmarc.ietf.org>
Cc: Jeffrey Haas <jhaas@pfrc.org>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000cbb32705bdec7755"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/9kgvFC9JHhSZeFw3R0O4ZTKfF3A>
Subject: Re: [Idr] WKLC transitivity considerations (was Re: Adoption call for draft-heitz-idr-wklc-02 (3/9 to 3/23))
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 19 Mar 2021 23:56:47 -0000

Hi Jacob

In their local configuration as to administrative boundary versus not an
administrative boundary?

Or is it that any eBGP session is administrative boundary and every iBGP
session is a non administrative boundary?

With regards to transitive versus non transitive in the path selection if
their is a match on WKLC or duplicate with existing LC deployed, the higher
less transitive bit is always preferred correct?



        0 - Transitive: The WKLC is transitive across ASes.

        1 - Non-transitive: The WKLC is not transitive across ASes.

        2 - Administration Transitive: The WKLC is transitive across
            ASes under the same administration only.  By default, every
            AS boundary is also an administration boundary.  If an
            external BGP session is configured as a non-administrative
            boundary, then it will send and receive WKLCs with
            transitivity 2, else it will discard the WKLC from the
            UPDATE message.

        3 - One-time Transitive: The WKLC is transitive across ASes
            under the same administration and into an AS under the
            neighboring administration, but not into an AS under a
            further administration.  A BGP speaker that receives a WKLC
            with transitivity 3 on an external BGP session on an
            administrative boundary SHOULD change the transitivity to 2.



Thanks

Gyan


On Fri, Mar 19, 2021 at 5:23 PM Jakob Heitz (jheitz) <jheitz=
40cisco.com@dmarc.ietf.org> wrote:

> Yes.
>
> Regards,
> Jakob.
>
> -----Original Message-----
> From: Jeffrey Haas <jhaas@pfrc.org>
> Sent: Friday, March 19, 2021 2:44 PM
> To: Jakob Heitz (jheitz) <jheitz@cisco.com>
> Cc: idr@ietf.org
> Subject: Re: [Idr] WKLC transitivity considerations (was Re: Adoption call
> for draft-heitz-idr-wklc-02 (3/9 to 3/23))
>
> Jakob,
>
> On Fri, Mar 19, 2021 at 08:40:15PM +0000, Jakob Heitz (jheitz) wrote:
> > I'm glad you brought that up.
> > IMO, it's "don't care".
> >
> > It matters in duplicate detection.
> > If the LC attribute contains a particular WKLC and the same WKLC
> > were to be added, say by a route-policy statement, but with a
> > different transitivity, do you add both of them or just one of
> > them and if so, which one do you keep?
> >
> > I'm just going to stick my neck out and say:
> > keep the value with the longest transitivity.
> > So, in the draft, the highest numerical transitivity.
> >
> > The reasoning:
> > Suppose you keep both. What is the behavior?
> > Assume that the decision taken by a BGP speaker at a WKLC match
> > does not depend on the transitivity, but only on the other bits.
> > If two identical community values exist in a community attribute,
> > then the decision is exactly the same as if there were only one.
> > Therefore discarding the value with the shorter transitivity
> > does not change routing behavior.
> >
> > The transitivity should matter only in the decision to propagate
> > and no other decision. If that's a good assumption, then it should work.
> >
> > I just made this up on the spot, so I might have missed something.
>
> I understand your thinking here.  A few related observations:
>
> Since large communities will exist prior to this feature being added,
> policy
> may occur on some implementation without WKLC that adds communities that
> could be duplicate.  This means we already need to be ready to deal with
> handling duplicates.
>
> Your policy now has to deal with being able to alter scope.  E.g.:
> if match wklc-foo:
>          set wklc-transitivity non-transitive;
>
>
> -- Jeff
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>
-- 

<http://www.verizon.com/>

*Gyan Mishra*

*Network Solutions A**rchitect *

*Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*



*M 301 502-1347*