Re: [Iot-directorate] Iotdir telechat review of draft-ietf-core-dev-urn-09

Dave Thaler <dthaler@microsoft.com> Thu, 07 January 2021 21:50 UTC

Return-Path: <dthaler@microsoft.com>
X-Original-To: iot-directorate@ietfa.amsl.com
Delivered-To: iot-directorate@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 912C03A0332; Thu, 7 Jan 2021 13:50:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level:
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 CpZ3F1JzORPw; Thu, 7 Jan 2021 13:49:58 -0800 (PST)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2137.outbound.protection.outlook.com [40.107.92.137]) (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 AB12C3A02BB; Thu, 7 Jan 2021 13:49:58 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jayPqxoY1XGApZgdgFrZP/h1T2Cwuox7nDhlP97Fg2P1tveaoJPUOHWFtJz6WlfcCKRHK9m9PXHb3iVSI174wQK9BF3JjTJ5eHPyz6Lh4un5pBLaEvoyBKGgUMWJT5EtjlrZx5oXsv6obx15YYXrIjdpZ6y7Hm1DA3tSmixTFoOty7nVbhu14fgikJvbJxEWadtiVtaxdUNyKL9GiB5H3HXO97VrX8qB3QfiQyzdMTSZsXRWBk82VB8GAINvyJrFw+hZ/cfkBV+GXwG8IAhdDzqN1VUr32pgVaqr37PLVu4WBVbzzFGfFHmRJOQgoSRx/jWjJC13Vy6BaclcgGmZ6A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o5uScuS4TlSX++LzNMvsYaSiXTVTFJwsb2GYFwOIzgM=; b=HkwlfFjgcV3W3/lKcTWA7fjECnBc1TjlAwQ3vEXx13xpcU6OXmYugnnw7BT6IlNypHLukLiDQSZQ1FO00EDvVdVZs5Dh5hFyCluFgHXN5XUB2VlC0JrWlRcnkB/0zu9pTBOHAz35hfMc7zZxkr5Puz/o0eDn7ZgcB1hsZNJ1ODW2G2yOsfTJvu7NU75fTHmhlbAM8ew+F758WijCM60H/a9pp4Zd5OctQWCb592CdX4huvxMoeuTbX3YFeZ9mdJFdsTYNRmumdVf+Lp4dnMZEfirLFI0SIfEL7DQMPTaiSS0l7bk37AO+2ClVlHkQeYZ6C0Bn+tTKoqk6XwKlOb/vg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o5uScuS4TlSX++LzNMvsYaSiXTVTFJwsb2GYFwOIzgM=; b=cEKQDrP16uUwlpia3FMlcGSPyYb0QJ+qVuotpdVfpT7eNWA0kvl4z+tD6tg0XVcHjuva3itI+gyAX09A6BtIsVnQkK6TmNzesY8CV/MnCnw50hnSbs3lFqob+xu+qBrerI1jY/IgQxm+4t3XWC9b/OPpGziBDmlWQtw+Cx4dyI0=
Received: from (2603:10b6:903:13b::16) by CY4PR21MB0279.namprd21.prod.outlook.com (2603:10b6:903:bb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.0; Thu, 7 Jan 2021 21:49:54 +0000
Received: from CY4PR21MB0790.namprd21.prod.outlook.com ([fe80::8c0c:c142:356c:5542]) by CY4PR21MB0790.namprd21.prod.outlook.com ([fe80::8c0c:c142:356c:5542%10]) with mapi id 15.20.3763.004; Thu, 7 Jan 2021 21:49:54 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Dave Thaler <dthaler=40microsoft.com@dmarc.ietf.org>, "Éric Vyncke (evyncke)" <evyncke=40cisco.com@dmarc.ietf.org>, Russ Housley <housley@vigilsec.com>, "iot-directorate@ietf.org" <iot-directorate@ietf.org>
CC: "draft-ietf-core-dev-urn.all@ietf.org" <draft-ietf-core-dev-urn.all@ietf.org>
Thread-Topic: [Iot-directorate] Iotdir telechat review of draft-ietf-core-dev-urn-09
Thread-Index: AQHW5QBEUyW1DGqeXUmd1Pz3pL7ZTqocpBfAgAAIEsA=
Date: Thu, 07 Jan 2021 21:49:54 +0000
Message-ID: <CY4PR21MB0790994F0C3F8F54899F3823A3AF9@CY4PR21MB0790.namprd21.prod.outlook.com>
References: <160996930502.21827.5533521556349871834@ietfa.amsl.com> <D4AE6588-48D0-4CE9-9701-D38D575F1E3F@cisco.com> <CY4PR21MB07905E42CFE7F65DD3B387ABA3AF9@CY4PR21MB0790.namprd21.prod.outlook.com>
In-Reply-To: <CY4PR21MB07905E42CFE7F65DD3B387ABA3AF9@CY4PR21MB0790.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-01-07T20:54:59Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=a6e99949-85e5-4948-a6b1-de790f77ebf9; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:9700:15e:5452:f1d1:a0b2:9fa8]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: f55cc81c-9219-4b6d-73c3-08d8b3562b42
x-ms-traffictypediagnostic: CY4PR21MB0279:
x-microsoft-antispam-prvs: <CY4PR21MB02798376AF9F84302ED8FC5AA3AF9@CY4PR21MB0279.namprd21.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: hbIOgLSFds9ES8mVFlizJMx2TqnxuK6mK7Tx59JknOH4JBMV989qKZAALs57hEvL2BLR0ROz2xV3GOV78jd5SUw4LuzYrzIs/isv417dJ55D07vAVH1jharnNqM8IKr563pFfp4BXC7eW1oR4OUbRPW5LftDR/2jnRZK0n5ZkAg3dVTG0/Y6IJUvdS97dUmpRQDt7S7eBIysqwVmASAWOlK04MFzc4Eh9YpXAWD0j1P38QdQn1XmMKlS4hG1Khu1AJXZ94R+VG55sE8J/zVHKL8ZLpxT73aw5M/l/9REwThFtFlLlHnTqc5Af4wuiE6y+SLdPpGVgQbru6YkeJJqBpia5NlJNq9z/kb9Q5uW5ieN50TsEA0kZ9r0Xt1qyy4nVDR+VphPeFRIg40A1AxOAgchF9ozfV+c4bxmFKWrPAc1lMVsuC+eqGhUeo+C1Y+JkEtNVAsi08dv1sREaV23Xw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR21MB0790.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6506007)(55016002)(316002)(4326008)(33656002)(82960400001)(82950400001)(66574015)(7696005)(83380400001)(86362001)(8936002)(8990500004)(110136005)(71200400001)(10290500003)(2906002)(52536014)(9686003)(186003)(5660300002)(2940100002)(8676002)(478600001)(64756008)(66556008)(66446008)(966005)(66476007)(76116006)(66946007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: q+hoWUTLgsiuwNFoZUM3jyEaeFqGSkbEQ6Mkwn+GSY+czkPgLoR+WUtvAnf6nlYFfbFTBF6mTmQ4/kuRY1SY+zE63tuTjb/MBRhKVYLIdlvTCEEdOQS/XjQXMWDuTK+kxz64nRaRgvLwTH7M46t1GcNYuv5U3YbMJn9aAw0PBQ/A7C/xybC+ng+bLxXbMYQrpCCmSlWa+ZtM1SUTkyE1kU0d3+giHKTTRttUxNCL480csxdL5UwHtzi+f70oXnlXs9zFv27LmZ08uM3EUZlbEwTJAND6YX3ukuOwEBw5Sae23W+ibR6dHaMuc9ASEPa3d0SBXqht84pfLrrU3kX4O01Jz5ojsI9108RwzT+xRhVRx79YDOER7DgmoIH1L5evIkHAeG7v9AdYEYrUzp2BkG/P3r5NIHzdTOLM08ttVqp5VOjfrhoDT2ELWcJuLbTCE+lzBbG7AtuwhOyqJLahmt74tjakuf5c7NLjeRZJDWmypV6AEzkmHECvwplXiUQWPlDK4q1Wv2G5R76cRAnirHYfhUQPMRqC14mpJ1g7MQsCuMn4rI5CtZK9iN8J2hNhHJ1TyCl48D3Gm1by1deQOURXkl/Y6jmMs7At4khIgqpDlwA344HIEGZMUJNOAwZFXzWtz6Z3HSkFN4FBPt1D1pCkbEHuXGep1aR/ELvcU5Qf6IrP7oFGsrG37/QtbKR96YClmwL6h67INVttHwd8nckWxaRuGt5HdWx207OKDZRg+hzAm6Ud1OQwOafB0pr2RVjQ5Hr9FQzLYaeIEUc5h98XaW25pRImTeawegA7EJw07Kty+MPTd0IH5GS7gA8yWl8euHEs+sQBh2nqLdduiyWSvKb8mgjzFV7GdetV/EaCel1/P3dKgnssEmK/c4WeN/hLet+71S4uhNqFjlfgupXy8iUc714kWBeZBXZEZzZzPqNmuVB5XLht4nraPBuMguoUoOfX0OpVJRhl4tIVqFqSwPxx1TrBEoWkhHuZYiq/as6f19vGu3xiNCdU3lsjoXWStSRIPgQNbIlhWIHiBaToBpYo3FaYvhKrUlbIz1I=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CY4PR21MB0790.namprd21.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f55cc81c-9219-4b6d-73c3-08d8b3562b42
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 21:49:54.5970 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Rpx/mAsD40lBvU/D8bLUtazsNGexRjQu4ksuBjizrKCbDUygijSXjT0eBK0V0uQJ/A0GQbGk1ti6hMELpbLv5vj/kuUE2cjpr2mMJSWfejI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0279
Archived-At: <https://mailarchive.ietf.org/arch/msg/iot-directorate/J5QN_CPd1lBA-pqsZid8_TECUFA>
Subject: Re: [Iot-directorate] Iotdir telechat review of draft-ietf-core-dev-urn-09
X-BeenThere: iot-directorate@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Mailing list for the IoT Directorate Members <iot-directorate.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iot-directorate>, <mailto:iot-directorate-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iot-directorate/>
List-Post: <mailto:iot-directorate@ietf.org>
List-Help: <mailto:iot-directorate-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iot-directorate>, <mailto:iot-directorate-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jan 2021 21:50:02 -0000

(I didn’t get an assignment in the datatracker so just sending using manually crafted email)

Reviewer: Dave Thaler
Review result: Almost Ready

I reviewed this document as part of the IoT Directorate's effort to
IoT-related IETF documents being processed by the IESG.  These comments
were written primarily for the benefit of the Internet Area Directors.
Document authors, document editors, and WG chairs should treat these
comments just like any other IETF Last Call comments.

Document: draft-ietf-core-dev-urn-09
Reviewer: Dave Thaler
Review Date: 2021-01-07
IETF LC End Date: 2020-12-02
IESG Telechat date: 2021-01-21

Summary: Almost Ready

Major Concerns:

1) Section 3.1:

