Re: [Lsr] Generic metric: application-specific vs application-independent

Peter Psenak <ppsenak@cisco.com> Wed, 18 August 2021 09:55 UTC

Return-Path: <ppsenak@cisco.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 2F2E03A10B5 for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 02:55:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.098
X-Spam-Level:
X-Spam-Status: No, score=-10.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 XLJiXM1EyA5Z for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 02:55:35 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1CA93A10AE for <lsr@ietf.org>; Wed, 18 Aug 2021 02:55:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11954; q=dns/txt; s=iport; t=1629280534; x=1630490134; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=x1pUm75cqcc/t/V8MZnFXum/++u7Nk6Se5vmTksLu9E=; b=hq4OUhRA2OZanJWmcf6QDYfu+x7rwXsOCmtJuWz0fjEVNXSdY0DVUMNL 2bhjCpE09MejnHR3x68pATPA38aLkGp13/phoVSpR8PA0Yqc7DFLc6mEn X5z3zdzijc19GLJ0F3G0vYKQYJFU6yfOW/1MTn8GJzEEqKnduPSrEeiWI o=;
X-IronPort-AV: E=Sophos;i="5.84,330,1620691200"; d="scan'208";a="36500728"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Aug 2021 09:55:32 +0000
Received: from [10.147.24.37] ([10.147.24.37]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTP id 17I9tWY9020444; Wed, 18 Aug 2021 09:55:32 GMT
To: Robert Raszuk <robert@raszuk.net>
Cc: Shraddha Hegde <shraddha@juniper.net>, "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>, "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, Tony Li <tony.li@tony.li>, "lsr@ietf.org" <lsr@ietf.org>
References: <DM5PR05MB3577D1C0D75965EAD00A9247D5EA9@DM5PR05MB3577.namprd05.prod.outlook.com> <3D1EF451-7F15-488E-A889-A82283EFBD53@tony.li> <BY5PR11MB4337807459E356E3BA0A2A08C1EA9@BY5PR11MB4337.namprd11.prod.outlook.com> <DM5PR05MB357703B5F3DED46EA3FE271FD5EC9@DM5PR05MB3577.namprd05.prod.outlook.com> <6ca49c02-3dd2-bbc1-8072-89a57bcbba9b@cisco.com> <AM0PR07MB63865717B6B4A8263B689E61E0EC9@AM0PR07MB6386.eurprd07.prod.outlook.com> <CAOj+MMHRWn4OeuyZgJxbvUH2Qt7rR+gdP=pYCBU4a3Gn5sf=vw@mail.gmail.com> <BN6PR05MB3569F243ABF1F5A472EB03C1D5EC9@BN6PR05MB3569.namprd05.prod.outlook.com> <7fe0f30f-a435-f13e-0fc4-fc061d214393@cisco.com> <BN6PR05MB35696FCD5148902702661D39D5EC9@BN6PR05MB3569.namprd05.prod.outlook.com> <c6b97407-4e70-a7a1-9f79-bd5159d38ebc@cisco.com> <CY4PR05MB35766F808A73D80706354F1DD5FE9@CY4PR05MB3576.namprd05.prod.outlook.com> <aeecb688-e1bb-0056-7938-76d5da2decef@cisco.com> <CAOj+MME1xQxT4pTUyTO-V-WbE0WEa57U3+c1UKOx1-_kXr11yg@mail.gmail.com>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <4ac333a9-7065-21ad-ddfe-11b74dbc17b6@cisco.com>
Date: Wed, 18 Aug 2021 11:55:32 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <CAOj+MME1xQxT4pTUyTO-V-WbE0WEa57U3+c1UKOx1-_kXr11yg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.147.24.37, [10.147.24.37]
X-Outbound-Node: aer-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/ksIfXS3_HM8zZKXr6IFROXUkps0>
Subject: Re: [Lsr] Generic metric: application-specific vs application-independent
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: Wed, 18 Aug 2021 09:55:42 -0000

Robert,


On 18/08/2021 11:39, Robert Raszuk wrote:
> Peter,
> 
> Is there a definition of IGP "application" in any of the specs ?
> 
> To me application in the context of an IGP is defined by method used to 
> compute a topology as well as links and their metrics which are used to 
> consistently select the shortest path in the domain. So even if you 
> happen to use the exact same algorithm (which may already not be the 
> case) it seems that it is hard to artificially squeeze two orthogonal 
> topologies serving completely different purposes under a single 
> flex-algo app umbrella.

you can have up to 128 flex-algo topologies, each using different 
constraint. What else do you need?

thanks,
Peter


> 
> If you go by the notion of let's push everything to FAD then sorry but 
> ASLA is not making sense anymore as even without it FAD could 
> enumerate what link attributes and what links (using affinities) can be 
> considered for topology computation.
> 
> Honestly I am not sure where is the resistance to define more bits for 
> flex algo in SABM is coming from ....
> 
> Thx,
> R.
> 
> 
> 
> On Wed, Aug 18, 2021 at 9:51 AM Peter Psenak <ppsenak@cisco.com 
> <mailto:ppsenak@cisco.com>> wrote:
> 
>     Shraddha,
> 
>     On 17/08/2021 20:04, Shraddha Hegde wrote:
>      > Peter,
>      >
>      >> no, I don't want to use affinities to do that. That's the whole
>     point.
>      >> ASLA gives you per link per application signaling. No need to
>     use affinities.
>      >
>      > The usecase you are describing to exclude links from an
>     application topology is very straight
>      > forward and how this is done is defined by applications.
>      > TE applications have defined a topology filter data model that uses
>      > link-affinities to Include/exclude links from topology
>      >
>     https://datatracker.ietf.org/doc/html/draft-bestbar-teas-yang-topology-filter-00.
>      >   In your example if application B is any TE application it would
>     be natural to use link-affinities.
>      >
>      > If application B is LFA, RFC 7916 defines link-coloring and
>     include exclude policies to be used (Refer sec 6.2.3).
>      > so it cannot use application bits on metric to exclude links.
>      >
>      > If we assume application A and B are both Flex-algos, ASLA
> 
>     flex-algo is a single application, so A and B does not make sense.
> 
>     You can define flex-algo X and flex-algo Y and use different FAD to
>     exclude/include links as needed, using single set of affinities that
>     are
>     advertised for flex-algo application as such.
> 
>     I still do not see a problem
> 
>     thanks,
>     Peter
> 
> 
>      > natively doesn't support Per flex-algo attribute advertisement
>      > and it is extremely complex to define user-defined bit masks for Each
>      > flex-algo and assign the bit masks on the metric on every router.
>      > Operator could use link-affinities to Exclude links
>      > from flex-algo topology which is much simpler.
>      >
>      > Rgds
>      > Shraddha
>      >
>      >
>      > Juniper Business Use Only
>      >
>      > -----Original Message-----
>      > From: Peter Psenak <ppsenak@cisco.com <mailto:ppsenak@cisco.com>>
>      > Sent: Saturday, July 31, 2021 1:07 AM
>      > To: Shraddha Hegde <shraddha@juniper.net
>     <mailto:shraddha@juniper.net>>; Robert Raszuk <robert@raszuk.net
>     <mailto:robert@raszuk.net>>; Van De Velde, Gunter (Nokia -
>     BE/Antwerp) <gunter.van_de_velde@nokia.com
>     <mailto:gunter.van_de_velde@nokia.com>>
>      > Cc: Les Ginsberg (ginsberg) <ginsberg@cisco.com
>     <mailto:ginsberg@cisco.com>>; Tony Li <tony.li@tony.li
>     <mailto:tony.li@tony.li>>; lsr@ietf.org <mailto:lsr@ietf.org>
>      > Subject: Re: [Lsr] Generic metric: application-specific vs
>     application-independent
>      >
>      > [External Email. Be cautious of content]
>      >
>      >
>      > Shraddha,
>      >
>      > On 30/07/2021 18:45, Shraddha Hegde wrote:
>      >> Peter,
>      >>
>      >>> imagine you have an application A and B and a link X. You
>     advertise application independent metric M on that link X >because
>     you want application A to use it.
>      >>
>      >>> Application B is also enabled to use the metric M, but you do
>     not want application B to use metric M on the link X >(because you
>     do not want application B to include the link X in its topology).
>     How do you do that without ASLA? The >answer is you can't.
>      >>
>      >> This is very straight forward to do without ASLA.
>      >>    I would define an admin-group and assign that admin group on
>     link X and
>      >>    exclude that admin-group from Application B.
>      >>    This is much common way how
>      >>    operators exclude links from the topology.
>      >
>      > no, I don't want to use affinities to do that. That's the whole
>     point.
>      > ASLA gives you per link per application signaling. No need to use
>     affinities.
>      >
>      >>
>      >>    The alternative being proposed with ASLA is much more fragile.
>      >>    An operator would have to set the bits for application A and
>     Application B
>      >>    for metric M on every link that he wants to include and reset the
>      >>    application bit B on links that he wants to exclude for
>     application B.
>      >
>      > sorry, but setting affinities is not any easier, so the above
>     argument is not valid.
>      >
>      >
>      > Peter
>      >
>      >
>      >
>      >>    Imagine what would happen if he missed setting the bit or
>     resetting
>      >>    the bit on some of the links and how difficult it would be to
>     debug.
>      >>
>      >> Rgds
>      >> Shraddha
>      >>
>      >>
>      >> Juniper Business Use Only
>      >>
>      >> -----Original Message-----
>      >> From: Peter Psenak <ppsenak@cisco.com <mailto:ppsenak@cisco.com>>
>      >> Sent: Friday, July 30, 2021 7:09 PM
>      >> To: Shraddha Hegde <shraddha@juniper.net
>     <mailto:shraddha@juniper.net>>; Robert Raszuk
>      >> <robert@raszuk.net <mailto:robert@raszuk.net>>; Van De Velde,
>     Gunter (Nokia - BE/Antwerp)
>      >> <gunter.van_de_velde@nokia.com
>     <mailto:gunter.van_de_velde@nokia.com>>
>      >> Cc: Les Ginsberg (ginsberg) <ginsberg@cisco.com
>     <mailto:ginsberg@cisco.com>>; Tony Li
>      >> <tony.li@tony.li <mailto:tony.li@tony.li>>; lsr@ietf.org
>     <mailto:lsr@ietf.org>
>      >> Subject: Re: [Lsr] Generic metric: application-specific vs
>      >> application-independent
>      >>
>      >> [External Email. Be cautious of content]
>      >>
>      >>
>      >> Shraddha,
>      >>
>      >>
>      >> On 30/07/2021 15:22, Shraddha Hegde wrote:
>      >>> Robert,
>      >>>
>      >>>    > Can anyone explain how do I map generic metric to selected
>      >>> network applications I am to run in the network ?
>      >>>
>      >>> Which application uses which metric type is defined by the
>     application.
>      >>
>      >> imagine you have an application A and B and a link X. You
>     advertise application independent metric M on that link X because
>     you want application A to use it.
>      >>
>      >> Application B is also enabled to use the metric M, but you do
>     not want application B to use metric M on the link X (because you do
>     not want application B to include the link X in its topology). How
>     do you do that without ASLA? The answer is you can't.
>      >>
>      >> thanks,
>      >> Peter
>      >>
>      >>>
>      >>> For example in flex-algo FAD defines which metric-type its
>     going to use.
>      >>>
>      >>> In SR-TE, the constraint list specifies which metric-type it is
>     going
>      >>> to use.
>      >>>
>      >>> Rgds
>      >>>
>      >>> Shraddha
>      >>>
>      >>> Juniper Business Use Only
>      >>>
>      >>> *From:* Robert Raszuk <robert@raszuk.net
>     <mailto:robert@raszuk.net>>
>      >>> *Sent:* Friday, July 30, 2021 6:20 PM
>      >>> *To:* Van De Velde, Gunter (Nokia - BE/Antwerp)
>      >>> <gunter.van_de_velde@nokia.com
>     <mailto:gunter.van_de_velde@nokia.com>>
>      >>> *Cc:* Peter Psenak <ppsenak@cisco.com
>     <mailto:ppsenak@cisco.com>>; Shraddha Hegde
>      >>> <shraddha@juniper.net <mailto:shraddha@juniper.net>>; Les
>     Ginsberg (ginsberg) <ginsberg@cisco.com <mailto:ginsberg@cisco.com>>;
>      >>> Tony Li <tony.li@tony.li <mailto:tony.li@tony.li>>;
>     lsr@ietf.org <mailto:lsr@ietf.org>
>      >>> *Subject:* Re: [Lsr] Generic metric: application-specific vs
>      >>> application-independent
>      >>>
>      >>> *[External Email. Be cautious of content]*
>      >>>
>      >>> Hey Gunter,
>      >>>
>      >>>    > It doesn’t make sense to have Application specific values if a
>      >>> particular metric is obtained only dynamically,
>      >>>
>      >>> It sure does.
>      >>>
>      >>> Please notice what ASLA RFCs say up front in the abstract. ASLA is
>      >>> useful for:
>      >>>
>      >>> A) application- specific values for a given attribute
>      >>>
>      >>> AND
>      >>>
>      >>> B) indication of which applications are using the advertised value
>      >>> for a given link.
>      >>>
>      >>> It does not matter if the value is same or different ... what
>     matters
>      >>> is automated and consistent indication which of my applications
>     given
>      >>> new metric applies to.
>      >>>
>      >>> I already mentioned this to Ron here:
>      >>>
>     https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/lsr
>      >>> /
>      >>>
>     OgGLI8yezUDWU-EZePoIj6y6ENk/__;!!NEt6yMaO-gk!VVLJCpIMrWixS17PeaBbfOpe
>      >>> b NPO4JUW4jparIn36jHmhv4_-W2_q_Smwo7oIYgk$
>      >>>
>     <https://urldefense.com/v3/__https:/mailarchive.ietf.org/arch/msg/lsr
>      >>> /
>      >>>
>     OgGLI8yezUDWU-EZePoIj6y6ENk/__;!!NEt6yMaO-gk!Tny8sU7cmjqLAbDVnliN7lck
>      >>> 7 J4tCBAHr10i3CW2G9oviUWo8b2RTJxCXc0gvWOz$>
>      >>>
>      >>> Can anyone explain how do I map generic metric to selected network
>      >>> applications I am to run in the network ?
>      >>>
>      >>> Thx,
>      >>> Robert.
>      >>>
>      >>> On Fri, Jul 30, 2021 at 11:05 AM Van De Velde, Gunter (Nokia -
>      >>> BE/Antwerp) <gunter.van_de_velde@nokia.com
>     <mailto:gunter.van_de_velde@nokia.com>
>      >>> <mailto:gunter.van_de_velde@nokia.com
>     <mailto:gunter.van_de_velde@nokia.com>>> wrote:
>      >>>
>      >>>       A little late in the discussion... (PTO events do happen)
>      >>>
>      >>>       a quick opinion on the below discussion on whether
>     Generic metric
>      >>>       sub-tlv should be encoded on a ASLA or not.
>      >>>       For me, it depends on how the metric for the corresponding
>      >>>       metric-type is obtained and if it can be configured (static).
>      >>>       It doesn’t make sense to have Application specific values
>     if a
>      >>>       particular metric is obtained only dynamically, for eg,
>     dynamically
>      >>>       measured delay is going to be same for all applications.
>      >>>       On the contrary, te-metric can be configured, and we can in
>      >>>       principle configure different values for different
>     applications.
>      >>>
>      >>>       My opinion is that if any of the metric-types in the
>     Generic metric
>      >>>       sub-tlv can be configured, it should be inside the ASLA.
>      >>>
>      >>>       G/
>      >>>
>      >>
>      >>
>      >
>      >
>