Re: [Pce] WG Last Call for draft-ietf-pce-segment-routing-11

"Adrian Farrel" <adrian@olddog.co.uk> Sun, 01 July 2018 20:29 UTC

Return-Path: <adrian@olddog.co.uk>
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 CC84E130DC9 for <pce@ietfa.amsl.com>; Sun, 1 Jul 2018 13:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
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 ALwmC9Mf-1Tb for <pce@ietfa.amsl.com>; Sun, 1 Jul 2018 13:29:19 -0700 (PDT)
Received: from mta7.iomartmail.com (mta7.iomartmail.com [62.128.193.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F4173130DF2 for <pce@ietf.org>; Sun, 1 Jul 2018 13:29:18 -0700 (PDT)
Received: from vs2.iomartmail.com (vs2.iomartmail.com [10.12.10.123]) by mta7.iomartmail.com (8.14.4/8.14.4) with ESMTP id w61KTGOv026646; Sun, 1 Jul 2018 21:29:16 +0100
Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9129E22044; Sun, 1 Jul 2018 21:29:16 +0100 (BST)
Received: from asmtp3.iomartmail.com (unknown [10.12.10.224]) by vs2.iomartmail.com (Postfix) with ESMTPS id 727D122042; Sun, 1 Jul 2018 21:29:16 +0100 (BST)
Received: from 950129200 (86-120-69-50.rdsnet.ro [86.120.69.50] (may be forged)) (authenticated bits=0) by asmtp3.iomartmail.com (8.14.4/8.14.4) with ESMTP id w61KTEUr006446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jul 2018 21:29:15 +0100
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'Jonathan Hardwick' <Jonathan.Hardwick@metaswitch.com>
Cc: 'Julien Meuric' <julien.meuric@orange.com>, pce@ietf.org
References: <1315a404-7c2c-90ea-35d8-86a712200879@orange.com> <01d001d390af$4e6ba3b0$eb42eb10$@olddog.co.uk> <CY1PR0201MB1436B2421435235C9D7CB25B844E0@CY1PR0201MB1436.namprd02.prod.outlook.com>
In-Reply-To: <CY1PR0201MB1436B2421435235C9D7CB25B844E0@CY1PR0201MB1436.namprd02.prod.outlook.com>
Date: Sun, 01 Jul 2018 21:29:13 +0100
Message-ID: <005d01d4117a$2daaaf30$89000d90$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQFQ78boL6p8yRK+uRlGO6QlG/yHQgJxPredAfcb+fOlXdEPoA==
Content-Language: en-gb
X-Originating-IP: 86.120.69.50
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.0.0.1623-8.2.0.1013-23942.002
X-TM-AS-Result: No--28.477-10.0-31-10
X-imss-scan-details: No--28.477-10.0-31-10
X-TMASE-Version: IMSVA-9.0.0.1623-8.2.1013-23942.002
X-TMASE-Result: 10--28.476600-10.000000
X-TMASE-MatchedRID: b/1IsOqez6enykMun0J1wpmug812qIbzTBVlzu5XnvXadW4iYSMjUae7 nmhJA6kzox3eLPiNwxWxJZlbR4Xa9qNkxxcwzhmb7T+j7/gPsPP/5oMaKKF2DAzvg1/q1MH2w+x r8a5lUYMek0Y3dkrR/7+vUQI/PUlYhM0cXf4X52vzh2yKdnl7WM+Yc0J1J7B224JQ6azyPupWFh mPLWym/n5w5FSrjoDV3dRdwGufK3fEQS2ecfkpF4+emiGnyeDR2mIot99KmHcNht78/JfyBJro9 GKo760z2HNEcNc7AnHhtVKurETTv/YN7hiuZZBuZlRzaO1xpJ2gD0t7xcmlupj9R7obtcgyVlDa WSKa4SUXts3qPShkNUzBpn2zEsPAOlcsoX/uQ8hZluvuHEedhCwJzaIVMjGtkzE2kM4b6HqrTR/ RYidqS7B4XzKDFioVw17zVP0r/mTtybiuZoYvkS1Hx9UxMGjdaeMaKzvXUpmhUoducQu06Wkvez zOlMS99V060HBDvwxxN2UuD8ulAZ7oe7OF0U2Wk3ewifG2MNPAuWcdTSiQDf3y7vT+lH0ab9mYr gm1c2MDEAw0qQfgcVIhQT1lDjO/VOSZp87t6zDqsFlQXzLr6G79evoIpeI3fL8fHUCAmuulSPog XOOu0m4rMMzLCViONEZ7wJEqD1XxlOJuQNHlfT9B1SHosSXQvb7cLF+X1+ie9toQ6h6LEyYnRDS EEHlqk/UzcL+a7X1Qf+dBw8ZdAxNKnD37eC8/qbg9uWhLYLf4qCLIu0mtIDyC5ddG2JcgOlt91M Bw1ebi8zVgXoAltlwtzewu2M63VkVZa47CjvDdB/CxWTRRu/558CedkGIvIXptJJqT2TE=
X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/CQg8V0BH4vvz50J3uhbv-LlwoK8>
Subject: Re: [Pce] WG Last Call for draft-ietf-pce-segment-routing-11
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.26
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: Sun, 01 Jul 2018 20:29:23 -0000

Jon, thanks.

I scanned your mail and it all looks good.

Will try to have a read of the draft as well, but time is a bit full at the
moment.

A

> -----Original Message-----
> From: Jonathan Hardwick [mailto:Jonathan.Hardwick@metaswitch.com]
> Sent: 29 June 2018 18:24
> To: adrian@olddog.co.uk
> Cc: 'Julien Meuric'; pce@ietf.org
> Subject: RE: [Pce] WG Last Call for draft-ietf-pce-segment-routing-11
> 
> Hi Adrian
> 
> Sorry for the delay.  Thanks again for the carefully considered feedback.
I've
> trimmed out points below where I agreed and no comment was necessary.
> Please find answers and clarifications below.
> 
> ---
> 
> Section 3
> 
>    o  An ordered set of IP address(es) representing network nodes/links:
>       In this case, the PCC needs to convert the IP address(es) into the
>       corresponding MPLS labels by consulting its Traffic Engineering
>       Database (TED).
> 
> But I am surprised that this work is offloaded to the PCC since the PCE has
all the
> information to do this task. Why did the WG want to add this option?
> 
> And then...
> 
>    o  An ordered set of SID(s)
> 
> s/SID(s)/SIDs/
> 
> This list of SIDs would need to be converted to labels by the PCC by applying
the
> SRGB offsets. Again, why make the PCC do this?
> 
> And finally...
> 
>    o  An ordered set of both MPLS label(s) and IP address(es): In this
>       case, the PCC needs to convert the IP address(es) into the
>       corresponding SID(s) by consulting its TED.
> 
> This mixture of the previous two cases seems to compound the level of
> complexity. Can't the PCE just know it is making an SR path and supply a list
of
> MPLS labels corresponding to the SIDs?
> 
> [Jon] Having consulted the authors, the reason is that different PCE
> implementations have different approaches, which can all be accommodated
> fairly straightforwardly in the draft's format. Having said that, it seems
harsh to
> force the PCC into having to provide an NAI-resolution service for the PCE.
> Therefore, I have added a capability flag so that the PCC can indicate that it
> cannot / will not do NAI resolution. [/Jon]
> 
> ---
> 
> 5.1.2 ----> 6
> 
>    If a PCEP speaker receives a PATH-SETUP-TYPE-CAPABILITY TLV with a
>    PST list containing PST=1, but the SR-PCE-CAPABILITY sub-TLV is
>    absent, then the PCEP speaker MUST send a PCErr message with Error-
>    Type 10 (Reception of an invalid object) and Error-Value TBD1 (to be
>    assigned by IANA) (Missing PCE-SR-CAPABILITY sub-TLV) and MUST then
>    close the PCEP session.
> 
> Suppose an implementation receives an Open with PST=1 but doesn't
> understand (or doesn't support) that value. Is it still required to perform
this
> check? Hopefully not.
> 
> [Jon] Nope.  Have changed to
> 
>    If a PCEP speaker receives a PATH-SETUP-TYPE-CAPABILITY TLV with a
>    PST list containing PST=1, and supports that path setup type, then it
>    checks for the presence of the SR-PCE-CAPABILITY sub-TLV.  If that sub-TLV
is
>    absent, then the PCEP speaker MUST send a PCErr message with Error-
>    Type 10 (Reception of an invalid object) and Error-Value TBD1 (to be
>    assigned by IANA) (Missing PCE-SR-CAPABILITY sub-TLV) and MUST then
>    close the PCEP session.
> [/Jon]
> 
> ---
> 
> 5.3.1 (under Length) has
> 
>       As mentioned earlier, an SR-ERO
>       subobject MUST have at least SID or NAI.
> 
> This is good and does tie in with what is written in earlier sections.
> 
> However, 5.3.1 starts with
> 
>    An SR-ERO subobject consists of a 32-bit header followed by the SID
>    and the NAI associated with the SID.  The SID is a 32-bit number.
>    The size of the NAI depends on its respective type, as described in
>    the following sections.
> 
> That makes it sound like they are both mandatory, and the figure doesn't help.
> 
> A little rewording would go a long way, and you could add "(optional)"
> to the figure.
> 
> [Jon] I have modified the preamble to the following, and have added the word
> "optional" to the diagram.
> 
>    An SR-ERO subobject consists of a 32-bit header followed by the SID
>    and/or the NAI associated with the SID.  The SID is a 32-bit number.
>    The size of the NAI depends on its respective type, as described in
>    the following sections.  At least one of the SID and the NAI MUST be
>    included in the SR-ERO subobject, and both MAY be included.
> [/Jon]
> 
> ---
> 
> 5.3.1
> 
>    SID Type (ST)  indicates the type of information associated with the
>       SID contained in the object body.  When ST value is 0, SID MUST
>       NOT be null and NAI MUST be null.
> 
> Does "null" mean "all zeros" or "absent"?
> 
> See also the definition of the S and F flags.
> 
> [Jon] It means "absent" (see definition of Length field).  But this is not
particularly
> clear, so I have changed all instances of "null" to "absent". [/Jon]
> 
> ---
> 
> 5.3.1
> 
>       Other ST values are described
>       later in this document.
> 
> It would be friendly to provide a list somewhere.
> Do you need a registry?
> 
> [Jon] I have added a list and created a registry. [/Jon]
> 
> ---
> 
> 5.3.1
> 
>    Flags  is used to carry any additional information pertaining to SID.
> 
> You need to say how to set the unused bits.
> Do you need a registry?
> 
> [Jon] I have created a registry. [/Jon]
> 
> ---
> 
> 5.3.3
> 
>    If a PCC receives a stack of SR-ERO subobjects, and the number of
>    stack exceeds the maximum number of SIDs that the PCC can impose on
>    the packet, it MAY send a PCErr message with Error-Type = 10
>    ("Reception of an invalid object") and Error-Value = 3 ("Unsupported
>    number of Segment ERO subobjects").
> 
> And if it doesn't send the PCErr, what should it do?
> 
> [Jon] I think this has to be a MUST, not a MAY. [/Jon]
> 
> ---
> 
> 5.3.3
> 
>    When a PCEP speaker detects that all subobjects of ERO are not
>    identical, and if it does not handle such ERO, it MUST send a PCErr
>    message with Error-Type = 10 ("Reception of an invalid object") and
>    Error-Value = 5 ("Non-identical ERO subobjects").
> 
> "Not identical" could have so many meanings here!
> - Presumably you don't mean that all SIDs have the same value
> - You might be referring to all flags
> - You might be referring to just the M and C flags
> - You might mean that the ERO must contain all SR-ERO subobjects or
>   no SR-ERO subobjects
> 
> Please clarify and possibly rename the error value.
> 
> [Jon] It means the last of those. Renamed the error to "ERO mixes SR-ERO
> subobjects with other subobject types".
> It also means you can't mix labels, SID index values and pure NAI.  I've added
that
> check too.[/Jon]
> 
> (See also 5.4.1).
> 
> [Jon] "RRO mixes SR-RRO subobjects with other subobject types" [/Jon]
> 
> ---
> 
> 5.3.3
> 
>    When a PCEP speaker receives an SR-ERO subobject in which ST is 0,
>    SID MUST be present and NAI MUST NOT be present(i.e., S-flag MUST be
>    0, F-flag MUST be 1, and the Length MUST be 8).  Otherwise, it MUST
>    consider the entire ERO object invalid and send a PCErr message with
>    Error-Type = 10 ("Reception of an invalid object") and Error-Value =
>    11 ("Malformed object").  The PCEP speaker MAY include the malformed
>    SR-ERO object in the PCErr message as well.
> 
> This text is good.
> But it makes me think: what about the ST values 1 through 5 if the NAI is
absent?
> 
> [Jon] I've generally tightened this area up and have hopefully covered all
invalid
> cases! [/Jon]
> 
> 
> > -----Original Message-----
> > From: Pce [mailto:pce-bounces@ietf.org] On Behalf Of Julien Meuric
> > Sent: 15 January 2018 09:38
> > To: pce@ietf.org
> > Subject: [Pce] WG Last Call for draft-ietf-pce-segment-routing-11
> >
> > Dear PCE WG,
> >
> > Best wishes for this new year, full of interoperable specifications.
> > Let us begin by resuming our work in progress.
> >
> > This message starts a 2-week WG last call for
> > draft-ietf-pce-segment-routing-11. Please send your feedback on the
> > I-D to the PCE mailing list by Monday January 29.
> 
> _______________________________________________
> Pce mailing list
> Pce@ietf.org
> https://www.ietf.org/mailman/listinfo/pce