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

Peter Psenak <ppsenak@cisco.com> Wed, 18 August 2021 07:51 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 AF8E83A0906 for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 00:51:36 -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 o1Ef1PKToBi4 for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 00:51:30 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B29E93A08FA for <lsr@ietf.org>; Wed, 18 Aug 2021 00:51:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8116; q=dns/txt; s=iport; t=1629273089; x=1630482689; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=rWBxiNvLVSBQ6gTNZDJMv+x6I4TizbJ7Ipmdn+UdoRM=; b=eVoRUxJO367uHsGMQWGmQVW3yqKfaTbS3Ph0yhz8wNOhWTeoemDSrTuk eHFs+4RbcRsPT20pEm89kVEMC4ElH0BDA8wDvRmxgrATYI/xtKNY38SU/ 9iDpT2jVGdQsihSGI50r1nFZVSbddr3uK+8UM742hy7tS9SzhQJhQ7MTs Q=;
X-IronPort-AV: E=Sophos;i="5.84,330,1620691200"; d="scan'208";a="38932312"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Aug 2021 07:51:27 +0000
Received: from [10.60.140.51] (ams-ppsenak-nitro2.cisco.com [10.60.140.51]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id 17I7pQt5028161; Wed, 18 Aug 2021 07:51:27 GMT
To: Shraddha Hegde <shraddha@juniper.net>, Robert Raszuk <robert@raszuk.net>, "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>
Cc: "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> <4569B3FA-ED65-485A-9273-B5D2A46F6690@tony.li> <BY5PR11MB4337337B882CC1A1D37A0E3BC1EA9@BY5PR11MB4337.namprd11.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>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <aeecb688-e1bb-0056-7938-76d5da2decef@cisco.com>
Date: Wed, 18 Aug 2021 09:51:26 +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: <CY4PR05MB35766F808A73D80706354F1DD5FE9@CY4PR05MB3576.namprd05.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.60.140.51, ams-ppsenak-nitro2.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/R5N1N5T7BzcuEFSNuQUe4if7Tcg>
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 07:51:39 -0000

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>
> Sent: Saturday, July 31, 2021 1:07 AM
> To: Shraddha Hegde <shraddha@juniper.net>; Robert Raszuk <robert@raszuk.net>; Van De Velde, Gunter (Nokia - BE/Antwerp) <gunter.van_de_velde@nokia.com>
> Cc: Les Ginsberg (ginsberg) <ginsberg@cisco.com>; Tony Li <tony.li@tony.li>; 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>
>> Sent: Friday, July 30, 2021 7:09 PM
>> To: Shraddha Hegde <shraddha@juniper.net>; Robert Raszuk
>> <robert@raszuk.net>; Van De Velde, Gunter (Nokia - BE/Antwerp)
>> <gunter.van_de_velde@nokia.com>
>> Cc: Les Ginsberg (ginsberg) <ginsberg@cisco.com>; Tony Li
>> <tony.li@tony.li>; 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>
>>> *Sent:* Friday, July 30, 2021 6:20 PM
>>> *To:* Van De Velde, Gunter (Nokia - BE/Antwerp)
>>> <gunter.van_de_velde@nokia.com>
>>> *Cc:* Peter Psenak <ppsenak@cisco.com>; Shraddha Hegde
>>> <shraddha@juniper.net>; Les Ginsberg (ginsberg) <ginsberg@cisco.com>;
>>> Tony Li <tony.li@tony.li>; 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>> 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/
>>>
>>
>>
> 
>