[Pce] Shepherd Review of draft-ietf-pce-segment-routing-policy-cp-14

Dhruv Dhody <dd@dhruvdhody.com> Sat, 09 March 2024 13:23 UTC

Return-Path: <dd@dhruvdhody.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43C86C14F713 for <pce@ietfa.amsl.com>; Sat, 9 Mar 2024 05:23:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=dhruvdhody-com.20230601.gappssmtp.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 1v1VB5E9roO0 for <pce@ietfa.amsl.com>; Sat, 9 Mar 2024 05:23:49 -0800 (PST)
Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 D27BEC14F71D for <pce@ietf.org>; Sat, 9 Mar 2024 05:23:49 -0800 (PST)
Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6e0f43074edso1987706a34.1 for <pce@ietf.org>; Sat, 09 Mar 2024 05:23:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvdhody-com.20230601.gappssmtp.com; s=20230601; t=1709990629; x=1710595429; darn=ietf.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oeS9OrvnMg0FhOQ7O5Le95cc75uuSN5fDt2WWHoH7a8=; b=ZQP9X5GDHm+MqlZEipdMZy0bV7H2FmnDBgq1gdUA6AhoC1hXx+5opjTtur85RbGer9 /XLWOEXafyvxHWAuCfoJLXCmoEVh7KDK9KeWnD+cm4uhz9HJoIQmE7RvHLjHraenIupI ErqNJxpXbEQ+myyT7OaULcVesdZ+LJwRbvYBpVOmaJNSY1QJgHtgiO1mhNnr+Z7U1HyH Qc7pX6DT9FOgC4kiBoO/CY0FKkOIQnl0fp9C0u77sjOVQ3cgrf6GAIP5qzOTk7iYKcep tilIoKf9e4WQqpBeFCp9nRRwBqGD4fEDO9ANPQCppwHmDQw/wM9ialBqwrZnnfX2r1Xs yQ1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709990629; x=1710595429; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oeS9OrvnMg0FhOQ7O5Le95cc75uuSN5fDt2WWHoH7a8=; b=ZneoKHHJ795vImjED6v2RN7mRn7bOLWsG1470Zjt+GmiCwO8sQ3mnc7cvfgHk+UVt7 /2Kzxx142PtVidDlAoTxKHT131cAFcCf7u9CXOoVGtAdmK0xF0DMS3JIWnPYboSKDIY0 sovCSYdNA5Lysvos6lB7nmQv4/UQgH4vBj4AujWS9+HtHK2ingHKsg3Xtzi3mee3yB+d /Cu/KTlX76CP2grS5FsE0RTNdaqVk/aFKRQwjHuerjCPv1nZb1FYBCqiD0uHPhRHMeyB e1opt4DXRyJ6EegqVdDMShz0f13kr1S82NgB0yr0SMdEOGXDabTgDO67Z2mUYlU7Baea t/Aw==
X-Gm-Message-State: AOJu0YyyHaBB0YV4BfC5NQ88CUf+lGejhbm9QxyK43zJ3d+44B5g621O BAjx1AyHVj9jLizvigia5shxHPJaOla5otXO5wMQ9kUtuybgPtMqVBNyoq9Oci7Syesk0TKrNL9 Lz5DFqCblAVgQNOYGq9h+mdYhG35wA1deSVIGqMKCWDa+4l1I12M=
X-Google-Smtp-Source: AGHT+IHruxHWh8jcqpJTkFoa8Cv7ScWQMqJBercEAfg8gPunfKdOm0+/DgUc91hD5k63TC6aeKWoJUIlBUK2RZOkOm8=
X-Received: by 2002:a05:6820:813:b0:5a1:dd31:a38d with SMTP id bg19-20020a056820081300b005a1dd31a38dmr1293389oob.6.1709990628328; Sat, 09 Mar 2024 05:23:48 -0800 (PST)
MIME-Version: 1.0
From: Dhruv Dhody <dd@dhruvdhody.com>
Date: Sat, 09 Mar 2024 18:53:11 +0530
Message-ID: <CAP7zK5YzdeEPYyWCZ7Do=sANJzrsKrembpV0o5pFgHc+JKtYsA@mail.gmail.com>
To: draft-ietf-pce-segment-routing-policy-cp@ietf.org
Cc: pce@ietf.org, pce-chairs <pce-chairs@ietf.org>
Content-Type: multipart/mixed; boundary="000000000000f92fad06133a3717"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/UrG_FZzoZ3OMbX1HqcZkROFGu2c>
Subject: [Pce] Shepherd Review of draft-ietf-pce-segment-routing-policy-cp-14
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Mar 2024 13:23:54 -0000

Hi Authors,

I have finished the shepherd review of
draft-ietf-pce-segment-routing-policy-cp-14. Please handle these comments
before we ship this I-D to IESG.

 ## Major
- Section 5.6, you need to add update: RFC 8231 in the draft metadata. This
should also be captured in the abstract. The prefered way is to clearly
identify the text in RFC8231 that is changing with "OLD:" and "NEW:"
format!
- Section 8, Security considerations need to also cover the non-SRPA TLVs
which are not considered in the current text.

## Query
- Section 4.1,
````
   If the PCC receives a
   PCInit message with the Association Source set not to the headend IP
   but to some globally unique IP address that the headend owns, then
   the PCC SHOULD accept the PCInit message and create the SRPA with the
   Association Source that was sent in the PCInit message.
