Re: [Idr] Routing directorate QA review of draft-ietf-idr-ext-opt-param-04

"John G. Scudder" <jgs@juniper.net> Mon, 27 June 2016 15:51 UTC

Return-Path: <jgs@juniper.net>
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 7060212B017; Mon, 27 Jun 2016 08:51:28 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.onmicrosoft.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 TwStnFFuH4Mh; Mon, 27 Jun 2016 08:51:26 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0133.outbound.protection.outlook.com [65.55.169.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A01B12D76D; Mon, 27 Jun 2016 08:50:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/wWOEVWjDVTyQEe00D7xHCEtvir9k9lXnP1q3fmTpgc=; b=aqTMjymrJ8/6tTgtT5MmwT3yTlz9RM3nRmDW0ImrJKj9ACbaVOqRGSBhxPJ5n/SxlWBh63YEa7YiEmIXDld35IUIHpUWQnXpX4FtbIboXEMXLgpb9lGAAKc/Y1dQF8dk3f0Q47db+05sEIfUrrcb5P4mwHCAxXHfBCaXH5M05fQ=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgs@juniper.net;
Received: from plangevin-sslvpn-nc.jnpr.net (66.129.241.13) by BN3PR05MB2500.namprd05.prod.outlook.com (10.167.3.135) with Microsoft SMTP Server (TLS) id 15.1.517.8; Mon, 27 Jun 2016 15:49:57 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: "John G. Scudder" <jgs@juniper.net>
In-Reply-To: <952977D8-B35A-4C1A-8526-9D616BD0F0B6@juniper.net>
Date: Mon, 27 Jun 2016 11:49:51 -0400
Content-Transfer-Encoding: quoted-printable
Message-ID: <4D4E66C2-602E-4DFD-A7DD-8FC47DD0F816@juniper.net>
References: <m8h688tnbwxkug7d8u82j25c.1466634873538@email.android.com> <952977D8-B35A-4C1A-8526-9D616BD0F0B6@juniper.net>
To: "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>, enkechen@cisco.com
X-Mailer: Apple Mail (2.3124)
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: BLUPR0601CA0014.namprd06.prod.outlook.com (10.163.210.24) To BN3PR05MB2500.namprd05.prod.outlook.com (10.167.3.135)
X-MS-Office365-Filtering-Correlation-Id: 33014251-21c0-405e-0569-08d39ea2b10e
X-Microsoft-Exchange-Diagnostics: 1; BN3PR05MB2500; 2:pU38A+mu9FvO/Y3moXWN6VmiI0OiJLx2wLatnXtfBn+6r7HXIcioBGKVvZKB4lUxTsRcgx17rpmWdHLAYasLKvsiaGL+Zcpk7LH80JghNx3lTG44ngRsLZkJV1ceLdxgJUauKCop75Tul3vBjN1ndh+ntszxxDf6WSEf39w4mfTbpjZ95dfiQ+VDf3J3iIP1; 3:Q+nl+Plj9fBfaF91L53Sjz+Kt0v5F2BuxSZCnuSOBOq9KkaqF6T8D+D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mE/hfMT/gizPeqPZRJIv84TpTl6w95IHn; 4:l37N+gj2CMsA4U34CRpRcX9eLeoqzjaoBE11k27bSJaItQ4vylNq6rBxxQ9P0eYK7RT57DafBOHs3CXmdkYNXb7nsrcAX686o83050o+9ID7kbnBtfwSlmB+zlM89r5sIb5SbjnDG7ObG2icrLFN7gXTUzFja/dYeOnJKOSUzbCAQDNXDuc4qr7ZBqi0jsmALOw57VKsc3E6PIxar8al9o/qxH2pBxF5BEGS47AyZuSUrbraP7wmwIHUqBoWxZ0Q8Tf4glZcalGGKyfuSfr+SSiZql1y1SHBY0t8p0U6bnJ63URglAa23vNYEydrp383Vnmm9NUN6xejx7vMOGVcuEfCzsMjRzy48Sd9Z1Rn80VH8eUiZSnMPCIVq0n7lkWNcrdKyLSspP6s5ZcAAMpm7x6mOM+mJU9dhhAAtjTioEn2lUF7oSP9l/7xezPNqKWV
X-Microsoft-Antispam-PRVS: <BN3PR05MB2500005B1F38B6058975D231AA210@BN3PR05MB2500.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(138986009662008);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BN3PR05MB2500; BCL:0; PCL:0; RULEID:; SRVR:BN3PR05MB2500;
X-Forefront-PRVS: 09860C2161
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(377454003)(189002)(24454002)(199003)(36756003)(76176999)(47776003)(50986999)(57306001)(33656002)(46406003)(50466002)(101416001)(7846002)(7736002)(2950100001)(68736007)(2906002)(50226002)(230783001)(86362001)(561944003)(81166006)(81156014)(305945005)(4326007)(6116002)(23726003)(8746002)(92566002)(77096005)(42186005)(19580405001)(19580395003)(82746002)(69596002)(53416004)(83716003)(3846002)(97736004)(106356001)(189998001)(105586002)(5001770100001)(586003)(66066001)(97756001)(104396002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR05MB2500; H:plangevin-sslvpn-nc.jnpr.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; CAT:NONE; LANG:en; CAT:NONE;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; BN3PR05MB2500; 23:fxOLUiunr+I8El89reaUL0NSc20sSt4rVQoFEgjRobaCg00MPkJc5IKutKPBeEn1vqn6IdzQw9Y40crp7cJSQlPaiU50on6Ayt6UQhMgkTmTnb4FMckSTajqFpUZM6BqAv83du5UZEnyXmTD1Hmhep/adYSyR3H6lTNdt9L1cT4kfQkShQs+pOabv+jLU2ujcK5/RcK3v6kDUuWRegjTib3PX/SYsjtbmfYgkwi/Yf8jf6aZBK1W1JBZn4yz8LPTNsqRjAVjU15YIg2VLUoMrwu/qFlRqgI4L13/UeVN9IqLRnTMkyeWm7iiKPXOPO9EbYzQgHwzbh5w5A5k0llxyquEl3UK6QiHts4nPStXaEOhhQC1gQCiDfXJTiMOLDrRvVGCoFZaZlxheWhd1tfVMsYPLIh/4H019V8SBz8fMhKIfdftSXCNbBvXwU3ueNsCNPdsNm6IHhhs/cipZHxDMYnGD8vLLZiUOZ5Jfpe+YygaCfmySQal4LP4MTkGdYYuttD6rQQzuOGWD7a+E2utA2OsFVGAfeuqJgIZVZqeaXFKr+1n23PwgIZiSKAQvHd+O9YkBuVUndRVV7SgOzsBaFZJSUcBCpMFaiU16XcE/uK3nrQvLyHHvYH+jUqxiBcuQymine8c9qCiFfAniJnCpVJgZZ3llVir9j93bqds/ZJFZqvfCAHFqLT+psPy2FdRtkL9ecFZU+rBF+H8dmmRL3TIVNuVBLWpqLJR8R8rzmRtghhvEzBc0TWHpi7QcLC1929vT8LOmRgPwRIcattDL5Co/oHqO843Sskkw4jx949l7SnVOo5dRnXFaMlgAn84muMJ6IKBndnjx9iTl2c15MJQfs2GGQz5J2d2CaVb7VM0sMDHMwAb9FWonwHDtuIDJbSPpJXYkJP9z0YVKQ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VrKXmgM19pBoWIfHrcrGwTwXPpIy1pAeCMJmjlWxA+NDJ/hdLvCnII6BAgPbBnCXGk6qo+UQAAl1u/lrLts69XY6JKNkdjPDo798dWQ0yPba9N1OxyL5j1irEeCmN8OA/J26LLEZjhgHw0ScFArFRCzLGRndVjwb4aVK2hGaZmzA/4mIHFW1M9AIhkbabyQ0PY62A7G6VszEflBVkxUxrjJ5GvWrNCGYzwrhR66O0Klqx
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2016 15:49:57.5353 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR05MB2500
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/C6ze4RC1HCw3zYYurJlxHrazH8I>
Cc: "idr@ietf.org" <idr@ietf.org>, "draft-ietf-idr-ext-opt-param@ietf.org" <draft-ietf-idr-ext-opt-param@ietf.org>, Susan Hares <shares@ndzh.com>, "rtg-dir@ietf.org" <rtg-dir@ietf.org>
Subject: Re: [Idr] Routing directorate QA review of draft-ietf-idr-ext-opt-param-04
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 27 Jun 2016 15:51:28 -0000

On Jun 24, 2016, at 2:43 PM, John G. Scudder <jgs@juniper.net> wrote:
> 
>> 1) Section 2, Protocol Extensions.
>> 
>> You have labelled the existing Length and Type fields as 0xFF. I assume the meaning of the second is still 'Type' since that is
>> 
>> what any implementation would reasonably interpret it as, and that is the registry you are using a code point from. So it
>> 
>> might be better to say in the text above the figure at the top of page 3 that the length and type fields in [RFC4271]
>> 
>> are set to 0xFF.
> 
> Is your proposal to use the diagram verbatim from 4271, but say in the prose that the type and length are 0xFF? I'm fine with whatever seems clearer to folks.

Upon reviewing the draft, I prefer to leave the diagram as is. The context is that the diagram is preceded by "the OPEN message format is modified to be the following", and then the diagram is given:

...blah blah...
       |                         BGP Identifier                        |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       |      0xFF     |      0xFF     |  Extended Opt. Parm. Length   |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       |                                                               |
       |             Optional Parameters (variable)                    |
       |                                                               |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

By contrast, here's the diagram from RFC 4271:

...blah blah...
       |                         BGP Identifier                        |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       | Opt Parm Len  |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       |                                                               |
       |             Optional Parameters (variable)                    |
       |                                                               |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

If we want to keep the RFC 4271 diagram verbatim, I think quite a bit of rewrite would ensue and it probably wouldn't result in a more readable document, especially from the perspective of a person implementing the new spec. And of course, someone implementing stock 4271 doesn't need to refer to the draft. In looking back at your note, I think the disconnect is here:

>> You have labelled the existing Length and Type fields as 0xFF. I assume the meaning of the second is still 'Type' since that is
>> 
>> what any implementation would reasonably interpret it as, and that is the registry you are using a code point from. 

Upon consideration, I'd say no. In the context of the draft (as you point out, the proposed update to 4271), the two fields constitute a 16-bit field which, when set to all ones, indicates the next sixteen bits are to be used as a length field, and the sixteen bits after that to be used as a type field. In a legacy implementation, it's just as you say -- those sixteen bits are length and type.

My suggestion is instead of modifying the diagram, we could revise the prefatory text as follows.

OLD:
Accordingly, when the length of Optional Parameters in the BGP OPEN
message is greater than 255, the OPEN message format is modified to 
be the following:

NEW:
Accordingly, when the length of Optional Parameters in the BGP OPEN
message is greater than 255, the OPEN message format is modified as
follows, repurposing the Optional Parameters Length field as well as
the first Parameter Type field to indicate the use of the extended 
format:

Seem reasonable? The question is addressed to the entire WG, not just Matthew. In particular, it would be interesting to hear from implementors as to whether the spec is clear and unambiguous as to when and how to use the extended format.

Thanks,

--John