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

Robert Raszuk <robert@raszuk.net> Thu, 21 March 2024 17:26 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 05D16C14F6BD for <lsr@ietfa.amsl.com>; Thu, 21 Mar 2024 10:26:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j0g8G5rtG_gr for <lsr@ietfa.amsl.com>; Thu, 21 Mar 2024 10:26:53 -0700 (PDT)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11B45C14F69F for <lsr@ietf.org>; Thu, 21 Mar 2024 10:26:52 -0700 (PDT)
Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-513a08f2263so1367895e87.3 for <lsr@ietf.org>; Thu, 21 Mar 2024 10:26:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; t=1711042011; x=1711646811; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SUshiUVI0/n1UZEcvn4iLYwmj4DzgL7T3ObahbUurRw=; b=Sy/FueCSott3gAlpAqiJl9htUrwyUaW5IE2dlaNl6Ld/VIyQ0+cm6j5hto0HKbgGT5 NtzljCzGvn8jexDycUJXT6FMlOoc7avacYeNZ4eqVmdM7BSHSzhmBG9O0s9EhEXI0abQ CBF5L7Ej0CXgLc7DiedoSk/krTHRMRr4TaEHUkEU9wcHdJPSlBVqTtzC6Ie/VQltVOmB BHIThs2dOPm+qzU72qVSpaVhkBd771P9gFfYMwFj6SxIG+22DR0t+89nfg6MjYXgWpqx 8bgeYhYhhEst44UchgqriAtZsgXg2NqA3AbME17iA5LL8w44QOK1L07IX/NLbpzEJP5B Da4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711042011; x=1711646811; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SUshiUVI0/n1UZEcvn4iLYwmj4DzgL7T3ObahbUurRw=; b=LzrR9120j32T2u2/iLd0cv4usuH+nTU6lCR2qhcNAqor645oC1uMrJlmUJL2m79VIJ 7rKnmvDPOOFYhClQuUQnIpOxmf//7ZOlbhfdrBxQebZVgkgHE7GR6apuHn7mY5eL9Pzh mBjYJPhLMAcc0M/QAd7Jm+AhnDA43kbkX9nB99LNQD6G77GCs+nbmZcyEM8iomCM8Bl3 7+vBYUUWd3/7PhaCO9PyXOPKb3eLY35rJ/gLIPVHYVB85e6heBHF6PCZoAMEmtq54o5a 5C5DDR97twmUU3GIRh98ketzQ2+ub+KPFNL1NfCC7IqE7qw+Eq214P1OFQ5dlg3RxWuo xXFw==
X-Gm-Message-State: AOJu0Yz6a9BWxNRHWg3ue2zS24iNuEISIidcUGTowT5RrpZ9I/6BbT9h a6E/YabSrehonJ5jWlwWDsNKAC63Hokxands5B8rXcuv4iAorlpUzPISqf3tivKRYjrxTcS2RYq kCycs5Npfg0ymLXBO06KCuJdO1WsUP9+uOTVx/jCGKDtgDW4W
X-Google-Smtp-Source: AGHT+IFlqlwa3BqXW1B7jWoRixj972IqVx+gHSIFpWzCIYa5fo+yWIn2xalfHCeLLXubKBpGLjH8YU4ThSCgzfmEhqM=
X-Received: by 2002:a05:6512:60c:b0:515:8527:91ff with SMTP id b12-20020a056512060c00b00515852791ffmr6477952lfe.65.1711042011057; Thu, 21 Mar 2024 10:26:51 -0700 (PDT)
MIME-Version: 1.0
References: <171074954656.55060.8460468585109925265@ietfa.amsl.com> <CAOj+MMFsx1WLeRFLNozmit8Ptc-NHmiKWw6YHDLtN=YEvY=JAw@mail.gmail.com> <b464bb47-d561-40dd-8bc9-d9b68a0b8389@cisco.com>
In-Reply-To: <b464bb47-d561-40dd-8bc9-d9b68a0b8389@cisco.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 21 Mar 2024 18:26:40 +0100
Message-ID: <CAOj+MMEk80UHRUrUstu+Zf3nPVSyCM=YGPUYCUz2aKGJhjqyOA@mail.gmail.com>
To: Peter Psenak <ppsenak@cisco.com>
Cc: lsr@ietf.org
Content-Type: multipart/alternative; boundary="00000000000043f25706142f031c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/g4mLvh32jWhaIpakX4h1A0pmdYQ>
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:26:57 -0000

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 ?

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

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 ?

Would it be better to just declare link as crap bidirectionally ? :)

Thx,
R.