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

Robert Raszuk <robert@raszuk.net> Wed, 18 August 2021 09:39 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 6D1E03A0EF3 for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 02:39:53 -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 PY7IH7hmtZ0k for <lsr@ietfa.amsl.com>; Wed, 18 Aug 2021 02:39:47 -0700 (PDT)
Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 F3CBC3A0EF2 for <lsr@ietf.org>; Wed, 18 Aug 2021 02:39:46 -0700 (PDT)
Received: by mail-lf1-x135.google.com with SMTP id w20so3322175lfu.7 for <lsr@ietf.org>; Wed, 18 Aug 2021 02:39:46 -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=dDxhOXnYKKJ2DgiEIAhiIt3V3nzZ1+zR4+B0et2TW2k=; b=XrzOFF5TrxQeRJHeMcvhSwyvn4u+SyVBRqi4xPIgWOJw/+ZWGMuLWpz4DQSZZi3+aF /FmGNw6wyXtt6KYFTL03O2677J0EAMjVUXB6iVtTxt4SYctoXOHbxQqs3yiF2qOXYnU4 vzgLjCIqiTQVn/BWKb1GaQmbNI6CJaDZPWE/BMbCDt7BpHZ0WK0G3Qhh8QTq9blCzU/j i9Mipa4GJQlJvOB2M/8mDlbKUeEE7lmHNO4f0LzccRd3bpPqF+UGlrq/BMk3V98CFOK6 wpyOnnUyAb5+G1SuqHRAx7i2tfEDxAC/VGm0E4poIjEigjXHeEy+PWM+zziQKepOCGfv Klqg==
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=dDxhOXnYKKJ2DgiEIAhiIt3V3nzZ1+zR4+B0et2TW2k=; b=GaN1VjKq7/vq9U/ZcAmi/LnTf+0DxRlo87ZzxDqFnv9dHCz7FcOC/1ycll4lPRqISs LP+M8uhT+bKfWPV2ZFBn/XevIiDp1N1h1xzAWzDJUttO876cXD5fDiPAJ3pK7ONWAY6y pRCYgycLuP+yF/A2Wmww6IBfZtnT8oka59x3vPSegotbHqcK2vxFUAYucTQHFhA3Jxna RdZqkSdYgTJDL18i4fmN/LcOdLjVqWNRSytMLaUdkDoi2DvuruxlaR77w1LAlKE9zG90 5RpMsnqTEyNn2yW1KhbfWVcDm6J/pK5k7y+L/aa5gQIQ6bM7UvWf7hNSRJsZggdqb1Me BBsg==
X-Gm-Message-State: AOAM5313vKXV+vYVc6jAwLrFgITzZ2dk11dx09mrU9CTXcd47XlN06+A w9zOnteKdOgaPMvNujVaIvRMJmorfNGXgOY8dUCGnw==
X-Google-Smtp-Source: ABdhPJyUYX7yxye1OpYa1wT8iTm9nqZqsFHwJUk/WptWEVIEYEzAPdsihGjXnvYdxBJY+kIDqgE1KNyDi6U5SwId/m8=
X-Received: by 2002:a05:6512:360d:: with SMTP id f13mr5944092lfs.581.1629279583452; Wed, 18 Aug 2021 02:39:43 -0700 (PDT)
MIME-Version: 1.0
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> <aeecb688-e1bb-0056-7938-76d5da2decef@cisco.com>
In-Reply-To: <aeecb688-e1bb-0056-7938-76d5da2decef@cisco.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Wed, 18 Aug 2021 11:39:33 +0200
Message-ID: <CAOj+MME1xQxT4pTUyTO-V-WbE0WEa57U3+c1UKOx1-_kXr11yg@mail.gmail.com>
To: Peter Psenak <ppsenak@cisco.com>
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>
Content-Type: multipart/alternative; boundary="000000000000cfd3ce05c9d236a8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/qCrcF3059zWXhgsAtekg3DE8xDg>
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:39:54 -0000

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.

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