Re: [Idr] Color-only bits in draft-ietf-idr-segment-routing-te-policy

Ketan Talaulikar <ketant.ietf@gmail.com> Wed, 16 February 2022 11:32 UTC

Return-Path: <ketant.ietf@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E8723A10D2; Wed, 16 Feb 2022 03:32:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 cUJPvtUpC8op; Wed, 16 Feb 2022 03:32:49 -0800 (PST)
Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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 D8A583A0C38; Wed, 16 Feb 2022 03:32:48 -0800 (PST)
Received: by mail-vs1-xe2f.google.com with SMTP id w4so2110319vsq.1; Wed, 16 Feb 2022 03:32:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cjNG8eHFYSIRVmXyDXHmMQ1+ZVuvTsoFL+59V3uE0Gw=; b=WbVEwpTqlr02Ws91hAqMzGHExV+UtlTNUlzM7tzk1DM9QcLSVppbr4VzrqHS9rdYzN ZRq7X+zC1U4LGmGwLp9V5XFiIuMChYzzVhSwaeXkW3jjTjGG5FxmJSdqpJkOAkrLg07x 1eaazEvF1xcfCORZ0l7+pWXtyV3ig7DMEplQFFyegx74SwcOu3SbaDVlgqB6hvwtbn5g bLOC9ldqTRm3yPFFqWuLIIJlRuRXBVQPA+zpYEZJ4pbhXXuQaON/WWBtxl5ecamOU73t aYvcLY0OUYH8vB2J3ztHSp3D2bfsWsz4IFqlS4FkQ7t2PUyHU7xG0QtK5/o47EZz93dY mMjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cjNG8eHFYSIRVmXyDXHmMQ1+ZVuvTsoFL+59V3uE0Gw=; b=VvMPesPLqhS9AefmvbJvfBL3z0j+tn2eOP22mMsu/TEP6j8p9kTh8meU86E7fgwT/g tp0WLsa5AyycoQi+sPBqSPG3QitdepVdRuEl1ul8TSDT0IwpboN9l78FLn6yL0/8QWWa 5uiJNGMfAzvcICMElhQNCOjBw6NHuyydXSc8ELNKd82Y77cR2BSmIsJQwf7GR4YHPgXE 65ZbXb1tScmJsi9+HVIPx72gcVuO8aS1oSrTcj2eE5KbS8hGk9hQaOKkEUUEheVvN4hB l8M+xlHpojZxZvjfNiEnA18aoToW7QSCgLxUchJJmkhsEA+NN3xV4Zw0P35lSWILFt6V /UUg==
X-Gm-Message-State: AOAM532xgjQnvZPYd99cQ4Ec59tMETXyuMlmrRtVE+gYMkEXSmfxU1M4 qcv18hTbD8FEQok16mk1Xa5u6M2C+0IePISTsLUhpWyz
X-Google-Smtp-Source: ABdhPJyZPy0uQpaQesVhJwgVuEKBvQRfYAMg/qPisY+aeyv+Ypi0Ok+UDr5oy87Wxs/C3zVmP7WnyTL8oeyt+S41pzo=
X-Received: by 2002:a67:d317:0:b0:31b:9b12:dd6b with SMTP id a23-20020a67d317000000b0031b9b12dd6bmr729761vsj.27.1645011166768; Wed, 16 Feb 2022 03:32:46 -0800 (PST)
MIME-Version: 1.0
References: <939A4791-5A4A-4E7C-AB32-A09ABD3421B5@juniper.net>
In-Reply-To: <939A4791-5A4A-4E7C-AB32-A09ABD3421B5@juniper.net>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Wed, 16 Feb 2022 17:02:35 +0530
Message-ID: <CAH6gdPxRYJcvdCG9-BxuMvcfVQd=1xS9RvapdLxkJekty4eV8w@mail.gmail.com>
To: John Scudder <jgs@juniper.net>
Cc: "draft-ietf-idr-segment-routing-te-policy@ietf.org" <draft-ietf-idr-segment-routing-te-policy@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003f340605d82102cd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/c_JobygaO8HgOwWGX8jjX3My2hI>
Subject: Re: [Idr] Color-only bits in draft-ietf-idr-segment-routing-te-policy
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Feb 2022 11:32:54 -0000

Hi John,

Thanks for your feedback and I agree that this is a somewhat odd situation.
I also agree with your proposed changes and can work on them as a co-author
of the IDR document.

Would you have any suggestions on how to address the remainder of your
concerns? Considering that this document is past WGLC in IDR, do you think
this content could move from the IDR to the SPRING document?

Thanks,
Ketan


On Wed, Feb 16, 2022 at 2:31 AM John Scudder <jgs@juniper.net> wrote:

> Hi All,
>
> I just noticed that draft-ietf-idr-segment-routing-te-policy allocates,
> but doesn’t define, the “‘Color-only’ bits” from the Color Extended
> Community Flags. I have a few comments about this —
>
> - It’s quite unusual to do the allocation out of one document, but place
> the definition somewhere else, and in a document from a different WG no
> less. I can’t off-hand think of another IDR document that has done this.
> Unless there is a compelling reason not to provide the definition in-line,
> I think it should be provided here instead of referencing a different
> document.
> - The so-called “bits” are no longer flags, they’re a two-bit integer. I
> mean, it’s not wrong to say they’re still “bits” but only in the technical
> sense that everything we deal with in computing is bits. The two bits
> aren’t orthogonal, so they aren’t flags, as the name "Color Extended
> Community Flags” implies. So, it would be more appropriate to call this the
> “Color-only field”.
> - The text in Section 3 qualifies the use of the bits with “[w]hen the
> Color Extended Community is used for the purpose of steering the traffic
> into an SR Policy”. But the IANA registry doesn’t have any way of saying
> that the bits are only registered for this particular purpose. So, I think
> that clause is at best meaningless, and at worst misleading.
> - The lack of useful information in the IANA registration is unhelpful.
> Ideally, if the “bits” had actually been defined as flags, each flag would
> have been registered individually with a symbolic name that provided some
> hint about the semantics. Unfortunately I can’t think of anything more
> helpful to do than a rename, from "Color-only bits” to "Color-only field”.
>
> Suggested updates, to partly address the above points:
>
> - In Section 3:
>
> OLD:
>    When the Color Extended Community is used for the purpose of steering
>    the traffic into an SR Policy, two bits from the Flags field (as
>    defined in [I-D.ietf-idr-tunnel-encaps]) are used as follows:
> NEW:
>    Two bits are taken from the Color Extended Community Flags field (as
>    defined in [RFC9012]) and repurposed as a “Color-Only” field, as
> follows:
>
> - In Section 3, provide definitions for values 0, 1, and 2 of the
> Color-Only field (what spring-segment-routing-policy refers to as 00, 01,
> and 10) and note that value 3 (binary 11) is reserved. Since you’re
> reserving a value, potentially create a new registry for this field, I
> guess. Descriptive symbolic names would be nice too. I appreciate that
> pragmatically, the detailed description provided in
> spring-segment-routing-policy probably has to remain there. Nonetheless at
> least a table of names and values should be in this document.
>
> - In the IANA section, rename "Color-only bits” to "Color-only field”
>
> Thanks,
>
> —John