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

Robert Raszuk <robert@raszuk.net> Sat, 21 August 2021 09:51 UTC

Return-Path: <robert@raszuk.net>
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 184C63A1187 for <lsr@ietfa.amsl.com>; Sat, 21 Aug 2021 02:51:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, 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=raszuk.net
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 k4Y6i_DwbqsZ for <lsr@ietfa.amsl.com>; Sat, 21 Aug 2021 02:51:40 -0700 (PDT)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 628723A1182 for <lsr@ietf.org>; Sat, 21 Aug 2021 02:51:40 -0700 (PDT)
Received: by mail-lf1-x133.google.com with SMTP id z2so26039588lft.1 for <lsr@ietf.org>; Sat, 21 Aug 2021 02:51:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9egsghjK1eVKlrgvPRljUUWxzn/IWeje448xXfc/71k=; b=BG3AWgqx5+MAFOKEa5O01Xcjupx2l7RTZidO3Y0OyEDYs7jgagUBT+HJppR9N4YY9u NorymsD9meE86oPxdwtOuSNZ8FQLvLMKcVTXZUuLgObBNCwYZ0VvIM/ZkgRhLKX3inF+ suuhgMaMfuU1dCUl68UVh90bwB2WW5OxEbyX0EDGsr2n/YGzsOi2jR4jUr+6o93/Wx1R ZQpgYY8U6RbWUM0lHIw2Hgj4CEVmH//G9niupgkmKl/KsutdFhAPAu+Xmc4+PAimZwH6 F9X1Jbot38u+LNDNaQbMpvWT/K6Zz9sovUEX8btP6MVDgfRbUR189uIFGv4l8ACwc0wd rBKg==
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=9egsghjK1eVKlrgvPRljUUWxzn/IWeje448xXfc/71k=; b=VOf7zY+UO4NeAQEjdBpPRDj2u72048BS9E/GiFoPNmb/9sjjfJhCS5Mpv4bb+q5Rh1 PNwvnkY3R+nvE6zFDHZbwdTbEgvKDYO/kw7wKxAUvdTrJHDzNrC36XNIASXr2jvHIPks c/2wgWPqRFn1lUtvdnjfikjzjLF/ncy80nJg3kTsdd7ykiuxvmsy9VTcFvat9ioPqzh0 r9ttXbJFUlhffwiiMurrfroq6YzHYnFXo+Mc4dkDZNMlUxh2fJYT1gEyakWXXVeK/VpU IHJDmJk1aySbElkxJg6VMK10Cxxy72xhJTqN/6ccPXhbSOi57OwxPqPTrlSEc4WUBtzT iKtA==
X-Gm-Message-State: AOAM532LAFQiL7xZWzq0mJ6hF5oe0g8RXNmD+a0Vwb3D5xSZpiB3sRv/ toagy6RTkH8tosy7SLY31X/RNXkDnqPFsRe8crnYkw==
X-Google-Smtp-Source: ABdhPJxX/oIZuOvJ/mvbl+QDjBasqDGp1zHpRjQh1tiOAp6xQMCBxQtCkYrtqeiesaTLSKslCfoW5M0xZjpsEoxpDyQ=
X-Received: by 2002:a05:6512:360d:: with SMTP id f13mr18776147lfs.581.1629539498073; Sat, 21 Aug 2021 02:51:38 -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>
In-Reply-To: <CA+wi2hOTvh-x066hCGE3QcFzee+9Eqs-ggS=UOmPsKmE-=O-qA@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 21 Aug 2021 11:51:32 +0200
Message-ID: <CAOj+MME-Nd6d=VAKYnR5hEk4tikkO10yt1t2ozCKWo4-7-+T+w@mail.gmail.com>
To: Tony Przygienda <tonysietf@gmail.com>
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="000000000000ee390b05ca0eba2f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/qTh0V-b-gsNXEbXBXMu52uC8SWM>
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 09:51:46 -0000

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.

> (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.

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
>>
>