Re: [Lsr] New Version Notification for draft-hegde-lsr-asla-any-app-00.txt

Tony Przygienda <tonysietf@gmail.com> Sat, 21 August 2021 07:05 UTC

Return-Path: <tonysietf@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75D003A0DF9 for <lsr@ietfa.amsl.com>; Sat, 21 Aug 2021 00:05:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 XgGB0ChOWliy for <lsr@ietfa.amsl.com>; Sat, 21 Aug 2021 00:05:05 -0700 (PDT)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 CE7A33A0DED for <lsr@ietf.org>; Sat, 21 Aug 2021 00:05:05 -0700 (PDT)
Received: by mail-io1-xd2d.google.com with SMTP id a15so15147001iot.2 for <lsr@ietf.org>; Sat, 21 Aug 2021 00:05:05 -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=kVDSMdDPW9VYl0gZEryxuU6mfkwbdC+DpCfFWo/NUVk=; b=PHTLH3Lrkq+e+wl2mU7hXdZIVZ/zM2A9Yjt21KaL+guEz3Vzn/iKo/PbbWaRL8amjf DwCj6Ox6fMEroXq581RdeRXKO/NHT/jgmM7rRfWwFHjSQkaOXdeDYwNZ5ifjDkK/tFN1 0S5OE1+5IsBnXJNyGSdA0V0/5P9rPoM4jZXoovyLi7DeCfaQdhL8kac+70QZKDm8GmQ/ WO2ok8bCqvZKl485JZQM54xcVsonm9OFSw+BkgoIl5C1AKUMoHUzKuoB5oaqnvhS9x/Z CktTkZdZ8t+kw4BYU/zqgbcAgCCuL+gKwDCb30t2+5BTi3O3QQiidjaM21/pZlHwfczY qxZw==
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=kVDSMdDPW9VYl0gZEryxuU6mfkwbdC+DpCfFWo/NUVk=; b=TPIbwsVr5yt91z3ZQihmFM0LVTsnX/1EV/Qcd0W5lImIlQhQaFXyo+Vmob/G84VOtP DKqZTLUVX7AzZVNFsUnNIV9IIprib14NXttshv2L9Y2KFBRSBXhWvvtjYsFFBNRUX9sl Qp/5q0YefI23KOMxHbwjvTtB1uA4GXGC4ihidAoq3twf0Od/dUzJuS2paHPmIyYbE2Q+ 8jfqp2VYchi5sJQvjXJvwCmRfXWdI3uXPyiNunyX7U1F9DykAOQQaFYwXPf/lVes6QVz wep14FwGxWmoZzXH1zJ0lelLRXDw7+lA4W+2JQoAGCyuGNBXMJmGKuEC7po5LQzs/LEK cGiA==
X-Gm-Message-State: AOAM530rxrDXdz27v0wLsAiF8TQi+SIQLce2cHVHdVqEzHKE6YVaSCmF 6BvfPbhySYRlMGJCQlB32UQ/NeWF5IdOQjzqh64=
X-Google-Smtp-Source: ABdhPJxcUeDhRQXeNiq3pA4hTKq48lqq59gn7T/6FsETk1amYHF/D+Lao8G4aShXnIq2AgD4Xc3VtIUMrnxA7UIpIoA=
X-Received: by 2002:a6b:7106:: with SMTP id q6mr18990846iog.174.1629529504064; Sat, 21 Aug 2021 00:05:04 -0700 (PDT)
MIME-Version: 1.0
References: <162943024158.25012.15758140620996305842@ietfa.amsl.com> <BL0PR05MB53167201E607E5922DECA320AEC19@BL0PR05MB5316.namprd05.prod.outlook.com> <BY5PR11MB4337B66A6C77DB8FFF31DE57C1C19@BY5PR11MB4337.namprd11.prod.outlook.com> <CAOj+MMEtOfUmGw95YownrXZ3fx_V74bWWeOqukX01j5nTM6fFg@mail.gmail.com> <BY5PR11MB4337836ED3EA8AFEB7115E07C1C19@BY5PR11MB4337.namprd11.prod.outlook.com> <CAOj+MMGn=6s67s93mx-X59j_HWwZNE=L3FyP=dG=omfZy8q67w@mail.gmail.com> <BY5PR11MB43375E493D07444E8EFE63A0C1C29@BY5PR11MB4337.namprd11.prod.outlook.com>
In-Reply-To: <BY5PR11MB43375E493D07444E8EFE63A0C1C29@BY5PR11MB4337.namprd11.prod.outlook.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Sat, 21 Aug 2021 09:04:27 +0200
Message-ID: <CA+wi2hOTvh-x066hCGE3QcFzee+9Eqs-ggS=UOmPsKmE-=O-qA@mail.gmail.com>
To: "Les Ginsberg (ginsberg)" <ginsberg=40cisco.com@dmarc.ietf.org>
Cc: Robert Raszuk <robert@raszuk.net>, Ron Bonica <rbonica@juniper.net>, "lsr@ietf.org" <lsr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003dabff05ca0c679b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/01axruktNYDaH-k4_Y0pKW-4GAU>
Subject: Re: [Lsr] New Version Notification for draft-hegde-lsr-asla-any-app-00.txt
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Aug 2021 07:05:13 -0000

