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

Ketan Talaulikar <ketant.ietf@gmail.com> Tue, 08 March 2022 06:46 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 C372A3A08F2; Mon, 7 Mar 2022 22:46:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 R61lmIYHbv_E; Mon, 7 Mar 2022 22:46:18 -0800 (PST)
Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (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 8FAEE3A08A0; Mon, 7 Mar 2022 22:46:18 -0800 (PST)
Received: by mail-vs1-xe31.google.com with SMTP id d64so13844935vsd.12; Mon, 07 Mar 2022 22:46:18 -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=i/CMPYEBWh3lU/sOHcv9e5AvinTHi/gkgZ/MNSAhswE=; b=Md06KfVvAeNEir5dfWy6djF6+BGSHV7h+jLLFm4oUFTvT+edvDkStIc1zJcktbig8A 3t0llgSY4JjO0pxSXQUOJQ4HRoykNKdT97f2XPoud5VCQ0MoJ00sRshxGalSThFOQ3Uh C+9YlNrJybzf5xhqLuG1yTK0b5jEsv93QhDmHGXPcBx+eHgrGOrOrESoxWsZUdFOdAuU lRPgQUd0L8sIIvnVgV3R9bkwnwlUqcuIQ9qcJqXHCVAGNagG9GDW3FQCPtu+Mx3VhTvU WT4vhD0YYWKfWR/7AxF0bhN+jntY3iSlqdjC6IbdMtutb0qoHKDIgqtE4ccsIN1FgNpp Zr6A==
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=i/CMPYEBWh3lU/sOHcv9e5AvinTHi/gkgZ/MNSAhswE=; b=Muid7JueyRWbxLzBW0BiRse1dwCFhjfcV0eD96reT/v4OXjtGhZ73Epf699FAkkTv2 g6f8oJifq08v6c+vZuahS/KM274Jv1lEOxNSNnrapFuHKw7+Nkaj3dx/KZodx6PbFuvI 4sZWUutPiU6kLbruhNNrlxwnyKJ7muFuflpgM2zzzStaRabgF7/oGfimph4XxhTDOM/2 uVkONIhpNMm7zZRAu4+D6loarBAknOtzENeYJAe2w/PCsVSjiLr3dcUqxByMDZCBZtd7 QTps+Ci34ZsQOdNWYFe1rbWmZGzUKb8Nu3QhMqiilWNZrjAHdE/G3VCDSL9itS39NiWh S6ow==
X-Gm-Message-State: AOAM532cKDDsmARkZpxTmGmcPvvId/InuuIug/Og7YfFW7tijWS/QB+k 1jUo9F00Z5TxxRMxiOTxXWpeLSpFInEYhEDDjiQ=
X-Google-Smtp-Source: ABdhPJxu9JQsQqfSS6DVf7a84OYIpRBNaRm+L839omz0prcu+5VtlannBZ7h19AO1zP91EHNQRhBMX9fi4vcJWyiLn8=
X-Received: by 2002:a05:6102:284a:b0:31e:c455:5dee with SMTP id az10-20020a056102284a00b0031ec4555deemr5256985vsb.27.1646721977184; Mon, 07 Mar 2022 22:46:17 -0800 (PST)
MIME-Version: 1.0
References: <939A4791-5A4A-4E7C-AB32-A09ABD3421B5@juniper.net> <CAH6gdPxRYJcvdCG9-BxuMvcfVQd=1xS9RvapdLxkJekty4eV8w@mail.gmail.com> <CBB34F23-2BC6-487B-8B1E-F1FD999F2988@juniper.net> <CAH6gdPyxUb8=q0aduqpEq93nYPdHQZKqKzwZKzkbRWz6GL2XtQ@mail.gmail.com> <CAH6gdPwkmGRtUR3no2QLq+VAentw9m9JEsdXNTm-mDnq3yZ=HA@mail.gmail.com> <CAH6gdPwVOrbeB9_7vDc4SezciVa4R2pN3diQLNV1DfBGR8P5Bg@mail.gmail.com> <9EBEAD45-664D-4426-8450-5FF5504122CF@pfrc.org>
In-Reply-To: <9EBEAD45-664D-4426-8450-5FF5504122CF@pfrc.org>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Tue, 08 Mar 2022 12:16:05 +0530
Message-ID: <CAH6gdPzx1N01mjF1tJK7aKcMyD9rbeu00f_xcUwANAMnK9ueSg@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: John Scudder <jgs@juniper.net>, Sue Hares <shares@ndzh.com>, "idr@ietf.org" <idr@ietf.org>, "draft-ietf-idr-segment-routing-te-policy@ietf.org" <draft-ietf-idr-segment-routing-te-policy@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007e765005d9af56c2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/rW6rYmjLhcMe3J4VTF5SeaenR-g>
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: Tue, 08 Mar 2022 06:46:37 -0000

Hi Jeff,

I tried to do a search for specs that use/reference the Color Extended
community and if they were assuming or introducing any semantics that
indicated the "singleton" usage that you bring up in your email. I was not
able to find any. It is possible that I've missed something and if so,
please point me to the concerned spec.

There is no limitation for the use of multiple Color Extended communities
of different colors with a route (irrespective of the reserved/flags field
values). This is possible for the steering use-cases over SR Policy and I
am aware of this support by implementations.

We can update this spec with clarification on this aspect, if necessary.

Thanks,
Ketan


On Tue, Mar 8, 2022 at 3:35 AM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Ketan,
>
> While I was reviewing the update you note below, I had a question
> regarding color extended community handling.
>
> One of the changes the color extended community had between RFC 5512 and
> RFC 9012 was moving the previously Reserved field to a flags field.
>
> In the prior context as a Reserved field, I believe many implementations
> treated the Color Extended Community as many BESS style Extended
> Communities are incidentally treated: singletons.  I.e. there should have
> only been a single instance of such an Extended Community on a route.
>
> A current fault in BESS specifications is the lack of clarity for what to
> do for such singleton entries.  We're desperately in need of a draft
> discussing the matter. :-)
>
> While I don't think this matter is something of your creation, since the
> SR-TE-Policy document is the first populating the Flags fields, it's
> perhaps important to discuss what should happen here.  Is it reasonable to
> think that the current desired behavior with the new flags is that it's a
> singleton entry and there should only be one Extended Community of type
> Color on a route, no matter their CO flags?  And perhaps similarly even if
> CO flags are present, there shouldn't be additional Extended Communities
> with those flags 00?
>
> It might be useful to discuss this in the draft.
>
> A complicating matter is whether there's ever likely to be Extended
> Community Colors that have other bits outside of the CO that you're
> defining wherein you'll want more than one Extended Community of that type.
>
> -- Jeff
>
>
> On Mar 7, 2022, at 7:38 AM, Ketan Talaulikar <ketant.ietf@gmail.com>
> wrote:
>
> A further update was posted earlier today with changes in the Color
> Extended Community related sections to align with the latest updates to
> draft-ietf-spring-segment-routing-policy
>
>
> https://datatracker.ietf.org/doc/html/draft-ietf-idr-segment-routing-te-policy-16
>
> Thanks,
> Ketan
>
>
> On Sat, Mar 5, 2022 at 4:21 PM Ketan Talaulikar <ketant.ietf@gmail.com>
> wrote:
>
>> Hi John/Sue/WG,
>>
>> We have just posted an update with the changes along the lines suggested
>> by John.
>>
>>
>> https://datatracker.ietf.org/doc/html/draft-ietf-idr-segment-routing-te-policy-15
>>
>> I understand that John may have further inputs that we can incorporate in
>> the next update. Wanted to post this version in view of the upcoming
>> cut-off so that the WG can provide their feedback.
>>
>> Thanks,
>> Ketan
>>
>>
>> On Thu, Feb 17, 2022 at 8:22 PM Ketan Talaulikar <ketant.ietf@gmail.com>
>> wrote:
>>
>>> Hi John,
>>>
>>> I'll work on these changes along with my co-authors for the IDR document
>>> first and share it with you/WG for feedback.
>>>
>>> Thanks,
>>> Ketan
>>>
>>>
>>> On Thu, Feb 17, 2022 at 12:51 AM John Scudder <jgs@juniper.net> wrote:
>>>
>>>> Hi Ketan,
>>>>
>>>> > On Feb 16, 2022, at 6:32 AM, Ketan Talaulikar <ketant.ietf@gmail.com>
>>>> wrote:
>>>> >
>>>> > 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.
>>>>
>>>> Thanks.
>>>>
>>>> > 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?
>>>>
>>>> I would, instead, have imagined it moving in the other direction, both
>>>> because it seems as though it makes more sense in the IDR doc, and because
>>>> the SPRING doc is even further along (past WGLC, past IETF LC, scheduled
>>>> for tomorrow’s IESG telechat). I don’t want to cross the streams of
>>>> discussion more than necessary, but the reason I see it being more natural
>>>> in the IDR than the SPRING doc is because "Given that
>>>> [draft-ietf-spring-segment-routing-policy] is an architecture document, it
>>>> describes the architecture and not really the protocol mechanisms. This is
>>>> in line with other SPRING documents. The normative language for the BGP
>>>> mechanism is in the IDR document.”
>>>>
>>>> I acknowledge it’s not a cut-and-dried question and there are other
>>>> ways to resolve it that while less satisfying in terms of making the
>>>> documents self-contained, also are less invasive. The minimal one, I guess,
>>>> is to provide a table of names and values in the IDR document, something
>>>> along the lines of
>>>>
>>>> Type Code       Symbolic Name   Description
>>>> —————   ——————— —————
>>>> 0                       Default handling        Steering falls back to
>>>> default handling if no policy with color
>>>> 1                       Prefer color            Steering favors
>>>> following policies with the given color, but respects BGP next hop
>>>> 2                       Override next hop       Steering favors
>>>> following policies with the given color, overriding BGP next hop if
>>>> necessary
>>>> 3                       Reserved                        Reserved for
>>>> future use
>>>>
>>>> You may not agree with the symbolic names and descriptions I’ve just
>>>> written out, that’s fine, it’s just a first attempt. The table would be
>>>> accompanied by an expansion of the descriptive prose in the section, to
>>>> give the reader at least a general idea of what’s going on over in the
>>>> SPRING doc.
>>>>
>>>> Also, the more I think about it, the more I think that creating an IANA
>>>> registry for these code points is a good idea. It seems fussy for a single
>>>> unallocated code point, but might prevent something unfortunate like two
>>>> future drafts both trying to allocate the reserved code point for
>>>> themselves.
>>>>
>>>> (I assume it’s way too late to move the field to the other end of the
>>>> Reserved bits? If it were at the other end it would be possible to grow it
>>>> naturally in the future if required, by allocating additional bits. As it
>>>> is now, if you grew it by one bit, code point 1 would become code point 2,
>>>> 2 would become 4, and so on. Or if you prefer, 0b01 would become 0b010,
>>>> 0b10 would become 0b010, and so on. Oh well, too bad so sad.)
>>>>
>>>> —John
>>>
>>> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>
>
>