> DEV URNs are
> scoped to be globally applicable (see [RFC8141] Section 6.4.1) and
> enable systems to use these identifiers from multiple sources in an
> interoperable manner.

If they’re “scoped to be globally applicable” MUST they be used only with globally unique device-specific identifiers and
not with say MAC addresses with the U/L bit set to local?   Clarify.

2) Section 5:

> urn:dev:newsubtype:example-1-2-3_comp   # A yet-to-be-defined
>                                         # subtype

Section 7 does not make “newsubtype” be a reserved value.
Hence there could be problems if it ever got allocated in a way that way incompatible with the rest of the URN in this example.
Recommend changing “newsubtype” to “example” or similar, and making it be reserved for documentation.
  
3) Section 7 says:

> Additional subtypes for DEV URNs can be defined through Specification
> Required or IESG Approval [RFC8126].  

Question: Why burden the IESG, rather than say Expert Review?

For comparison, URI schemes use:
> Expert Review for Permanent and Historical registrations, 
> First Come First Served for Provisional registrations

Given that a requester could get a new URI scheme and use that with any app that supports URIs (and not just URNs),
it would seem unnecessarily burdensome to me to put this on the IESG rather than following the URI scheme name
precedent for permanent registrations.

4) Section 8.1:

>   [OW]       IEEE, "Overview of 1-Wire(R) Technology and Its Use",
>              MAXIM
>              http://www.maxim-ic.com/app-notes/index.mvp/id/1796, June
>              2008,
>              <http://www.maxim-ic.com/app-notes/index.mvp/id/1796>.