My quick take:

1. yes, A bit will necessitate being either deployed in a well understood
part of the network (because as Les says old nodes will basically see _no_
application [which seems desirable, they basically take themselves out]) or
forklifting. Not that different from flex-algo being same kind of forklift
AFAIS.
2. any application introduced after that will precondition implementation
of A bit if we don't want to get into the rathole of "do not encode using
A, encode using repetition per application if you have old routers".

I see a value in the "A" bit from multiple angles (which I do not read as
"all applications" but "any application". The distinction is subtle but
important)

a) it fits what flex-algo needs in ASLA architecture. E'one wins AFAIS.
b) if we want to replace A with X|Y|Z we need to know on a router about
_all_ applications on all routers and that may be non-trivial and on every
change may force re-adverts (unless we set all bits 1 on a 8 bytes ASLA
mask [as in _all_ applications]. That does not seem like a good idea given
the encoding sizes). A as "any" basically means "any application on this
router uses this metric" and avoids both problems. Significantly simpler
AFAIS.

A very, very subtle point (I didn't read the 'a' draft yet so it may be
taken care of) is whether SABM length is 1 with all 0s or length is 0 on A
bit presence and if 0 will the current implementations hold up to that ;-)

Les, correct me if I'm off somewhere, I was watching lots of that just from
the corner of my eye ;-)

-- tony



On Sat, Aug 21, 2021 at 2:06 AM Les Ginsberg (ginsberg) <ginsberg=
40cisco.com@dmarc.ietf.org> wrote:

