Re: [Pce] Shepherd's review of draft-ietf-pce-pcep-exp-codepoints

"Adrian Farrel" <adrian@olddog.co.uk> Sun, 19 November 2017 14:43 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 5A044127444; Sun, 19 Nov 2017 06:43:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.091
X-Spam-Level:
X-Spam-Status: No, score=0.091 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_KAM_HTML_FONT_INVALID=0.01] 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 NU8ncybHUZ3u; Sun, 19 Nov 2017 06:43:32 -0800 (PST)
Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36047126DFF; Sun, 19 Nov 2017 06:43:30 -0800 (PST)
Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id vAJEhBwC002009; Sun, 19 Nov 2017 14:43:11 GMT
Received: from 950129200 (116.133.112.87.dyn.plus.net [87.112.133.116]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id vAJEh6ej001981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Nov 2017 14:43:07 GMT
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'Julien Meuric' <julien.meuric@orange.com>, 'Dhruv Dhody' <dhruv.dhody@huawei.com>, 'Jonathan Hardwick' <Jonathan.Hardwick@metaswitch.com>
Cc: draft-ietf-pce-pcep-exp-codepoints@ietf.org, pce@ietf.org
References: <CY4PR0201MB36030DD4394ABF68124A5CFA842A0@CY4PR0201MB3603.namprd02.prod.outlook.com> <23CE718903A838468A8B325B80962F9B8D5C30A9@BLREML503-MBX.china.huawei.com> <CY4PR0201MB360311691273119057CF6339842B0@CY4PR0201MB3603.namprd02.prod.outlook.com> <23CE718903A838468A8B325B80962F9B8D5C3537@BLREML503-MBX.china.huawei.com> <62ab8db3-ba39-99f6-a038-264f9800ea39@orange.com>
In-Reply-To: <62ab8db3-ba39-99f6-a038-264f9800ea39@orange.com>
Date: Sun, 19 Nov 2017 14:43:05 -0000
Message-ID: <192d01d36144$b7882660$26987320$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_192E_01D36144.B837A040"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGm2dMpzjo1KlnAomFEgjMX+8EKHwHALQ0+AP61i3QCjWwzpAJZU3uJozenuAA=
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.1.0.1062-23476.000
X-TM-AS-Result: No--9.293-10.0-31-10
X-imss-scan-details: No--9.293-10.0-31-10
X-TMASE-MatchedRID: 8HTFlOrbAtGs/r1De3um7n8c8oKMbgYYKVrLOZD1BXSOtR/F4zYXtD11 qDA2H+XsGf6fKkNuGyXzMV/yV0DYhkaWGOeKmQYQT7jCYv2QJPFWjiXAsVR2KwDqzaYhcjeQvWi 5ex0jCdKazNelTUd65jZt4KJQgKL78FLksoJC8fTKl4yJoI+fG4sz4mJ0Fhs2nWBUWlAKnBOlb6 juAbBDgeJG5Pg8+CYhNDWsJtFTOuUJS/QEXhWG8hj42LMyJUg81wL0WtLXyRooDMZ3xV44iD9AT 5NSrsCCC/CSdzKN+BPwIQ8TEKBvADZTv/1nu5StDPhWwJzVhb4dQSyPGb6mCCBs0OU9P6tbPd3q wUsPUgzPbEvPk0wrx4FDgIrlIU/9o4XUuMvTVpRtD1qg9KZYkYHSaqO6kWzlRUZL9AeG8IInOOO AFMb8+SM5BJR/sbr9oFIi5+lEOmNufzckypRuve9VsdrlGzy3Q6/DFZugyt0wODfUl7mJKf4ZAU sty2ENewo8j91GeTG6RgENsA/90MsesOAiftrl9iItFUn3XkM7r2Gtb9iBYU8dFP+NPq6+dXDbH Fxm2F+dv7RrSohAJCkm8kuls98/aEoHA+Yew8W7vYqkCS0dL7YidXoBo/qVlSFPfwjN9pHsoEFn ZAFTLE+J83GmsfZy66Wuu9SwKD8JG55i6ynXHMu00lnG8+PWMrX+p1uNztA93acSBBsAmvBYRo0 6eVj38vzD3/0Zl0qCRqPcZOXffFkb4pg11AKq+KUzuemidPxfohHCqSnabhUZTfM00s4+++vNJK ekcWQo1qU88HwltZ7FIsFagzgEUhIJtkjMIFmeAiCmPx4NwGmRqNBHmBvevqq8s2MNhPDPPeN6H N6d7OdLjQU97e0WxDLtK8W3eGeNdZtCXpomSMvEzTPLByiZhvp8GXTgcSRvHk22zMxk1rAnxZ/5 9U7FMMbdB5b4l2cHf02e9Jk7ujkv7ew5+Nwl/katnb2or7I=
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/aSitvV2eDBWDoVBS-ubqv8zt0Cg>
Subject: Re: [Pce] Shepherd's review of draft-ietf-pce-pcep-exp-codepoints
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.22
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, 19 Nov 2017 14:43:34 -0000

That works for me, although I would probably lower-case the "MAY".
 
A
 
From: Pce [mailto:pce-bounces@ietf.org] On Behalf Of Julien Meuric
Sent: 17 November 2017 17:30
To: Dhruv Dhody; Jonathan Hardwick
Cc: draft-ietf-pce-pcep-exp-codepoints@ietf.org; pce@ietf.org
Subject: Re: [Pce] Shepherd's review of draft-ietf-pce-pcep-exp-codepoints
 
Hi,

IMHO, the correct wording lies in between. RFC 5440 set the default for PCEP ("A
PCEP-ERROR object is used to report a PCEP error"). Further specification (e.g.
RFC 8231) MAY add message-specific behavior, but I think it is wrong to mandate
a new behavior for each new message. I would thus suggest :
   If the PCE does not understand or support an experimental object with
   the P flag set in the Object Header, in the Path Computation Request
   message (PCReq), the entire PCEP message is rejected and PCE responds
   with a PCErr message with Error-Type="Unknown Object" or "Not
   supported object" as described in [RFC5440]. Otherwise, the object is
   ignored. Message-specific behavior MAY be specified (e.g., [RFC8231]
   defines rules for a PCC to handle an unknown object in an Update
   (PCUpd) message).

My 2 cents,

Julien


Nov. 13, 2017 - dhruv.dhody@huawei.com:
<snip>


 
Section 5
 
The following paragraph does not tell the whole story.
 
   A PCE that does not recognize an experimental PCEP object, will
   reject the entire PCEP message and send a PCE error message with
   Error- Type="Unknown Object" or "Not supported object" as described
   in [RFC5440].
 
If the P flag is clear in the object header, then the PCE MAY ignore the object
instead of generating this error message. Also, you do not discuss what a PCC
would do on receipt of a PCUdp or PCInitiate containing an unrecognised
experimental object - it is inconsistent that you don't cover these cases.
(FWIW, RFC 8231 is a bit ambiguous about what a PCC should do about the PCUpd.
Section 6.2 says that a PCErr should be sent, but then it refers to section
7.3.3, which says that a PCRpt should be sent. Hmmm.)
 
[[[Dhruv Dhody]]] Yes. How about I update to this - 
 
   If the PCE does not understand or support an experimental object with
   the P flag set in the Object Header, in the Path Computation Request
   message (PCReq), the entire PCEP message is rejected and PCE responds
   with a PCErr message with Error-Type="Unknown Object" or "Not
   supported object" as described in [RFC5440].  Otherwise the object is
   ignored.  In case of stateful PCE messages [RFC8231], the P flag is
   ignored and the unknown object handling is as per the stateful PCE
   extensions.
 
And let's try to handle the inconsistency in RFC 8231 with an errata perhaps?
And handle PCE-initiated during AUTH48? 
 
[Jon] I think this is OK, but if we are just going to point the reader at
RFC8231, then we might as well do the same with RFC5440, rather than duplicate
its text.  And we should write something that allows for the possibility that
more message types may be relevant in future.  How about
 
   If a PCEP speaker does not understand or support an experimental object
   then the way it handles this situation depends on the message type.
   For example, a PCE handles an unknown object in the Path Computation Request
   (PCReq) message according to the rules of [RFC5440].  A PCC handles an
   unknown object in an Update (PCUpd) message according to the rules of
[RFC8231]
   and, in an LSP Initiate Request (PCInitiate) message, according to the rules
of
   [I-D.ietf-pce-pce-initiated-lsp].  Any document that adds a new PCEP message
   type must specify how to handle unknown objects on that message.
 
Note that this last sentence is not an RFC2119 MUST because it defines author
behaviour, not device behaviour.