Re: [core] Iotdir last call review of draft-ietf-core-senml-etch-05

"Eric Vyncke (evyncke)" <evyncke@cisco.com> Wed, 04 September 2019 17:00 UTC

Return-Path: <evyncke@cisco.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CCF8120A2B; Wed, 4 Sep 2019 10:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=gMORrEnm; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=u67Hf2mD
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 tYz_sJBYmyXy; Wed, 4 Sep 2019 10:00:24 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DD2B120A30; Wed, 4 Sep 2019 10:00:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6130; q=dns/txt; s=iport; t=1567616423; x=1568826023; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=4fFP5/pmBkzR+bVnSLeWYsNpCfhSN9oQsnlV8TzDkXU=; b=gMORrEnmcu0JS1kos2+E2DnXPTV/QmGelM1BA9ciJ0Q0i1KHTZpzQjSO 2VR5pFFtFeICHsAlSYog2pMJGoxmTBXBjW4rqcQ+u70+GpqeRDOdsa1UR SqT8q1bC/xCaC7MJEn/phFPo9v4z9LzyGdlkEB2Dw0eTNBHV/Zv+4Kmrk s=;
IronPort-PHdr: 9a23:oGck8RGDpbZZyi7pB8wTkJ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1A3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+efP0fioxH8lqX15+9Hb9Ok9QS47z
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DJAACq7G9d/5BdJa1mHAEBAQQBAQcEAQGBVQUBAQsBgUQpJwOBQyAECyqEIYNHA4p1gjeYEYEuFIEQA1QJAQEBDAEBLQIBAYQ/AheCGyM2Bw4CAwgBAQQBAQECAQYEbYUuDIVDCAIBAxIRBA0MAQEpDgEPAgEIDgwCJgICAjAVAgENAgQBDQUiEweCZoFrAx0BAqAjAoE4iGFzfzOCfAEBBYUTGIEdA3YJgQwoAYt3GIFAP4ERJwwTgkw+hAxPgnQygiaMT4JihUKXNQqCH4wAM4Q2g3gUB5hrjXeYTwIEAgQFAg4BAQWBVwUsgVhwFTsqAYJBgkKBJwEJgkGKU3OBKY5SAQE
X-IronPort-AV: E=Sophos;i="5.64,467,1559520000"; d="scan'208";a="325184110"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Sep 2019 17:00:22 +0000
Received: from XCH-ALN-018.cisco.com (xch-aln-018.cisco.com [173.36.7.28]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id x84H0Lrp006269 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 4 Sep 2019 17:00:22 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-018.cisco.com (173.36.7.28) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 4 Sep 2019 12:00:21 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 4 Sep 2019 12:00:20 -0500
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 4 Sep 2019 12:00:20 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LzZi3QrgSt4+hWom/tm+2k/6hzlYKscPTRPWT8c5Doh0/CwPusDvQF5G7ajpP219e8KObCtJtI0yZ33RJ9VTK1GLC6HSzZ99DjW0LGnNRtirz6mdUPMrCYQRGtelOig3f2/U2zqZuQSc9kmZ8T4XdXsLyTk7kGciCIE6ePLY/sG5WKJqsT7yYRWxm2XqyeekrfXgRjaTVOFxATOGHjvTg4OpQP1Iff0eYFvC9fcBqyMzvBi7ypJmwKjvJfSMiRKVnKYx5YVaOVqT+GEQZEr+67FM+aC2Tsl56nY78ExkVL5sTD1TC/xlygz1j+SUnVDjSDWaI4as1/8MftJ6S1SXTQ==
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=4fFP5/pmBkzR+bVnSLeWYsNpCfhSN9oQsnlV8TzDkXU=; b=ctcMhZOzHJyc1m13xJFMco2aCQIJ6IRMWuwzPfc2B+AtZ4ZV2tUMNRwAspjF7H29XPAVLNU7zNBRDam20dBuuWDZWrVeI7lxH/Bb1II4yS/zuHqRZN0kQpN3Ja3RzaGVwYV8p/g/pAMFp0nnJIve5y8N0RuERB5ssnJV9HRwDCeTFlTRINeAsFxOmcKcAjlPB+ByU+0UCzjQHypsHGpMz0a4Uh/oVJiLtw0tYR/AcWkON4U4A/+JRG7mWj+xKhi/zFV+kyRT/RgJKxyQuMbnDHyTV7Wg9AbrppU5h0IjUOfsrjJDng8jlr6HJuZY2aySJEj85ECjfG7NIqZQxFQZRA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4fFP5/pmBkzR+bVnSLeWYsNpCfhSN9oQsnlV8TzDkXU=; b=u67Hf2mDdB5zZEJ7K5OF12CQL3AQGVIXBiDMaJDoiOStSR3Xw4Fx2rVKgT6f6KttettJwECNGnuk2LH//g5pSM2KTJmutHgO/81Ub/XN4tZI+2r2H1a2sVzwgOOdchuThD3lbD/mjx1vIPSlE6DQVnVu+ld2D3guQCzq7sqWHuo=
Received: from MN2PR11MB4144.namprd11.prod.outlook.com (20.179.150.210) by MN2PR11MB3661.namprd11.prod.outlook.com (20.178.252.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.20; Wed, 4 Sep 2019 17:00:16 +0000
Received: from MN2PR11MB4144.namprd11.prod.outlook.com ([fe80::d5c4:be39:66cb:449b]) by MN2PR11MB4144.namprd11.prod.outlook.com ([fe80::d5c4:be39:66cb:449b%6]) with mapi id 15.20.2220.020; Wed, 4 Sep 2019 17:00:16 +0000
From: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
To: Matthias Kovatsch <ietf@kovatsch.net>, "Iot-dir@ietf.org" <Iot-dir@ietf.org>
CC: "ietf@ietf.org" <ietf@ietf.org>, "core@ietf.org" <core@ietf.org>, "draft-ietf-core-senml-etch.all@ietf.org" <draft-ietf-core-senml-etch.all@ietf.org>
Thread-Topic: Iotdir last call review of draft-ietf-core-senml-etch-05
Thread-Index: AQHVYY+45A6osy1P+0iSk4wi7WwGJqcb4tmA
Date: Wed, 04 Sep 2019 17:00:15 +0000
Message-ID: <E5723A7F-769F-4051-B744-64C132DD4F31@cisco.com>
References: <156742967398.13091.10827676798390937517@ietfa.amsl.com>
In-Reply-To: <156742967398.13091.10827676798390937517@ietfa.amsl.com>
Accept-Language: fr-BE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1c.0.190812
authentication-results: spf=none (sender IP is ) smtp.mailfrom=evyncke@cisco.com;
x-originating-ip: [2001:420:c0c1:36:dddd:960:a05c:9f22]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a54bbe7d-919c-47ec-1c01-08d731595bef
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB3661;
x-ms-traffictypediagnostic: MN2PR11MB3661:
x-microsoft-antispam-prvs: <MN2PR11MB36616278787D9C29A5824B9FA9B80@MN2PR11MB3661.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0150F3F97D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(396003)(39860400002)(376002)(346002)(199004)(189003)(478600001)(2501003)(86362001)(14454004)(45080400002)(6116002)(486006)(33656002)(2616005)(71190400001)(7736002)(305945005)(256004)(71200400001)(446003)(14444005)(6506007)(6512007)(2906002)(11346002)(81156014)(476003)(316002)(46003)(66556008)(66476007)(64756008)(6246003)(76176011)(58126008)(54906003)(53936002)(76116006)(8936002)(66946007)(4326008)(91956017)(66446008)(8676002)(110136005)(99286004)(102836004)(81166006)(186003)(5660300002)(25786009)(6486002)(36756003)(6436002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3661; H:MN2PR11MB4144.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: QmpCeqUjNYkvRQCxn4toDMm0g56DJhwfEl3hCXKTHAWDDOwfty6AP4fNIkP5rUz+FLCSa2W7YhutG3SZoo1Rb+KQScFwwsMfxPSIg7hhGD2EZNtkKIJOMbsYS5sT+cNxnuTbnsnL5aVbiXbcJ9YBqkgnnn3aj9qiKROjYnKAdHbgbm6ckiji8U/vrIvEWaPfIAmszKtyp/nAR/H06jjFSnJg5NCry83c4c00r2SwvJCe7yytP9QX/ifgVpJDS3pmRZfk55750VifCT/TIq6K0uPA/LFxpRPzxka7k6CBqo0WNBykTHr+pnprGPMOvPdK638Hk4/LlJr40AkfAvWdLzjjaw9lLsjeTOd440KQhCSZ0fNDzCM8t1cfP3cso0uTUJkZLLy+ceeTujAIS0mDteNeazCBNYaxrLUTxzB2woo=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <07B40C85E01F8146825FDEC10544886E@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a54bbe7d-919c-47ec-1c01-08d731595bef
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2019 17:00:15.8173 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FELRdb1yKaxnbB9e4mFGCDpixDnL9BW043Asx/8WHD5RHiBL7pKBRGxSdrxtycECis6ebdFh/+w4LeF4WiyaxA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3661
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.28, xch-aln-018.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/UMj26HkI4nqYKKLQGkB7OhtBz3c>
Subject: Re: [core] Iotdir last call review of draft-ietf-core-senml-etch-05
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Sep 2019 17:00:27 -0000

Thank you very much Matthias for the time spent on this extensive review.

I appreciate

-éric

On 02/09/2019, 15:09, "ietf on behalf of Matthias Kovatsch via Datatracker" <ietf-bounces@ietf.org on behalf of noreply@ietf.org> wrote:

    Reviewer: Matthias Kovatsch
    Review result: Ready with Nits
    
    Dear authors and list members
    
    Here is my review for draft-ietf-core-senml-etch-05 from the IoT perspective.
    
    ## Summary
    
    draft-ietf-core-senml-etch-05 defines new media types and their semantics for
    two new SenML patch document formats (JSON and CBOR, resp.). The complexity
    added to implementations that can already handle SenML is marginal and
    straight-forward. Hence, I do not see any issue for constrained devices. The
    explicit media types help in IoT scenarios, where machines communicate with
    machines.
    
    There are a few minor issues that can be solved by the authors alone. Hence, I
    marked the result as "Ready with Nits".
    
    It would be good to get the help from an expert on Windows Clipboard Formats
    and Macintosh Uniform Type Identifiers, as no good guidelines are available to
    check these IANA considerations. (This issue appears to be recurrent also for
    other specs.)
    
    ## Technical comments
    
    * P4 (3.1): I am missing assertions such as "Values in a Fetch Record MUST be
    ignored."
      * What should happen when a Patch Record does not have a value?
    
    * P5 §3: The record must not be added when the value is null. (behavior not
    described formally enough)
    
    * P7: "Windows Clipboard Name" --> Microsoft and for instance HTML spec use
    "Windows Clipboard Format"
      * Okay, the sting itself is the Windows Clipboard Format Name...
      * The long string with spaces ("SenML FETCH/PATCH format") is a bit weird for
      this purpose, no?
        * I also had the problem to find proper guidelines for Windows Clipboard
        Formats; are there any?
      * No Macintosh Uniform Type Identifier?
    
    ## Additional comment
    
    * As already discussed with one of the authors, an implication for LwM2M is
    probably that these patch documents must not be used with Executable Resources
    (one might try to execute multiple resources at once with a PATCH method). The
    application of a Patch Pack is then not idempotent anymore. Furthermore, it is
    unclear what the value should be when the LwM2M Executable Resource does not
    take arguments. * If executing multiple resources atomically is an important
    use case, I think we need another iteration to deal with the state vs RPC issue
    ("use PATCH to call function(s) without arguments by giving a new state?!")
    
    ## Editorial comments
    
    * P1 §1 (Abstract), P2 last §: "iPATCH, PATCH, and FETCH" --> "FETCH, PATCH,
    and iPATCH"
      * It is easier on the brain if the order is kept consistent...
    
    * P2 §6: "hence full name" --> "hence the unique identifiers" ?
      * RFC 8428 does not define or contain "full name", but "globally unique
      identifier for the resource"
    
    * P3 §1: "The semantics of the ..."
      * Creates question about semantics for FETCH
      * Better to reverse sentences and start with "The rest of the document uses
      the term "(i)PATCH" to refer to both methods, as the semantics of the new
      media types are the same for the CoAP PATCH and iPATCH methods."
    
    * P3 §1: ", that can be used with the" --> ", which ..."
    * P3 §3: "Also the following ..." --> to many "also", just "The following ..."
    
    * P4 §2 (3.1): "... when resolved, match resolved names" --> "identifiers"
      * names when resolved are resolved names, hence unclear what is compared
      * P2 calls them "full names"
      * See above, should be something like "globally unique identifier for the
      resource"
    * P4 §8: Add example for records with name and time
      * Would be good to quickly show what "resolved form of records" means
    * P4 §9 (3.2): Add statement that SenML patch documents are always idempotent,
    hence PATCH and iPATCH are equivalent?
      * Basically move the last sentence to the beginning and give explanation for
      "(i)PATCH".
    
    * P5 §2: "When the name" --> "When the resolved name" ?
    
    Kind regards,
    Matthias