````
   What is the purpose of this text?  PCC should use the source as set by
the PCE - isn't it given? Am I missing something? Boris also pointed this
out in his review.


## Minor
- Abstract is not very useful for a non-expert. Maybe change something like
-
````
OLD:
   A Segment Routing (SR) Policy is a non-empty set of SR Candidate
   Paths, which share the same <headend, color, endpoint> tuple.  SR
   Policy is modeled in PCEP as an Association of one or more SR
   Candidate Paths.  PCEP extensions are defined to signal additional
   attributes of an SR Policy.  The mechanism is applicable to all SR
   forwarding planes (MPLS, SRv6, etc.).
NEW:
   Segment Routing (SR) allows a node to steer a packet flow along any
   path. SR Policy is an ordered list of segments (i.e.,
   instructions) that represent a source-routed policy.  Packet flows
   are steered into an SR Policy on a node where it is instantiated
   called a headend node. An SR Policy is made of one or more candidate
   paths.

   This document specifies Path Computation Element Communication
   Protocol (PCEP) extension to associate candidate paths of the SR
   Policy. It applies equally to the SR-MPLS and Segment Routing over
   IPv6 (SRv6) instantiations of segment routing.
END
````
- Similarly I find Introduction to be very light on details. Consider
adding text by looking through recently published RFCs for instance.
- Terminology:
```
OLD:
   SRPA:  SR Policy Association.  PCEP ASSOCATION that describes the SR
      Policy.  Depending on discussion context, it refers to a PCEP
      object or to a group of LSPs that belong to the Association.
NEW:
   SRPA:  SR Policy Association. A new association type 'SR Policy
   Association' is used to group candidate paths belonging to the SR
   Policy. Depending on discussion context, it can refer to the PCEP
   ASSOCIATION object of SR Policy type or to a group of LSPs that
   belong to the association.
END
```
- Section 4, please add this text at the start -
````
   As per [RFC8697], LSPs are associated with other LSPs with which they
   interact by adding them to a common association group.  As described
   in [RFC8697], the association group is uniquely identified by the
   combination of the following fields in the ASSOCIATION object:
   Association Type, Association ID, Association Source, and (if
   present) Global Association Source or Extended Association ID,
   referred to as Association Parameters.
````
- Section 4.2, since none of the TLV are multi-instance. Can we simplify
this text -
````
OLD:
   Unless specifically stated otherwise, the TLVs listed in the
   following sub-sections are assumed to be single instance.  Meaning,
   only one instance of the TLV SHOULD be present in the object and only
   the first instance of the TLV SHOULD be interpreted and subsequent
   instances SHOULD be ignored.
NEW:
   This document specifies four new TLVs to be carried in the SRPA object.
   Only one TLV instance of each type can be carried, and only the first
   occurrence is processed.  Any others MUST be ignored.
````
  Also applicable to section 5!
- Section 4.2.2, consider changing the SHOULD to MUST in this section. I
could not think of a justification for SHOULD here!
- Section 5.1,
    - please also state what happens if the TLVs are used without the
exchange of SRPOLICY-CAPABILITY TLV or the corresponding bit is unset.
Without it, what is the use of adding this TLV?
    - Consider updating the description such as "P-flag: If set to '1' by a
PCEP speaker, the P flag indicates that the PCEP speaker supports the
handling of COMPUTATION-PRIORITY TLV for the SR Policy."
    - please add "Unassigned bits MUST be set to '0' on transmission and
MUST be ignored on receipt."
- Section 5.2, I am unsure about the interaction between the unsetting of
P-flag (PCEP speaker does not support the TLV) and the default value (128
when the TLV is not present). Isn't it a bit weird?
- Section 5.3, should the use of this TLV be limited to SR-MPLS? Also can
ENLP value be converted into a registery maintained at
https://www.iana.org/assignments/segment-routing/segment-routing.xhtml
which can be referred by both PCE and BGP?
- Section 5.4, please add "The unassigned bits in the Flag octet MUST be
set to zero upon transmission and MUST be ignored upon receipt." Should
"Invalidation Reasons Flags" get a registry for ease of adding new flags in
future?  In general, can the text in this section be tightened a little
bit? Examples - be explicit on who is sending and who is receiving for
instance.  Also, consider adding a more detailed example to show the usage
of the flags better alongside PCEP message exchange.
- Section 5.5, please add normative reference to
draft-ietf-pce-binding-label-sid
- Section 6.5, are you refereing to the registry at
https://www.iana.org/assignments/segment-routing/segment-routing.xhtml, in
which case it is called "Segment Routing" and not "Segment Routing
Parameters". Also better to call the new registry being added as
subregistry.
- Section 10.2, please make RFC 8253 and RFC 7525 as normative references.

## Nits
- Expand PCEP and SR in the title
- Expand PCEP, SRv6 in the abstract
- Expand MBZ on first use. It is also better to state that the field is
ignored on receipt
- Section 4.2.2, add reference to RFC 9256 for Discriminator, as you have
done for other fields
- Section 4.2.4, add reference to RFC 9356 for Preference
- s/there needs to be a separate capability negotiation/a separate
capability negotiation is useful/
- Expand on first use OAM/PM/BFD
- Section 6, please update the text in subsections where the number of
assignments in tables do not match the introductory text.

I am also attaching the updated xml that could be a starting point for you
to work on -15 version.

Thanks!
Dhruv