Re: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18

mohamed.boucadair@orange.com Mon, 25 July 2022 09:05 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 91311C13C511; Mon, 25 Jul 2022 02:05:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-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, UNPARSEABLE_RELAY=0.001, 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=orange.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 EZXcvL8XV9RX; Mon, 25 Jul 2022 02:04:56 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 A948BC13C502; Mon, 25 Jul 2022 02:04:55 -0700 (PDT)
Received: from opfednr06.francetelecom.fr (unknown [xx.xx.xx.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by opfednr21.francetelecom.fr (ESMTP service) with ESMTPS id 4LrvJ61LSFz5w7R; Mon, 25 Jul 2022 11:04:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1658739894; bh=9rec45qkavFw6V8GDVmzQewTeJmOdSgjtlQqBuBXW1s=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=C436VPQ4gi3720FsworjfgjAr7ddoWH7rLaP8CYiBxOYCLY5XlcI2rS9s2oPgNOTX zjNHmilRc9EhKArBW18RlR4kLKy/QZp/yzPedilxTXz4mm5xXVh2Bi6jHNVr74Kayx 5BHX0XM9A3CA4IMgrAjC8/iRhfnfay1yzncGzOF/87j9KSW6gKJkqS4ThBFFcKShje I2TU+CXxeP0R6HSEpTY7wt5ouATzkq7TmLdRNNvftfbHLd8YxD8rgNaYj/b1y31yYc ilyorQqym+R6elHfiFehc7OPp6pDUavrh90CYnr0y0Z6o6Nqnty3e6hMkf3tugrlx7 jffXQfKWDMc4g==
From: mohamed.boucadair@orange.com
To: Ketan Talaulikar <ketant.ietf@gmail.com>
CC: "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "draft-ietf-idr-segment-routing-te-policy.all@ietf.org" <draft-ietf-idr-segment-routing-te-policy.all@ietf.org>, "idr@ietf. org" <idr@ietf.org>
Thread-Topic: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18
Thread-Index: AQHYn/iuBzEM7YOaDE6zGiFS0e/HqK2OyJHw
Content-Class:
Date: Mon, 25 Jul 2022 09:04:53 +0000
Message-ID: <12997_1658739894_62DE5CB6_12997_461_1_258177d802ff4897bb4f268c68cefa05@orange.com>
References: <165728555482.56317.5289542263604707936@ietfa.amsl.com> <CAH6gdPwh9AA6_UoJ-ytZc5utUV-ihWTZn0DCz43FCpS+S_hKdQ@mail.gmail.com> <12180_1658305579_62D7BC2B_12180_87_1_d6c4f316c9754cedb9ef7ce214896c18@orange.com> <CAH6gdPztbF55f2v_qoOw2FXBRHQYR62XANsk8gc3v3YT+ig9Ew@mail.gmail.com> <30209_1658699672_62DDBF98_30209_469_1_31d85fc095824debb54b885497943a5f@orange.com> <CAH6gdPx4VGcHcqpcUkdzoQ1NG6BFtq+dX_ajKDJp6Kp1GTNjug@mail.gmail.com>
In-Reply-To: <CAH6gdPx4VGcHcqpcUkdzoQ1NG6BFtq+dX_ajKDJp6Kp1GTNjug@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2022-07-25T08:55:30Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ActionId=f0b1677a-de15-495c-b7f9-7467645c0700; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0
x-originating-ip: [10.115.26.52]
Content-Type: multipart/alternative; boundary="_000_258177d802ff4897bb4f268c68cefa05orangecom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/40rZUiE8AMvzQdDjNbOEpqYDfko>
Subject: Re: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2022 09:05:00 -0000

Re-,

Please see inline.

Cheers,
Med

De : rtg-dir <rtg-dir-bounces@ietf.org> De la part de Ketan Talaulikar
Envoyé : lundi 25 juillet 2022 03:32
À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>
Cc : rtg-dir@ietf.org; draft-ietf-idr-segment-routing-te-policy.all@ietf.org; idr@ietf. org <idr@ietf.org>
Objet : Re: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18

Hi Med,

Thanks for your quick response and once again for your very detailed and helpful review.

Please check inline below for clarifications.


On Mon, Jul 25, 2022 at 3:24 AM <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>> wrote:
Hi Ketan,

Thanks for taking care for most of the comments. This version looks much more better. There are still some few pending points:


•       The description of some fields should be elaborated (e.g., “Preference: a 4-octet value.”, “Local IPv4 Address: a 4-octet IPv4 address.”, ...).
KT> If we take the example of Preference in sec 2.4.1. At the start of that section, there is a reference to sec 2.7 of the SR Policy arch (now RFC9256) which describes the field. In some of the recent reviews, I've got the comment to use references rather than repeating them unless necessary. In this case, there is no processing or validation of the preference value to be done by BGP and hence only the reference. For the segment types, the description of the fields is again covered by RFC9256 and we are just using the reference to them via the matching segment types.
[Med] I don’t see any references for the examples listed in the comments.


  *   I still don’t get how a meaning is associated with some field, but then ask the implem to ignore that meaning:


“Traffic Class (TC), S, and TTL (Total of
      12 bits) are RESERVED and MUST be set to zero and MUST be ignored.”

KT> This is the MPLS label encoding format.
[Med] :-)

It is used for both BSID TLV (from where you have quoted the above text) and the segment types where the values can actually be set. For BSID, these fields are "reserved" in this document and future documents can update this behavior.
[Med] Still don’t understand the rationale, but I’m not insisting on making any change.


  *   The IANA section should include a note asking IANA to update the I-ID (currently used for the early allocation, [draft-previdi-idr-segment-routing-te-policy]) with this document. Having clear instructions recorded in the document will save some cycles with IANA.

KT> In the IANA section, we use the "This document" convention as a reference pointer against each code point. My understanding (and this is what I've seen happen) is that as part of the IANA actions (e.g., after IESG evaluation is done or during the RFC editor process), the reference is updated as RFC-to-be... and then finally to RFCXXXX.

Med : IANA does not know if a new ref will be added or will replace the existing one. This is better handled by providing clear guidance.

So I believe it is clear enough for IANA as also RFC Editor, but I will be happy to update based on any guidance from the IANA team.

KT> However, if your point was that we need to trigger an IANA action to update the registries to reflect the WG draft name instead of the individual one against which the very initial allocations were made, then I agree. I can check on that. However, I don't believe that requires any change in the draft.

Thanks,
Ketan


  *

Cheers,
Med

De : rtg-dir <rtg-dir-bounces@ietf.org<mailto:rtg-dir-bounces@ietf.org>> De la part de Ketan Talaulikar
Envoyé : dimanche 24 juillet 2022 02:26
À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
Cc : rtg-dir@ietf.org<mailto:rtg-dir@ietf.org>; draft-ietf-idr-segment-routing-te-policy.all@ietf.org<mailto:draft-ietf-idr-segment-routing-te-policy.all@ietf.org>; idr@ietf. org <idr@ietf.org<mailto:idr@ietf.org>>
Objet : Re: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18

Hi Med,

The draft update has just been posted: https://datatracker.ietf.org/doc/html/draft-ietf-idr-segment-routing-te-policy-19

Please let us know if it addresses your comments and if you have any further feedback.

Thanks,
Ketan


On Wed, Jul 20, 2022 at 1:56 PM <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>> wrote:
Hi Ketan,

Thanks for the follow-up.

Will monitor when the new version is available and react if I have any further comments.

Cheers,
Med

De : rtg-dir <rtg-dir-bounces@ietf.org<mailto:rtg-dir-bounces@ietf.org>> De la part de Ketan Talaulikar
Envoyé : mardi 19 juillet 2022 19:55
À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
Cc : rtg-dir@ietf.org<mailto:rtg-dir@ietf.org>; draft-ietf-idr-segment-routing-te-policy.all@ietf.org<mailto:draft-ietf-idr-segment-routing-te-policy.all@ietf.org>; idr@ietf. org <idr@ietf.org<mailto:idr@ietf.org>>
Objet : Re: [RTG-DIR] Rtgdir early review of draft-ietf-idr-segment-routing-te-policy-18

Hi Mohamed,

Thanks for your very detailed review and helpful suggestions. Please check inline below for responses.

We will post the update once the submission tool reopens.


On Fri, Jul 8, 2022 at 6:35 PM Mohamed Boucadair via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>> wrote:
Reviewer: Mohamed Boucadair
Review result: Has Issues

Document: draft-ietf-idr-segment-routing-te-policy-18
Reviewer: Mohamed Boucadair
Review Date: 08/07/2022
IETF LC End Date: N/A
Intended Status: Standards Track

I appreciate the effort that was spent to progress this draft since more than 6
years!

Before reviewing the document, I started first by re-reading RFC8024/RFC9012
and reading draft-ietf-spring-segment-routing-policy for establishing the
context. Overall, the approach documented in
draft-ietf-idr-segment-routing-te-policy is sound and straightforward.

I didn’t find major concerns from a routing standpoint other than the need to
motivate some few claims (see the detailed review file about RRs, for example)
and the lack of considerations related to the handling of the various sub-TLVs
by intermediate routers (if any).

However, there are a number of generic issues that I would recommend to
consider (see the detailed review for the full list). All these are easy-to-fix
issues.

# General Comments (in no specific order)

## Consistency

### Single or multiple paths

There is an apparent inconsistency in the document about the handling of
multiple paths. For example, Section 1 says :"Selection of the best candidate
path for an SR Policy" while the same section says also “this will result in
one or more candidate paths being installed into ..”.

KT> The first is about the selection of the best candidate path for an SR Policy by the SRPM - this is what gets installed in the forwarding. The second is about the installation of the received candidate paths into the BGP table. There is no inconsistency.


If multipath is supported, then please add an explicit statement and make sure
the overall text is consistent.

KT> Only a single CP is selected for a given SR Policy. This is per the draft-ietf-spring-segment-routing-policy and this document does not change that.


### Value 0 is marked as reserved for some registries, while that value is
associated with a meaning for other registries.

Is there any reason why a consistent approach isn’t followed here? what is the
issues if value 0 is open for assignment?

KT> It is normal routing protocol practice to not assign the TLV 0 values. Can you indicate where the TLV code point 0 is being assigned?


## Modifications to the format of the Color Extended Community

The text says that you are modifying the format the Color Extended Community,
while this is not true. What this draft does is just associating a meaning with
some bits. I would update the text accordingly.

KT> We are changing the format of only the Flags field and not of the entire EC. Flags are normally independent bits and here we are combining two bits to convey 4 values. Clarified this in the Introduction section.


## Normative language

The use of the normative language should be double-checked. The most apparent
concern is related the statement related to the handling of the reserved bits
(SHOULD) while this RFC9012 uses MUST (which is correct, IMO).

KT> Ack. I will fix it and change it to MUST.


I tagged many others in the full review, fwiw.

## Lack of description

Many fields are provided without acceptable description (e.g., “Local IPv4
Address: a 4-octet IPv4 address.” or “Preference: a 4-octet value” !!).

KT> These fields are in the context of a sub-TLV. There is text in the description of that sub-TLV that provides a reference (e.g., to the draft-ietf-spring-segment-routing-policy section or a segment type, etc.) There is no need to repeat a detailed description for each field IMO.


Also, some fields are provided with a structure but the text says also that
these are reserved (e.g., 2.4.2 says “TC, S and TTL (Total of 12 bits) are
RESERVED”).

KT> This is the MPLS label field. I am not sure that I follow your concern here.


I wonder whether you can add a statement to say that multiple flags can be set
simultaneously unless this is precluded by future flag assignments.

KT> Not sure that is necessary. In most cases, the bits/flags are independent. Where they are not, there is generally text explaining their relationship or dependency.


Last, the document does not include the expected behavior of intermediate
routers (e.g., whether it is allowed or not to alter some fields). I guess,
they must not touch the content of the attributes but it is better if this is
explicitly mentioned in the text.

KT> Yes, the contents must not be altered. Will clarify in sec 4.2.4.


## Reserved vs. Unassigned

Almost all the “reserved” bits in the spec can be assigned in the future. I
would use “Unassigned” as per RFC8126.

KT> Ack. Will change in a few places where this has been missed.


FWIW, 8126 says the following:

      Unassigned:  Not currently assigned, and available for assignment
            via documented procedures.

      Reserved:  Not assigned and not available for assignment.
            Reserved values are held for special uses, such as to extend
            the namespace when it becomes exhausted.

## Deprecated values

The document includes notes about some “deprecated” codepoints. I’m not sure
there is a value in having such notes in the final RFC.

KT> Yes, there is a need. One is to avoid them being used for any other sub-TLV in the future. Two is that there are early implementations out there that have some degree of support - even if they are just doing some parsing/showing.


## IANA considerations

### The document uses a mix of TBD statements (e.g., Section 2.4.3) and
hard-coded values (early assignments). Not sure what’s was the rationale
especially that code 20 was assigned but not listed as such.

KT> Fixed.


### The IANA actions should be more explicit and ask IANA to update existing
entries. For example, the current registry for code 73 points to
[draft-previdi-idr-segment-routing-te-policy]. Need to update that entry and
similar ones.

KT> Have fixed the text. IANA will update "This document" to the RFC number before publication. There is no need to keep changing the draft name through its lifecycle.


### The document lists (under IANA section) some values that are deprecated.
The document should be clear whether these codes are available for future
assignment or not.

KT> Deprecated means they are not available for assignment by IANA unless the IETF changes that via an RFC.


### Many sub-TLVs have flag bits but not all of them have a registry to track
future flag bit assignments.

KT> The registries would be added by future documents that start using those flags.


## Manageability considerations

No such considerations are included in the document.

KT> Will add.


# Detailed review

FWIW, you can find my full review at:

* pdf:
https://github.com/boucadair/IETF-Drafts-Reviews/raw/master/draft-ietf-idr-segment-routing-te-policy-18-rev%20Med.pdf
* doc:
https://github.com/boucadair/IETF-Drafts-Reviews/raw/master/draft-ietf-idr-segment-routing-te-policy-18-rev%20Med.doc

KT> This was helpful and have incorporated most of those suggestions.

Thanks,
Ketan


_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.