This URL does not resolve for me.  Since this reference is normative, this seems like a potential blocker.


Minor Concerns:
   
5) Abstract and introduction sections both say: 
>  A URN-based
> representation can be easily passed along in any application that
> needs the information

This is overstated.  If you have an application designed to pass around IP addresses (in protocols,
file formats etc. with fields that can only fit IP addresses), then a URN-based representation cannot
be “easily” passed along in “any” application.  Such applications might be common in some IoT contexts.

The intro extends the above sentence with the phrase
> as it fits in protocols
> mechanisms that are designed to carry URNs 

Which highlights my point.  “any” != ones "that are designed to carry URNs”

6) Intro says:
> Using URNs in these formats is often preferable
> as they are universally recognized and self-describing, and therefore
>  avoid the need for agreeing to interpret an octet string as a
>  specific form of a MAC address, for instance.

True.  But for things using CBOR instead of JSON, URNs can be carried but would consume more
space and so may be less desirable for some constrained use cases.   If my previous comment
above is addressed, the text here may be ok because it is at least prefixed with “often” which
is fine.  Whether you call out the downside of making the CBOR larger is up to you, but 
personally I think it would be fair to mention it.

7) Section 3 says:
>   Registrant: IETF and the CORE working group.  Should the working
>  group cease to exist, discussion should be directed to the general
>  IETF discussion forums or the IESG.

