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 17:14 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 671DC3A11F5; Wed, 5 Jan 2022 09:14:34 -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=axK4qkfT; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=fCSsqnhn
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 y-RoD2WHq1Ub; Wed, 5 Jan 2022 09:14:30 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AEB9D3A11ED; Wed, 5 Jan 2022 09:14:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12736; q=dns/txt; s=iport; t=1641402869; x=1642612469; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh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SNLZJUCoNCinKUcBWDcIwIl3CWN40AlCULhHgCBAIEBQIOAQEGgWE7gVlwFTuCaVEZD44gDBYVbwEIgkOFFIVKdDgCBgEKAQEDCYxYgkYBAQ
X-IronPort-AV: E=Sophos;i="5.88,264,1635206400"; d="scan'208";a="954824897"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Jan 2022 17:14:18 +0000
Received: from mail.cisco.com (xbe-rcd-002.cisco.com [173.37.102.17]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 205HEICH003693 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 5 Jan 2022 17:14:18 GMT
Received: from xfe-aln-001.cisco.com (173.37.135.121) by xbe-rcd-002.cisco.com (173.37.102.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 11:14:18 -0600
Received: from xfe-rtp-004.cisco.com (64.101.210.234) by xfe-aln-001.cisco.com (173.37.135.121) 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 11:14:18 -0600
Received: from NAM04-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xfe-rtp-004.cisco.com (64.101.210.234) 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 12:14:18 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=La+nfFYcYXPv6CyrpthKJAX/yzFFh2LQvKFraurxhQ87eubNnSuHzqiFhrZD25Kd96kmY98Gq7AcoRGLokXMuNm2UbyF3XPUEi4DAi/h70ge9QjQzei4PzCPq/Dh7eWpmwGvmyi7TMt2tm/dDYJJTa2wHuuUBO5yJ8/jSqkuD21ObY5HAQz+EvYt6nPuurPaGk7D5g7XSmSuaBki01OkIeYdE2YYH1I44ZNctdfswBBjFPpwk0tb3XQ9udmSSB1jhVaM702UoWhZbWIKLpDVyPM4tJv6rK3tW8qrze0WDAaySMHuvnb97HSwe1bI0bQ71BXzBQOcvQTgSwe2eb7JDQ==
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=LsU69SmVmMz4YtRzzUPi1N3eqfl7AEKxszBfasALIeE=; b=esaGNyEkaV7cefmiGBEzgRC5/rQXt54BVddVhjZBa4cFLYrIwnNvWm+pWxLdDe981OC0KVCMHmFFlGq2M/Ckitoc+QPCT6BbyXpQU54tAZPOggYwYt/Hlx6nS+YJvT9Tqu+l9/dgvWZxkJlfYrDSJ76iRA/IaAoO0qk4wLKdDG51u7s77bHOoyPgzXqZMzIa7upgFE/XqMPCxWxNniM+ndO9ObX21UX0DyN1U0tDSVjz/RP+TseE282IN5S8jWOR0SHdhuF5w6Rj5Man8OqrzJLSp6tZjAUMqOXp53kXeutQr0WoLtRzrrvShQXVC6R2cLMHtgQCsSy3wjyxXeWWBg==
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=LsU69SmVmMz4YtRzzUPi1N3eqfl7AEKxszBfasALIeE=; b=fCSsqnhnfTfN2H4bfw2uh3CrYUc1LYhTCsCCMbtpuhGvOKOletPlDjjznpPyxGm/uFo1B3QaqHrfCI9jSeNrt3EMbDEMSPtmR2++W5f9ay8Kl7AUkP0gnpxxP+JA8AcF1zh7iVq8jxDIx5MZo6lIqaIe/5cYIFRHLTum+bXPdLw=
Received: from CH2PR11MB4198.namprd11.prod.outlook.com (2603:10b6:610:3b::31) by CH2PR11MB4262.namprd11.prod.outlook.com (2603:10b6:610:42::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4844.14; Wed, 5 Jan 2022 17:14:15 +0000
Received: from CH2PR11MB4198.namprd11.prod.outlook.com ([fe80::cf7:74d7:69f6:2cfd]) by CH2PR11MB4198.namprd11.prod.outlook.com ([fe80::cf7:74d7:69f6:2cfd%6]) with mapi id 15.20.4844.016; Wed, 5 Jan 2022 17:14:14 +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: AQHX9VTOKYxZbqYyUUCkX4j2D09Gj6xUXaewgABUu4CAAAMmcA==
Date: Wed, 05 Jan 2022 17:14:14 +0000
Message-ID: <CH2PR11MB41989F812003D2000043A347B54B9@CH2PR11MB4198.namprd11.prod.outlook.com>
References: <162635612227.22030.13513408024494659570@ietfa.amsl.com> <096F7FFB-21FA-49A9-BFA3-FA6A5A6B4ECD@tzi.org> <MN2PR11MB42073068640E639EFB66EC5DB54B9@MN2PR11MB4207.namprd11.prod.outlook.com> <B664467F-5DA1-4D0D-9D73-85E41C3191A5@tzi.org>
In-Reply-To: <B664467F-5DA1-4D0D-9D73-85E41C3191A5@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: 630f184f-e4cb-47bb-2007-08d9d06eccc0
x-ms-traffictypediagnostic: CH2PR11MB4262:EE_
x-microsoft-antispam-prvs: <CH2PR11MB4262D4ED2D52CCE7F43D1FE9B54B9@CH2PR11MB4262.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: IigJgW1fR+SK7j4oyPKyxVH3VzgqCr+5qRqKfatvEUs3VSD889wFqLhMVP7BDrmWGta+t4qT6N6ZqwRVguTAhOCwTPNdxH7JrBlCMP8hoCQU1AMTVaOI56lHTnagQ0ir64xAIcXAPI/Lx8oZKOSZEVMPJnwOA2IvEsREZvcoCCBI/KTSiDGdQjQ7Z0EEzp9DL34kOxCGrl8ypxbS862m1YRkpRoCZVkjs8nHSATerY4K345HL5nAqALZgwJ6JUdglx29v/TcaadY1pkz1qqBEtI9Xj/0U0BTYXIlZln5J2+BCB2asWnIvcpQOq8RBGcl+v6B/S8T/H1aoDYRNV6PifrNoMQ772hiXjHTWRaTKc9QMU5WWgReBIjnMflxh2miAseZLkWpzaRmNZmVNjcrlJA7x7MOouD6YG5rWfEvfdTGkfYQsGZkFCKzK6KTNmKoMzjmknXR+4mvbBUM71Z0DE6YzE0f2I+KbMWiyytADzWmSiMAQdeVG+/p5BlWWG35d4MSP9wlAtiCVQyAgrnF2aJilfq8Rj88fL2X5zQ5PgdCaE0QvSxyl0ADMukMlKLWlu1YV1DOZKwaw0RYDOGoz3p0P5V5pN0M8YfTkW5u5o7aTnZhdA6KU0NYq2k/hRD1QRWPBdy7M9hmfjjvt6FE2tjg714xEigceX8tJPjnXuBBBXby4CLKtZzPTOtru9czNv8vB+xg71hAjqr8TXTO+ry39UzffIXrcarDJvlKca9Ga7PAfAviaSa0TQWtK8LtwN3qeqPA6CWgM9cCJrLJJanPgo/nSNNC86RySWuiWr3AmzIIvfz+yNS7SCqmqJtMaLdYKjYGurwySi6FLPafMw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR11MB4198.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(5660300002)(52536014)(66946007)(186003)(9686003)(38100700002)(966005)(4326008)(2906002)(38070700005)(6506007)(86362001)(7696005)(53546011)(71200400001)(66446008)(64756008)(122000001)(66476007)(33656002)(66556008)(54906003)(316002)(55016003)(26005)(508600001)(83380400001)(8936002)(6916009)(8676002)(76116006); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: t+achWldmQEPl1SCi877HuXbYFe3E6LfX8+aPjBsJfr66EOrJyuXbTbZc2KiSQBkBt86Z7ucDQnkBScdg7sD6qo2wJH7bENGhi4amajeC/DAUnUqete11GEjWNOlGqK0AEO5QFCaTurp5rEigeK5I1HRvZvzrfbSMR0EYx4xMWcdHYNqpd2aCApVA/4U0+7Ivt/5dNa9RPQIBkVefEwtFCorPpx4EuwsXJzjDinCxo/qi++1FNSa2VT2z3soCQ+wBOwbz2402EB8GFmum+oovxpszDHA7BJbo1+/rnq5ZIigBD+6Apsoc/VU0IgHX2qk/ClywwtI0dnMAttQpG2sdBI7OANK/XBiarlIGDn6M5Uc4uH2gZm09uDD1AodqvfOjic7Spx1npiWxqgewO7m8j7QaVB35cctBZenZkPZlsdnpOsxCg0trf2FQ7bja3STC0+gk7MeG0X9HfsiuF1Oz9J1LwvAfL9c6K2ads1+kFUOD6XnXjlzOWpnaox+eJkXhLWOdDWhwaiYQkPDD/peYd5mKKRCSv+bPEMTOsg3eVp/brajjkJz6X6HIamFkKZgG9kBVv0L0c8+8zYxEOoJCFyNfMfInAISWihpqEPSH9baYoVkXNKh7JYrIWIfr6uGT0KBWwxegnuC6CR9b++Is2V1cbcxIkgnr9409bW+TilVJXC/W/Tpnd8i63eqh8OrfRzpDZ6wuOzfa7rswFbDxRRtjgw2+gg09anmnv2YNge281mZay78faH6qL9j7VAMBJQFWCF1dFkSV5z8xLQaJQXU8Bmh1sftV00JB3TbcxsBYv32lQS/CNrbZ/vktQ6BVsEf8XZ8bpbVcm8Pg3wnSbzxOhEOANsXnBsxUVR6DWxoD0xEbomr0Ovb1a85k9Kfwv8b7AokrpgLRCzt1cIMLmDsKtKBWEiZCtSWlHPKXuWEnemEegVBp0HGPDofPyHHubE/dgT0hDXoTQqbAKQ6zHN4E9K26Qxu/qmRyr7AEuCbEE9PX8n/r8ompoek74WQn3OsVcuMbXz6s6JU1SwVjUXFbeh3A8/6ySjqh1uBYt+nW0vWjVbkqF1zEaBFFnqT04pZL40y6dVmQ389ikUPAymy6D5xac6IJtgQVDWKZOMrYuz1gRw3+EO7Ho8t2yZ91LZ6VxVySS47rBng3R98eBAbJPCClOveErRAAJTyLkemNcJbrislgbaUTmvOhPItG1NypJMVPShWVK5ZbuVEBxC7Hp/DrwRRP78uDQUWpJ2zKfwD728hBpj9btGB0MLK/VzlgAIJbwwDwIasfCzUdRSwfNwpYdHuRWBD3U2oDDOHhBpty0guzBNSB9zJuwFcCYr7J7HUJA/l8HImLNK4JCMWcYIuGqCoJaFhPBK2MeoxGQIuondG/xoShHZiJb97EHtlXwZHgvdGh7BLFerhqOx1K1lG4SXz4S1eeBaoqPFN4seY9opuWzIk5BovQZxVqt4dyTm5fNKo9syLZFLi1eI6n9kHOn83PjrYwkmqQ1OsHMlsvAipnGG819eSSSBKJzeRy8jyk28H4dfQtl/8uuq4mOU+41POMza7rCUMD+suL1oA9YKEP86GcKyv6WwzoeGsLtAZqiThtPh+Hy7EhQ==
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: CH2PR11MB4198.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 630f184f-e4cb-47bb-2007-08d9d06eccc0
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2022 17:14:14.8829 (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: GjeMyam+9IQGRIhJId1H35kAg31bIfy/9EznpttkavyJFIZBXcz0GSdlhu2mv8PkO76ahcPmJJWXgGOGF8krbw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4262
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.17, xbe-rcd-002.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/plsyq-W8KX9F00KQmPqa-h-KsMI>
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 17:14:34 -0000

Hi Carsten,

Thanks for the answers, please see further comments inline ...

> -----Original Message-----
> From: iesg <iesg-bounces@ietf.org> On Behalf Of Carsten Bormann
> Sent: 05 January 2022 16:09
> 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,
> 
> thank you for this quick response!
> 
> >
> > (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?
> 
> The use of absolute SID values as map keys indeed requires the use of tag 47;
> the choice is only whether to actually opt for absolute SIDs or to keep with
> the (untagged) normal deltas.
> The sentence you cited was intended as text leading in to a cross-reference,
> not a normative statement.
> 
> However, that normative statement isn’t fully contained in Section 9.3, which
> just defines the CBOR tag, but somewhat smeared over 4.2.1 and the
> example in 4.5.1 (of all places).
> So it seems that some editorial surgery would be beneficial here, making sure
> that the definition how to use tag 47 and an example for that is in a form that
> can be referenced here (and, to reduce may/MAY confusion, we probably
> should substitute “can”).
> 
> Now: https://github.com/core-wg/yang-cbor/issues/137

Okay.

> 
> > (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?
> 
> The intention was to say this in paragraph 2 of Section 7 — the cited text is
> just the summary of this section.  We could repeat the salient parts in the
> summary, but that has the usual risk of stating the same thing twice in subtly
> different ways.

Ah, that's fine.  I was only checking the diffs, so I had missed 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.
> 
> Indeed, the intention is for the mechanism to be permissive — I think that
> styles/policies on how to best use the mechanism in hybrid scenarios will
> need to evolve before we can write them up (possibly becoming part of an
> RFC-8407-like document at some point).

My comments was really because I was wondering if this permissiveness is perhaps non-obvious (although the file definitions provide a counter example), hence I was questioning whether making the permissiveness explicitly clear would be beneficial to the reader.


> 
> [Skipping items where no further work seems to be necessary:]
> 
> >>> 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.
> 
> We didn’t want to put in examples showing good ways of using these feature
> SIDs, again for mechanism/policy reasons.
> 
> However, an example usage can be found in Page 8 of core-yang-library:
> https://datatracker.ietf.org/doc/html/draft-ietf-core-yang-library-03#page-8
> 
> grouping implementation-parameters {
>     description
>       "Parameters for describing the implementation of a module.";
> 
>     leaf-list feature {
>       type sid:sid;
>       description
>         "List of all YANG feature names from this module that are
> […]
> 
> So a YANG module needs to make use of sid:sid explicitly in order to make
> use of SIDs for features.

Okay, I think that this was the bit that I was missing.


> 
> Enabling the use of SIDs automatically in the encoding of any SID-naive usage
> of yang:yang-identifier could widen the field of application.  However, as you
> note, at the base type level these are just YANG strings, so we would need a
> mechanism such as a CBOR tag that can be used in place of text strings
> anywhere in the encoding.  This would seem to be a rather invasive
> mechanism, for a somewhat limited gain.
> Simply allocating SIDs for YANG features costs nearly nothing, and enables
> the above optimization in a module that will often be used in an id=sid
> environment.

That's fine, I wasn't suggesting that - I was just not understanding how you were planning on using the allocated sids, and whether it needed any explicit text to describe how they are encoded, but I see that this just falls out because they are defined as YANG uint64s.

Note, possibly it would be 'nicer' if the YANG typedef for "sid" was defined as part of a separate typdefs YANG module (arguably ideally in this YANG CBOR draft) rather than the SID file draft, otherwise your CORE YANG library will end up with an import-only dependency on ietf-sid-file.yang.  Not the end of the world, but I thought that I would flag it, and leave it to you to decide whether you want to act on it (i.e., I won't hold my "discuss" for this point).  To give an example of where became a slight issue: OpenConfig wanted to reuse iana-types.yang, which had a dependency on a type defined in ietf-interfaces.yang but didn't want to use ietf-interfaces.yang.  In hindsight, having the type defined in a separate types YANG file would have been better.


> 
> >>> 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?
> 
> Strictly speaking, the YANG-CBOR specification does not have to make this
> constraint; deltas from 64-bit unsigned integers do fit into CBOR 64-bit+sign
> integers.  However, given little compiler support for 64+sign, implementers
> are rather likely to get this wrong.  More so, as the usual source of SIDs to be
> used with YANG-CBOR is constrained to 63-bit integers, as you note, so there
> will be little testing of SID deltas that don’t fit into int64.
> We can defuse this situation, with no practical loss, by insisting on 63-bit
> unsigned integers (0..9223372036854775807) for the SIDs in the YANG-CBOR
> specification, as well.
> 
> Now https://github.com/core-wg/yang-cbor/issues/138

Thanks.

I'll clear my discuss.

Regards,
Rob


> 
> [Thank you for the affirmative comments on our responses to the
> COMMENTs.]
> 
> Grüße, Carsten