Re: [core] Robert Wilton's Discuss on draft-ietf-core-yang-cbor-16: (with DISCUSS and COMMENT)

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 05 January 2022 11:49 UTC

Return-Path: <rwilton@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 1BE6F3A0A88; Wed, 5 Jan 2022 03:49:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.596
X-Spam-Level:
X-Spam-Status: No, score=-9.596 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=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=khp2o/y/; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=eG5ikpJs
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 mC_Kpx5s6h8e; Wed, 5 Jan 2022 03:49:26 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1AA0C3A0A87; Wed, 5 Jan 2022 03:49:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18762; q=dns/txt; s=iport; t=1641383366; x=1642592966; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=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VTmncQ+pcNJo w4tJ5/dX68RE2ufoFzwr/DV9eRfSfhivirWVwLNXdT1V8U9L+AV0rcIpjfSyRQ=
IronPort-HdrOrdr: A9a23:CcCK4aHB9VlcOgMwpLqFSpHXdLJyesId70hD6qkvc31om52j+f xGws516fatskdvZJkh8erwX5VoMkmsi6KdhrNhfItKPTOW9ldASbsD0WKM+UyaJ8STzJ856U 4kSdkDNDSSNyk7sS+Z2njDLz9I+rDum8rE6Za8vhVQpENRGtxdBmxCe2Cm+zhNNXF77O0CZe OhD6R81l6dUEVSSv7+KmgOXuDFqdGOvonhewQ6Cxku7xTLpS+06ZbheiLonSs2Yndq+/MP4G LFmwv26uGIqPeg0CLR0GfV8tB/hMbh8N1eH8aB4/JlaAkEyzzYIbiJaYfy+wzdk9vfrmrCV+ O8+ivICv4Dr085uFvF+ScFlTOQiwrGoEWSuGNwyUGT0fARAghKUfaoQeliA0fkA41KhqAg7E sD5RPri7NHSRzHhyjz/N7OSlVjkVe1u2MrlaoJg2VYSpZ2Us4dkWUzxjIfLH47JlOx1GnnKp gYMOjMoPJNNV+KZXHQuWdihNSqQ3QoBx+DBkwPoNac3TRalG1wixJw/r1Rol4QsJYmD5VU7e XNNapl0LlIU88NdKp4QOMMW9G+BGDBSQ/FdGiSPVPkHqcaPG+lke+63JwloOWxPJAYxpo7n5 rMFFteqG4pYkrrTdaD2ZVamyq9CFlVnQ6dg/22y6IJz4EUdYCbRxFrEmpe4fdIi89vdvHmZw ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.88,263,1635206400"; d="scan'208";a="817396079"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Jan 2022 11:49:07 +0000
Received: from mail.cisco.com (xbe-aln-002.cisco.com [173.36.7.17]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 205Bn7u1010119 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 5 Jan 2022 11:49:07 GMT
Received: from xfe-rcd-003.cisco.com (173.37.227.251) by xbe-aln-002.cisco.com (173.36.7.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 5 Jan 2022 05:49:06 -0600
Received: from xfe-rcd-004.cisco.com (173.37.227.252) by xfe-rcd-003.cisco.com (173.37.227.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 5 Jan 2022 05:49:06 -0600
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-004.cisco.com (173.37.227.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Wed, 5 Jan 2022 05:49:06 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jf6lzKd2+IpcRPgt6nXfg3HyhwxmFmOc3Brabm0hWIizSeCDj5tvK0m3xaV4QnRIh86g3lrHnga7n1WsaUNfChYDgZyTPqY1eFrVda6f+P3LUFwaPtJuQY7vWGFq0I1yhn33/PXUa+22u1r0EOllopu25nn5/cl2pQqjOOrf4WFEaShagD9VHBAvBIfPHZoa548uT/+d3AlkbaT0fdDpwYWzyxbyrBbJZFzX87/oOcuHrd0okVhVYFYgn9fWCTlGNuAiyaVUSoCc/TyD3IYh436skVsJM4F2EOM7K8tFcFW5LGL2uemhyBX2/bCbxojCOi1J3/TFf7OjHsua/K8n6w==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qXw3sy/HTqQk+4YCpAa5Fbwj9DOymq8IXiGWFcfJCb4=; b=OrjFrBvTtx88z4xxu3ILvHOipyzqJL19sg1ZN41PqRzHApI05x5DoybFS10+oWuZWNtgOOHJO3qOhi9IOsZqlhEzssAzgUoX2GqEMUdhJrmGPheh9PWlaBjVsLJlvBSENk6/Eus4ryoVrQB7x1KCBxW8Uyeu7nRQYrQwA09Z5rrml8jUIu7U6z3Dfd9FeP0qS6i8hbGrKeTDXAWY2ZNreVoRQ73lsjPaBXDoL1O3QPd5odZOrMGKFBPeQQ5FhLzV5AFNhaDPvsxqqFbn6Cyh/p8bAFZnMum7ueKqhr25+StUDdrrCsQdRg/2HdqIzpCHe1iIxrsjqXTjdg1m9Fd73Q==
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=qXw3sy/HTqQk+4YCpAa5Fbwj9DOymq8IXiGWFcfJCb4=; b=eG5ikpJsmj4XahfCoDvdrYQmYcvzs6ydn5na66Z4082JV42kEnrdIHRLlN9YRK/g497D2PTLegncI6yESmpMpeYUR2YsmHPYAQaN6VwALyYpBIl/6am4+KUEe9nslNWcN/k62hEHAB74l7kngMNA9QB01Fxvm1t9Ni7U40DrVbM=
Received: from MN2PR11MB4207.namprd11.prod.outlook.com (2603:10b6:208:18a::33) by BL0PR11MB3426.namprd11.prod.outlook.com (2603:10b6:208:32::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.7; Wed, 5 Jan 2022 11:49:04 +0000
Received: from MN2PR11MB4207.namprd11.prod.outlook.com ([fe80::f439:7e14:814a:7d7a]) by MN2PR11MB4207.namprd11.prod.outlook.com ([fe80::f439:7e14:814a:7d7a%6]) with mapi id 15.20.4844.016; Wed, 5 Jan 2022 11:49:04 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Carsten Bormann <cabo@tzi.org>
CC: "draft-ietf-core-yang-cbor@ietf.org" <draft-ietf-core-yang-cbor@ietf.org>, "core-chairs@ietf.org" <core-chairs@ietf.org>, The IESG <iesg@ietf.org>, "core@ietf.org" <core@ietf.org>, Marco Tiloca <marco.tiloca@ri.se>
Thread-Topic: Robert Wilton's Discuss on draft-ietf-core-yang-cbor-16: (with DISCUSS and COMMENT)
Thread-Index: AQHX9VTOKYxZbqYyUUCkX4j2D09Gj6xUXaew
Date: Wed, 05 Jan 2022 11:49:04 +0000
Message-ID: <MN2PR11MB42073068640E639EFB66EC5DB54B9@MN2PR11MB4207.namprd11.prod.outlook.com>
References: <162635612227.22030.13513408024494659570@ietfa.amsl.com> <096F7FFB-21FA-49A9-BFA3-FA6A5A6B4ECD@tzi.org>
In-Reply-To: <096F7FFB-21FA-49A9-BFA3-FA6A5A6B4ECD@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5fb470d9-d84d-4999-37e4-08d9d0415fbc
x-ms-traffictypediagnostic: BL0PR11MB3426:EE_
x-microsoft-antispam-prvs: <BL0PR11MB3426347A2A626CEBB114D848B54B9@BL0PR11MB3426.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HH/AjZjAYDxzX3OGoeR3FVNv60hywrYoJLVctN193T5OZnwvH3Bk+6VeZn71gPHuo3QHnciSldjDWiouBXg5Jtuwe6kLqW5Jo7tyePZ1yMexmTmt9pG9kgN/laxyeuSRd6A0OYeQKN/0XRHIWhN+QHLA3nEvQKLxbj5mvEqUviGA5ZPT9Oqts5qRtfzDU6hq9sP7dnPBGfS7szcg0/HK8bghUqK1qI6QQr7T7m2S2xLl7m1vTN6It/VGc22K7Gfu3Cso5O/T3Cs7adfhuPEBb2fIjZvRfmwUw2pLbnK+srxK7aUQOg2ZG9rF9xRZ6+YqFmOm4y3ocLf7SrGWwHeFjNwTZDK3KiVS2CBNazYG4tJAUs86RMKZ+AnfnoSvu6NSTOhv7hQ3p7t/0/ylfpDdxFG0NtHoDSiq5fvn3n/GRzg+SaNj9y/Q+PXcHfId9uOw5mAhG/7Ky1wpxAFO3I9ogzPWXanF3u1CsaxrR5tL+vwyRgShKyKZl2YLrqD2tS4Vj0BIBr3jiyXtXlV7i8h91cBniAEx4Z9TCQ9+sf62XsdM9nXvG7Vo2sErKYIInFBcaACX0IqWv+SmbHdT22xUcUkVQUdTO5p9QJaE+TLKg3CN8Bz/v7a2XqAzcbmQv+nKJWKkOoL+Ki8CCjkO9/lMOjTJU0H7Z7QWX4ahD6DfvCQFrhnaInlXIPFG25Pc7TZo6mGhar0MWQMLtMMYFbBft5+khyVOTUN7Tbwhr5laS12mB3yqobrGnKcFXrKWwLg+I2zCHxIFZuTsP2y8y1CojBwKZPhBYown7vRZE7od2pvML1IET3f63oQBOt34oRn1RwnIzXBj8IIrp8jlFe6ZXw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(55016003)(83380400001)(53546011)(6506007)(4326008)(54906003)(186003)(6916009)(52536014)(7696005)(8676002)(316002)(86362001)(122000001)(38100700002)(9686003)(33656002)(64756008)(66476007)(66446008)(66946007)(966005)(26005)(71200400001)(38070700005)(30864003)(8936002)(76116006)(2906002)(508600001)(5660300002)(66556008); DIR:OUT; SFP:1101;
x-ms-ex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ACqI6JU/zkEXlSbEh435SNxQD0M62jIpd+7RnGdiNfDl9YqqQayyerU7/dR54xgFmk9kagO+pQz/6vapQik8Fh4fjd+nFbg3eOsZEJOD8sEh/Nmiboz0P/W5GWRosTk/3dR5pXKIoBBO8O9ZGkkwmwffEPJN3yH7bt4k7XJUleuUtcA2rzy8IWatQPCBKtJXp3uWqjhAg3LL00EKS3GJtCirgfPecCSatcd7cbPidhqUDTebJqlyUbkVxAb0d6VXzTUARZDFwl7cAOtVct/B+EtSzdlU/2xsL1NRwuLsv6FX83btL/rMSYDaBocW0idW47o0T2JKh8zYpwXSOJoMDJOwOcm5AQ2Fdy7Bw0M9AE5k2oG5RWxGaDrR2/58I7PTLhFs+HCSO4j5UPQSZx0cAxiTMLLwFX4mSIIVUl1hz/Ab9Jfr6dZ8QQwXSmiTSMfTwudCosbW6hmtfp+Cn525nEsV6AFwpTwzO8hMbgvkA/Kz9mpA5TfiPwyjf3A0Yo8ibjXQTTsE0pCXJiYHA2eF1HxHwx555G16KkJ7e3vgt3vNVdbCYzvTTAmMFMpWq8UbZywlU1aSxnuT+wqWQ==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4207.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5fb470d9-d84d-4999-37e4-08d9d0415fbc
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2022 11:49:04.5539 (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: RuKUiij/uUBhTGAx2VJT0JzIE9AjkgIN1UVYVALwlFrYekICoU91mQJHmoXjw2k3Yg/N1AS97sXSdX3nEa3Vyg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3426
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.17, xbe-aln-002.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/TGn6ihu3iFvqJCjwiAMwfMaYt5s>
Subject: Re: [core] Robert Wilton's Discuss on draft-ietf-core-yang-cbor-16: (with DISCUSS and COMMENT)
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, 05 Jan 2022 11:49:31 -0000

Hi Carsten, all,

Thanks for working through my comments, your updates look good, the only two discuss points that I think that we may need further discussion on relate to assigning SIDs to features, and a question arising from the normative reference.

Whilst checking the changes (between -16 and -18), I did notice a couple of things that I have flagged, in case you want to tweak the text further:

(1) Section 3.2:

                                                 Where absolute SIDs are	
 	   desired in map key positions where a bare integer implies a delta,	
 	   they may be encoded using CBOR tag 47 (as defined in Section 9.3).
       
Just to check, is may rather than MUST correct here?  I.e., if you want to use an absolute SID where a delta is expected then it must use CBOR tag 47, or otherwise the receiver would not know it is an absolute SID?

(2) 
	  *  application/yang-data+cbor; id=sid -- for use by applications that	
 	      need to be frugal with encoding space and text string processing	
 	      (e.g., applications running on constrained nodes [RFC7228], or	
 	      applications with particular performance requirements);	
 		
 	   *  application/yang-data+cbor; id=name -- for use by applications	
 	      that do not want to engage in SID management, and that have ample	
 	      resources to manage text-string based item identifiers (e.g.,	
 	      applications that directly want to substitute application/	
 	      yang.data+json with a more efficient representation without any	
 	      other changes);

I think that it is fairly obvious from their names, but the definitions don't technically restrict what type of ids are used in the content.  Should they be more explicit on this?

(3) Related to 2, I did wonder if the document could possible be clearer about what is allowed when mixing name and sids, perhaps as an extra sentence in the third paragraph of section 3?  As I understand it, barring the media-type, anything goes, e.g., a container or list entry could contain some entries encoded with name ids and some with sids, e.g., which could be required if handling an augmented module that doesn't have sids allocated.

I'm happy to leave it to your discretion to decide whether and how to act on the three comments above.

I've put some comments inline, the only two that I think require attention are the ones related to discuss points 4 and 5.



> -----Original Message-----
> From: iesg <iesg-bounces@ietf.org> On Behalf Of Carsten Bormann
> Sent: 20 December 2021 03:51
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: draft-ietf-core-yang-cbor@ietf.org; core-chairs@ietf.org; The IESG
> <iesg@ietf.org>; core@ietf.org; Marco Tiloca <marco.tiloca@ri.se>
> Subject: Re: Robert Wilton's Discuss on draft-ietf-core-yang-cbor-16: (with
> DISCUSS and COMMENT)
> 
> Hi Rob,
> 
> here is finally the response to your feedback, based on yang-cbor-18:
> 
> https://www.ietf.org/rfcdiff?url2=draft-ietf-core-yang-cbor-17.txt
> https://www.ietf.org/rfcdiff?url2=draft-ietf-core-yang-cbor-18.txt
> 
> > On 2021-07-15, at 15:35, Robert Wilton via Datatracker <noreply@ietf.org>
> wrote:
> >
> >
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> >
> > Thanks for this document, it is good work, and I think that there
> specification
> > is almost there, but that the text could be tightened up in a few places.
> >
> > 1. The document should be clearer on its use of terminology around
> schema
> > nodes.  Mostly the encoding related to YANG data nodes, not YANG schema
> nodes.
> > I've provided more information in the comments section.
> 
> Right.
> Neither schema node nor data node are the term we need most.
> We have introduced the term “representation node” for instances of schema
> nodes that turn up in representations.

Yes, that sounds good.  It would have been nice if the base spec was clearer on this.


> 
> > 2. As also raised by Ben, this document should probably cover the YANG
> data
> > structure extension in RFC 8791.  This could potentially be done in addition
> to
> > rc:yang-data, but perhaps better in its place.
> 
> For the internal usage of YANG in the two drafts:
> We changed the ietf-sid-files module to use sx:structure.
> https://github.com/core-wg/yang-cbor/pull/116
> This is about the documents’s *use* of rc:yang—data migrating to
> sx:structure.
> 
> As far as showing sx:structure examples with encoding from YANG-CBOR:
> We have introduced sx:structure as another representation node, equivalent
> with container.
> This should cover all aspects of representing sx:structure.
> 
> We do not plan to remove the support for rc:yang-data.

Sounds reasonable.


> 
> > 3. Did the WG consider supporting encoding YANG metadata (RFC 7952)?
> > Presumably this would be expected to be covered as future work?
> 
> The design team did; we did not discuss this on the WG list.
> Supporting RFC 7952 metadata is a non-trivial effort, and we wouldn’t want
> that as a late addition to the present document.
> We do plan to set up another document that defines the CBOR
> representation of metadata, but not to include this in the present document
> (or round of documents).

That sounds look a good approach.


> 
> > 4. How does the CBOR encoding of SIDs apply to YANG features?  This draft
> > references features and the SID draft allows SIDs for them, but I don't
> > understand how they are used in the encoding (since features don't appear
> in
> > the instance data, they are only at the schema level).
> 
> YANG features can occur in the data of a YANG module, e.g., yang-library
> (RFC 8525).  Using a SID instead of an identifier for a feature allows a
> compact representation.

I'm still not really understanding how this would work.

The YANG library data carries the feature as a "yang:yang-identifier", which has a string as its base type.

So, unless there was some special handling either for the 'feature' leaf-list in YANG library, or for the encoding of "yang:yang-identifier" to allow the use of SIDs, I think that this would naturally just end up using a string encoding of the feature name (along with all other yang:yang-identifiers).

I can see that allocating SIDs to features does no harm, but I still don't currently see how they can be used.

> 
> > 5. I also support Ben's second discuss point.  I think that as written, this
> > draft needs a normative reference to the SID draft.
> 
> I don’t necessarily agree, but this is an easy change without negative
> consequences.

Okay, I can probably see where you are coming from, in that the intention is that the SID draft just defines a file format and allocation strategy, but the core definition of a SID is contained in the CBOR draft.

The SID draft constraints SIDs to being 63 bits.  Should that text/constraint move to the CBOR draft instead?


> 
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > 1. Abstract:
> > This document defines encoding rules for serializing configuration
> >  data, state data, RPC input and RPC output, action input, action
> >  output, notifications and the yang-data extension defined within YANG
> >  modules using the Concise Binary Object Representation (CBOR, RFC
> >  8949).
> >
> > When I read the abstract, it raises the question about what is left out.
> > Hence, I am wondering whether it wouldn't be better to just describe it as
> > encoding YANG data tree instance data.  However, I see that the
> description
> > effectively mirrors the abstract for the YANG JSON encoding (RFC 7951), so
> it
> > is at least consistent.
> 
> We discussed this and do want to stay consistent with RFC 7951.

Okay.

> 
> > 2. I find this document (along with the SID draft), somewhat confusing in
> that
> > it references YANG schema nodes, but in most cases, it probably only cares
> > about the subset of YAND schema nodes that represent itemsthat are
> present in
> > data tree instantiation.  RFC 7950 calls such 'schema nodes' as 'data nodes'.
> > For example, 'choice', 'case', 'input' and 'output' exist as nodes in the YANG
> > schema tree, but are not data nodes and don't appear as instantiated data
> nodes.
> 
> The representation may also include information about schema nodes for
> action, rpc, input, output, and notification.  We introduced a new term,
> representation node, for this subset of schema nodes (see above).

Okay.

> 
> > Where this causes problems are in the definitions of: 'child' - (e.g., 'case'
> > cannot be a child of a 'container' only a child of a 'choice', and equivalently
> > for the definition of 'parent'.  This definitions are not heavily used and
> > could perhaps be removed?
> 
> We removed the definition of “child”, as it was used in only one place and
> that could easily be substituted by “schema node defined within”.
> We left the term “parent”, as this is used seven times, and clarified it to
> mean The schema node of the closest enclosing representation node.
> 
> > Hence my suggestion to clarify the text are:
> > - potentially import and use data node rather than schema node.  Note that
> > data node, as defined in RFC 7950, is a subset of schema nodes, so you still
> > need the text saying an instance of a data node.
> 
> We do import data node and already used it occasionally in -16.
> By the way, in the whole of YANG, I can only find RFC 7952 that ever talks
> about an “instance of a data node”, so I’m a bit reluctant to use that
> terminology throughout — any problem with using “data tree node”?

I think that "data tree node" is clear and unambiguous.

> 
> > Arguably, the RFC 7950
> > definition of a data node is somewhat confusing. - please check
> everywhere
> > where 'schema node' or 'data node' turns up in the text to ensure that you
> are
> > referencing instances of that schema node rather than the schema node
> itself.
> > E.g., the second paragraph in section 3 states 'where each child schema
> node
> > is encoded ...', but this should be an instance of child schema node. -
> ensure
> > that if you are referring to the parent or child of a 'schema node' that the
> > logic skip out the schema nodes that don't get encoded in the data tree.
> > E.g., when calculating SIDs.
> 
> This was covered by introducing the term “representation node” discussed
> above; please see updated introduction to Section 3.

Looks good.


> 
> > 3. I think that some of the references to submodules are not quite right.
> > Basically, the CBOR encoding should not need to concern itself about
> submodules
> > at all, since logically, it works with the module schema (which logically
> > incorporates the submodules).  E.g., perhaps you could mention this in the
> > introduction, referencing section 4.2.1 (4th paragraph in particular) of RFC
> > 7950?
> >
> > Hence:
> > In section 2:
> >  *  item: A schema node, an identity, a module, a submodule, or a
> >     feature defined using the YANG modeling language.
> >
> > I think that this should exclude submodule (and possibly feature as well).
> 
> Submodule is mostly gone from -18, except for paragraphs such as:
> 
> >> Note that any structuring of modules into submodules is transparent to
> YANG-CBOR:
> >> SIDs are not allocated for the names of submodules, and any
> >> items within a submodule are effectively allocated SIDs as part of
> >> processing the module that includes them.
> 

Looks good.


> 
> > In section 3.2:
> >  YANG modules, submodules, and features
> >
> > I don't think that you want submodules in this list (and perhaps not
> features
> > either).
> 
> Indeed, we removed all instances of “submodule” in lists of nodes.
> (See also reply to “features” above.)
> 
> > And in:
> >       6.13.1.  SIDs as instance-identifier
> >
> >          SIDs uniquely identify a schema node.  In the case of a single
> >          instance schema node, i.e., a schema node defined at the root of a
> >          YANG module or submodule or schema nodes defined within a
> container,
> >          the SID is sufficient to identify this instance.
> >
> > I would remove "or submodule" from this text.  Effectively, the text about
> > modules already covers this.
> 
> (See above.)
> 
> > 4. Please check the text that describes how lists are encoded.  Section 4.2
> > seems to suggest that they are encoded as a CBOR Map, section 4.4 states
> that
> > they are encoded as an array.  I presume that the answer is that they
> encode
> > the list is an array, and each list entry is a Map.
> 
> We now consistently use “list entry” (Section 7.8 of RFC 7950) for
> representation nodes that form a list.
> 
> > 5.
> >  Values of 'bits' types defined in a 'union' type MUST be encoded
> >  using a CBOR text string data item (major type 3) and MUST contain a
> >  space-separated sequence of names of 'bits' that are set
> >
> > It might be helpful to have a quick sentence to justify why this is done.
> 
> We added references to the section 6.12 in 6.6 and 6.7.
> We added some explanation in 6.12.
> Fully explaining the unfortunate idiosyncrasy is a bit beyond the scope of this
> specification, though.

What you have added looks good.

Thanks,
Rob

> 
> Grüße, Carsten