> Robert -
>
>
>
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Friday, August 20, 2021 5:01 PM
> *To:* Les Ginsberg (ginsberg) <ginsberg@cisco.com>
> *Cc:* Ron Bonica <rbonica@juniper.net>; lsr@ietf.org
> *Subject:* Re: [Lsr] New Version Notification for
> draft-hegde-lsr-asla-any-app-00.txt
>
>
>
> Hi Les,
>
>
>
> *The point being is that “A-bit” is no different than introducing any
> other new application bit. Until all routers in the network understand it
> you cannot safely use it.*
>
>
>
> That is true.
>
>
>
> But the entire point of A-bit is that you are doing this exercise to make
> sure your routers understand A-bit only one time.
>
> *[LES:] This does not mean that you can introduce support for a new
> application (call it “bit N”) w/o upgrading your routers simply because you
> already have A-bit support. I hope that is obvious. **😊*
>
>
>
> *My original point was simply  that the statement about “backwards
> compatibility” regarding A-bit isn’t accurate. Good that we now agree on
> that.*
>
>
>
> *   Les*
>
>
>
> Otherwise you need to do it each time you invent a new bit.
>
>
>
> Thx,
>
> R.
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sat, Aug 21, 2021 at 1:34 AM Les Ginsberg (ginsberg) <
> ginsberg@cisco.com> wrote:
>
> Robert –
>
>
>
> Inline.
>
>
>
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Friday, August 20, 2021 1:29 PM
> *To:* Les Ginsberg (ginsberg) <ginsberg@cisco.com>
> *Cc:* Ron Bonica <rbonica@juniper.net>; lsr@ietf.org
> *Subject:* Re: [Lsr] New Version Notification for
> draft-hegde-lsr-asla-any-app-00.txt
>
>
>
> Hi Les,
>
>
>
> Please see below.
>
>
>
> It is not just that a new application wants to use the same link attribute
> value that allows you to use the "all applications" encoding. It is also
> necessary for the set of links used by the new application to be identical
> to the set of links used by the existing applications.
>
>
>
> Not really. You can use subset of links when you apply affinity bits to
> it.
>
> *[LES:] This isn’t relevant.*
>
> *Let me try explaining this a different way.*
>
>
>
> *Suppose I have 1000 links in my network. *
>
> *On 500 of those links I have Attribute #1 advertised using “all
> applications”. (For the purposes of this discussion it does not matter
> whether I use the existing 0 length ABM format or the proposed new “A-bit”
> format)*
>
> *There are currently two applications, X and Y, deployed in the network
> and they are both using the same value of attribute #1 on the same set of
> 500 links.*
>
> *All is well.*
>
> *Now, I want to enable application Z. If I do so and make no changes to
> the existing link attribute advertisements, application Z will think it can
> use Attribute #1 on all 500 of the links on which the “all” form of the
> ASLA sub-TLV is being advertised.*
>
> *If application Z is intended to use all of those 500 links all is well.
> But if application Z is NOT meant to use one or more of the links on which
> the ALL ASLA sub-TLVs are being advertised then I have to make changes to
> at least some of the existing advertisements.*
>
>
>
> *This is why, in RFC 8919/8920, we advise caution in using the “all” form
> – and why we do not allow both the “all” form and the “app-specific” form
> to be used by a given application. It is too easy for mistakes to occur,
> especially when enabling a new application.*
>
>
>
> *Implementations that I am aware of do not send the “ALL” form for this
> reason i.e., it introduces dependencies between applications which are hard
> to validate.*
>
>
>
> Likewise as Peter confirmed you also need to use affinities to select
> subset of links carrying given flex-algo metric to be used only by some
> selective flex-algo topologies.
>
>
>
>
>
> " The solution described in this document is backward compatible with
>    [RFC8919] and [RFC8920]."
>
> This is FALSE.
>
>
>
> Well I am not sure what Shraddha wanted to express by this sentence or
> what "backwards" means here. But if you delete "backwards" the rest of the
> sentence seems just fine.
>
>
>
> Let's observe that even if you define a new application and define new bit
> participating nodes need to support it. That means that you must keep
> upgrading your OS on all participating nodes each time new new bit is
> invented.
>
>
>
> *[LES:] Again, a simple example should suffice.*
>
> *All routers in my network support application X and application Y.*
>
> *Some of the routers support the proposed A-bit, some do not.*
>
> *For the set of links on which applications X and Y are using the same
> attribute we will then have some links using A-bit ASLA, some not using
> A-bit ASLA.*
>
> *For those routers which support the A-bit, they will see links with both
> styles of ASLA advertisements as usable by applications X and Y.*
>
> *For those routers which do NOT support A-bit, they will see only the
> links w/0 A-bit ASLA as usable by applications X and Y.*
>
>
>
> *The point being is that “A-bit” is no different than introducing any
> other new application bit. Until all routers in the network understand it
> you cannot safely use it.*
>
>
>
> *   Les*
>
>
>
>
>
> Don't you think this is pretty bad ?
>
>
>
> How often do you think operators upgrade their core routers ?
>
>
>
> With A-bit and affinities at least your OS is ready to support any
> application based on already defined metrics without keep inventing new
> bits.
>
>
>
> Of course if we assume velocity of inventing new applications is near zero
> then this is not a problem. But then the usefulness of ASLA also can be
> challenged.
>
>
>
> Thx,
> R.
>
>
>
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
>