Why the general IETF discuss list and not an area specific list like mailto:art@ietf.org since core is in the art area?
For example, when an int area WG closes, discussion defaults back to int-area.  Why would this be different?
And regarding the “or”: One answer is better than two divergent answers.  Why not drop the “or the IESG”? 
This is related to my IANA allocation policy comment #3.

8) Section 4.4 says:
>      Editor's Note (Please remove before publication): The DEV URN "os"
>      subtype has originally been defined in the LwM2M standard, but has
>      been incorporated here to collect all syntax associated with DEV
>      URNs in one place.  At the same time, the syntax of this subtype
>      was changed to avoid the possibility of characters that are not
>      allowed in SenML Name field (see [RFC8428] Section 4.5.1).
>
>      Organizations are also encouraged to select serial number formats
>      that avoid possibility for ambiguity, in the form of leading
>      zeroes or otherwise.

Above implies all the text in those two paragraphs should be deleted before publication.
But much of it is useful to keep, especially since section 4.5 first and last paragraphs keep
most of the same information for “ops”.  Recommend making section 4.4 match section 4.5
in terms of what to keep/drop.

9) Section 5:
>       urn:dev:ow:10e2073a01080063             # The 1-Wire temperature
>                                               # sensor in Jari's
>                                               # kitchen

Why is “in Jari’s kitchen” stated?  The location is not relevant in any other example, and as far as I can tell there’s nothing in the URL that identifies a location

10) Section 5:
>       urn:dev:ow:264437f5000000ed_humidity    # The laundry sensor's
>                                               # humidity part

What in the URL identifies this as laundry?  As opposed to “the humidity part of a 1-wire device”?

11) Appendix A does not say whether it is to be removed before publication.  I’m guessing it is intended to be removed.

Nits:

Section 1:
>    support MAC addresses as one of type of an identifier.  However,

s/one of type of/one type of/
   
Section 3.2.1:
>   i.e,. two URNs are URN-equivalent if their assigned-name portions are

s/i.e,./i.e.,/

Section 3.3:

>   (and often does) have multiple identifiers, e.g,. identifiers

s/e.g,./e.g.,/

Section 4.2: Mostly it’s “1-Wire” in this section but once it’s capitalized “1-wire”.  Be consistent.

Many places: document mixes “organization” and “organisation” (z vs s) throughout.  Be consistent.

Section 4.5:

>  does not specify how thy are allocated.

s/thy/they/