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

Tony Przygienda <tonysietf@gmail.com> Sun, 22 August 2021 18:51 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 180583A1496 for <lsr@ietfa.amsl.com>; Sun, 22 Aug 2021 11:51:59 -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=unavailable 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 0ozPrTBVC02G for <lsr@ietfa.amsl.com>; Sun, 22 Aug 2021 11:51:53 -0700 (PDT)
Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 AADDA3A1495 for <lsr@ietf.org>; Sun, 22 Aug 2021 11:51:53 -0700 (PDT)
Received: by mail-il1-x12d.google.com with SMTP id v16so14967847ilo.10 for <lsr@ietf.org>; Sun, 22 Aug 2021 11:51:53 -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=9acYZDwUxl2ImtvGedY5x7bzzxRs+MEbeCJPvXpaxxQ=; b=vEDJwhmnZx78BxsXLbbGyJGrC4NV6ym3282nd/53Hw8pChRARBpdNr0hGLRsrOpBVC FrbvQMylP9o5loWtLR6EVF+4NqR81t7Z/J3eh4gsvKHJtAmce0+RBs4g50LLvKneJO6j CJl2Z0QdRR1gkSm496bGc4UpsgYU/i1UCGsHRdR5sm++zMrIdUEQKEPKdD0Y2hwuVaPk fFoxrPe00XJ2tj9yVFLvOR8tqXseXvCiY8+qjzXxGBjh/n2xdrngBHWgdIXlZPYLhQXA bnJ/ad/UXowkl8BCryqorDLEOZ4Jo6RV4nH7mlmyeesnYcOL9N03wkxnn8qDxP90YX2Q 5rkw==
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=9acYZDwUxl2ImtvGedY5x7bzzxRs+MEbeCJPvXpaxxQ=; b=Qd6nR75HTabE3PlESRBg9/x/HDjUSBriOVQo15Xpez8o+Civ5tSAddEzNoAUDm/dYT o18V4JD4RDzcHn95bDugkQ/QKUbw6XqGVDUrk0L3+uAxPdp0QIg951SYNyUFeky4Y1ya fy5NVCC6J11mwMKFyfW/SNenP21TJPdsy3VbEUruC++1iZ0lkDVvFSJuoVp3i/biMv4G 35adgbqvyrXhYVwLv4GG598MF+jALvp0mxHkh/5c4iBGsGMm18IMwq618uJbGwccixPq wj6ve9q9525FRJA9mJF1zoln7rw/qCpW9y0O05Q1WEat8eJYzpju8VdpdGJtvVX3o3T5 IUDw==
X-Gm-Message-State: AOAM530ay4JmMJi12OI833DrQtFHwkUmxJzp5R4prcuJh0s9publwktw O+/IXy5LDX/TNDwWFZOj8DOi5UZnOnuQ8J6Spn4=
X-Google-Smtp-Source: ABdhPJyijkNyBusVMNGvxivbzT8kTaSTlEOhdS1Z8i6r/ca4/nO4eT67gGTwISd0rXUCCO+cJyRjtvJY6Y/G3D080fk=
X-Received: by 2002:a05:6e02:214b:: with SMTP id d11mr1420244ilv.239.1629658311786; Sun, 22 Aug 2021 11:51:51 -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> <CA+wi2hOTvh-x066hCGE3QcFzee+9Eqs-ggS=UOmPsKmE-=O-qA@mail.gmail.com> <CAOj+MME-Nd6d=VAKYnR5hEk4tikkO10yt1t2ozCKWo4-7-+T+w@mail.gmail.com>
In-Reply-To: <CAOj+MME-Nd6d=VAKYnR5hEk4tikkO10yt1t2ozCKWo4-7-+T+w@mail.gmail.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Sun, 22 Aug 2021 20:51:15 +0200
Message-ID: <CA+wi2hP+b_x9aW6J=VPgOWA+GpNeNGVMbbVwWU-ULZzQqHq6Xg@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: "Les Ginsberg (ginsberg)" <ginsberg=40cisco.com@dmarc.ietf.org>, Ron Bonica <rbonica@juniper.net>, "lsr@ietf.org" <lsr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c786e205ca2a6467"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/xWu-RcFlyWr7yvq8s9hzBFMLAz8>
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: Sun, 22 Aug 2021 18:51:59 -0000

On Sat, Aug 21, 2021 at 11:51 AM Robert Raszuk <robert@raszuk.net> wrote:

> Tony
>
> > I see a value in the "A" bit from multiple angles (which I do not read
> as "all applications" but "any application".
>
> Spot on ! Yes we did mean "any app" not "all apps". Even title says "any"
> :) Each app can still cherry pick what it uses in FAD.
>

ok, yepp, as I said, I did not scan the draft yet and if all that has been
abundantly clear no damage in spelling it out again.


>
> > (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 ;-)
>
> I am not following this one ...
>
> SABM length in octets describes length of the actual application bit
> octets. A-bit or R,S,F,X are part of it.
>
> So for A-bit length must be at least 1 or more.
>
> But now comes Les and says:
>
> *> (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)*
>
> That to me is ambiguous as it sort of means that 0 length ABM flags may be
> defined as any application.
>

it's not a good suggestion AFAIS, a natural semantics for 0 length ABM is
realy "_no_ application"


>
> If that would be the case (which I believe is not today) then indeed no
> need to define A-bit.
>
> Cheers,
> R.
>
>
> On Sat, Aug 21, 2021 at 9:05 AM Tony Przygienda <tonysietf@gmail.com>
> wrote:
>
>> 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
>>>
>>