Re: [Lsr] I-D Action: draft-ietf-lsr-igp-flex-algo-reverse-affinity-02.txt

Peter Psenak <ppsenak@cisco.com> Thu, 21 March 2024 17:46 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 1537CC14F6BD for <lsr@ietfa.amsl.com>; Thu, 21 Mar 2024 10:46:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.596
X-Spam-Level:
X-Spam-Status: No, score=-14.596 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b6rzCMMBZcp8 for <lsr@ietfa.amsl.com>; Thu, 21 Mar 2024 10:46:10 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D71C0C14F700 for <lsr@ietf.org>; Thu, 21 Mar 2024 10:46:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=8906; q=dns/txt; s=iport; t=1711043170; x=1712252770; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to; bh=qvuzuXmzQXEFESNsfUk0ofBM4TFQdtA9AeLtqTYJxp0=; b=A6tihLHCtAU5IAMTd6O0gVfXnwJyfAPnIWAONXPGfTIzEOGoO8fKEtgY mP+wVLSEe/BtX7zpPdNl0Kc91Znp+3rx24KlDA1MAZ1sEvBEhRrWgW67B qhv3jy14jOmqkGCKlfX+APrQJNJEjV0SMycl9cvATk7X1VGA1FDBw/J0k w=;
X-CSE-ConnectionGUID: LBNBeT5PQNuetbhgrS0HVw==
X-CSE-MsgGUID: I7MxLVePQ/GoWvFI8PQcbQ==
X-IPAS-Result: A0CnAgB7cfxllxbLJq1agliDOFJChR2IfIg+LQOXNoZlgWoPAQEBD0QEAQGFBgKIAyc3Bg4BAgQBAQEBAwIDAQEBAQEBAQEGAQEFAQEBAgEHBRQBAQEBAQEBATcFDjeFeYZOAQEBAQIBIwRSEAsYKgICVgYVAQGCfII9IwOvMXp/M4EBszKBaoFIiCYBgVIChAWEWEKBSUSBFSeDAz6EKYN1gmgEghODEimTSowEVHkiA30IBFoNGxAeNxEQEw0DCG4dAjE6AwUDBDIKEgwLHwUSQgNDBkkLAwIaBQMDBIEuBQ0aAhAaBgwmAwMSSQIQFAM4AwMGAwoxMFVBDFADZB8yCTwPDBoCGxQNJCMCLD4DCQoQAhYDHRYEMBEJCyYDKgY2AhIMBgYGXSAHDwkEJQMIBAMrJwMgchEDBBoECwd4ggKBPQQTRAMQgTSFOIRqDIIAgTYqgU4pgRGCfQMZKx1AAgELbT01CQsbBiMfozKCYnVaFBSBD4EOk0cnnFg7SJNFgTqEHYRsnEIGDwQvl0qDf44CZJhfozeFRoF6JIFbMxoIGxWDI1EZD445k1tFbQIHAQoBAQMJimgBAQ
IronPort-Data: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iFy9z uuz/vCik313ONASqAGOmWLPBTjm9UQGOK0=
IronPort-HdrOrdr: A9a23:b+/Gq6H2j5XEpMpGpLqE08eALOsnbusQ8zAXPo5KOH5om7+j9/ xG/c5w6faaslossR0b6LS90ey7MBThHP1OjrX5X43OYOCOggLBR72Kr7GSpgEIcBeeygcy79 YCT0EzMrPN5ZwQt7eC3OF+eOxQpuW6zA==
X-Talos-CUID: 9a23:l4qHgmH3W0Y9XTvVqmJD3mg+F/x4SkT70XrMKU+3E10xaIOKHAo=
X-Talos-MUID: 9a23:0NLB8QVsyjkF547q/B6zoSFGCspQ2uOBD38Tv7RWg/CPPxUlbg==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="6.07,143,1708387200"; d="scan'208,217";a="11178137"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2024 17:46:07 +0000
Received: from [10.147.24.39] ([10.147.24.39]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id 42LHk7tV023204; Thu, 21 Mar 2024 17:46:07 GMT
Content-Type: multipart/alternative; boundary="------------ZA3HTvoULwQHgAVfkFZmG9G8"
Message-ID: <f43f6b70-cb0c-4ea3-84b9-629fced2b24a@cisco.com>
Date: Thu, 21 Mar 2024 18:46:07 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Robert Raszuk <robert@raszuk.net>
Cc: lsr@ietf.org
References: <171074954656.55060.8460468585109925265@ietfa.amsl.com> <CAOj+MMFsx1WLeRFLNozmit8Ptc-NHmiKWw6YHDLtN=YEvY=JAw@mail.gmail.com> <b464bb47-d561-40dd-8bc9-d9b68a0b8389@cisco.com> <CAOj+MMEk80UHRUrUstu+Zf3nPVSyCM=YGPUYCUz2aKGJhjqyOA@mail.gmail.com>
From: Peter Psenak <ppsenak@cisco.com>
In-Reply-To: <CAOj+MMEk80UHRUrUstu+Zf3nPVSyCM=YGPUYCUz2aKGJhjqyOA@mail.gmail.com>
X-Outbound-SMTP-Client: 10.147.24.39, [10.147.24.39]
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/4ffpRk9OAjV6iPOkC153N9PfL7Q>
Subject: Re: [Lsr] I-D Action: draft-ietf-lsr-igp-flex-algo-reverse-affinity-02.txt
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 21 Mar 2024 17:46:15 -0000

Hi Robert,

On 21/03/2024 18:26, Robert Raszuk wrote:
> Hey Peter,
>
>>     Why do we need the notion of "reverse direction" to be any
>>     different then
>>     the notion of forward direction from node B to A on a link ?
>
>     For a link A->B, we typically use attributes in the direction
>     A->B. .e.g. link delay, link affinities, etc.
>
>     The reason why we want to be able to use reverse affinities is
>     that for some cases, it is only B that knows about certain
>     properties that relates to traffic A->B. For example only B can
>     detect that there is a high rate of errors on that link for
>     incoming traffic.
>
>
> That is clear from the draft and I think that extension of computation 
> is useful. I am only asking about the flooding granularity.
>
>>     Can't we just use the reverse metrics locally by computing node
>>     without flooding
>>     anything new ?
>
>     no, because we want to use the metric in the forwarding direction,
>     but be able to exclude link if the errors are detected on the
>     other side of the link in the incoming direction.
>
>
> What I meant to say was not really not to flood anything .. but not to 
> flood any "reverse" colors. Meaning if node B notices errors coming on 
> link to node A he floods it as some color.
>
> Then node running flex-algo can treat such flooding as reverse locally 
> if instructed so.
>
> Example: Node B sees 1000 RX CRC errors on link to A. it checks Ooooo 
> it crossed threshold 999 so I flood it as color GRAY. Why there is 
> need to have this flooded with notion of "reverse" that is my question ?

You need to distinguish which affinites to use in regular and which one 
in reverse direction. You can not mix them.

Let's say a node B advertises 10 different affinites for link B->A, how 
do you know which one to use in which direction?

To do what you propose you would have to advertise the direction of each 
affiniity together with the value, or somehow associate the direction 
with it upfront. I think this would be very confusing. Having a 
completely different affinity space for each direction is way simpler.


>
> Does the "REVERSE" really means that those are RX errors as opposed to 
> TX errors ?

reverse means that it should be considered in A->B direction even though 
it is advertised with B->A link.

In our example it is used for Rx errors only. Tx errors on B are not 
relevant for A->B traffic.

>
> I think you want to differentiate the link direction and say if I see 
> RX errors this link should be removed from computation A --> B, yet in 
> the same time I there is no TX errors it would be fine to keep that 
> link in data direction B --> A  Is this the case ?

yes, more precisely for some very sensitive traffic, I want to avoid 
using the link even in the case of a minimal error rate.
>
> Would it be better to just declare link as crap bidirectionally ? :)

not necessarily.


thanks,

Peter


>
> Thx,
> R.
>
>
>
>