[core] draft-bierman-core-yid-00 open questions

Michel Veillette <Michel.Veillette@trilliantinc.com> Wed, 24 August 2016 16:53 UTC

Return-Path: <Michel.Veillette@trilliantinc.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 A4E4612D5EB for <core@ietfa.amsl.com>; Wed, 24 Aug 2016 09:53:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=trilliant.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 cLw_P3S0BJxm for <core@ietfa.amsl.com>; Wed, 24 Aug 2016 09:53:45 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0115.outbound.protection.outlook.com [104.47.42.115]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA20412D5B7 for <core@ietf.org>; Wed, 24 Aug 2016 09:53:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Trilliant.onmicrosoft.com; s=selector1-trilliantinc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VDm5J53nZ8GlpWINecloItcKqOUKp12+7kEJXIn1XBc=; b=KbI5+j8KZUxlxQKJBuzwqfVa4HKvVYqj/93Beo/Hl4ux5QPKAUSOBKvkGIa/X6sh77abEsRKhecWIt2dTxBD2RftotPIjaUqK7ddc0dp3ubgPic+9vRXnxOUwj8FgfN1rLQAppzni2KK1ffU8/m1hI/MZXSRamBv+ppbP9cUHPE=
Received: from BN6PR06MB2308.namprd06.prod.outlook.com (10.173.19.139) by BN6PR06MB2305.namprd06.prod.outlook.com (10.173.19.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Wed, 24 Aug 2016 16:53:43 +0000
Received: from BN6PR06MB2308.namprd06.prod.outlook.com ([10.173.19.139]) by BN6PR06MB2308.namprd06.prod.outlook.com ([10.173.19.139]) with mapi id 15.01.0557.030; Wed, 24 Aug 2016 16:53:42 +0000
From: Michel Veillette <Michel.Veillette@trilliantinc.com>
To: Andy Bierman <andy@yumaworks.com>
Thread-Topic: draft-bierman-core-yid-00 open questions
Thread-Index: AdH+KA3Hq1Q3oFkDSaO2q9py8NuksQ==
Date: Wed, 24 Aug 2016 16:53:42 +0000
Message-ID: <BN6PR06MB23088AB49805EAA74057FCB8FEEA0@BN6PR06MB2308.namprd06.prod.outlook.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliantinc.com;
x-originating-ip: [207.96.192.122]
x-ms-office365-filtering-correlation-id: 1adf9dd9-e7be-4d5c-4d24-08d3cc3f34c3
x-microsoft-exchange-diagnostics: 1; BN6PR06MB2305; 6:6YVyBwfXhgOj/C2mTatv15YZnW+WS6FSTLs6+AKrEPvpdZYB9DS1f1hKhHKYYNjuLiPM8EUiD+vmRG+KNCdhB17VI4MF1fU9pj1QWBfQ+jwI8m+YCqsyPIWNDOSjVCizcG4GBAoiUVDtuzzK+3mkXYWeEe1+Vu2lfiBbY3+u0YfG2L6+8Dn6N9KDU1v8zuWOw79/cIQbjOvuZeUpbs0xorbOuwuxXmlgFZaClj2NDebtkI/NK8hYAXIXQ/hH91Wr7QvUltr5D0+pkPxKHAB8Url27THOv0S2/lQ5c2n9H5g=; 5:XnT4Vme9FPOUhEUcagKP2S6Ev4FJlkc3dGAnsZNAgubIWSkw8/N6/X8GG8G3x7T+8tYHuBuTKj7GyyRZs6sT3NR5OAjb1O11cKH5/qpiHbZXQz+YtGfy+WP0GkVbbvqWuzWif1j/kzmP3wSF7O13wg==; 24:YglJC5uxL0LivQzxXWNTt5T1FrFCet253EQ8GwRLtkYE7fuL3+nu4cjPct3xgF8o4OVTUapvQGM9V9/HfQoxnMLtdxO8i4tfYnSX1TX+nxQ=; 7:82a7Vl6HtrFG9mrFym9YEsdhnpiLSoNqwJ/wv6EwqAr8hi9rKwUy/gydNdHm7BGeJtn0Ut9GtSHFvNy/PXGwFlddYsGxmmjZhdJlnhfS8vQCTk454pWksCYSJXJi/bo5wbAdRStl6wFUnBjCcJEjnhN11Fs7ID4yLLNz20hODcAljlT8MWiYplowjM9+Sb0A6Fx7KkvAnGyrno0cefQlB0A1wmN6aZXzk97S643pVYE4+nhZQHRSZDREY9hqxLUq
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR06MB2305;
x-microsoft-antispam-prvs: <BN6PR06MB2305468688706918F81C5651FEEA0@BN6PR06MB2305.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BN6PR06MB2305; BCL:0; PCL:0; RULEID:; SRVR:BN6PR06MB2305;
x-forefront-prvs: 0044C17179
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(189002)(230783001)(97736004)(5660300001)(102836003)(586003)(33656002)(3660700001)(3846002)(54356999)(4326007)(2906002)(92566002)(6116002)(110136002)(5002640100001)(3280700002)(99286002)(189998001)(86362001)(77096005)(81156014)(8676002)(122556002)(106356001)(15975445007)(81166006)(74316002)(7846002)(8936002)(305945005)(7736002)(7696003)(10400500002)(101416001)(76576001)(50986999)(66066001)(19580395003)(87936001)(229853001)(9686002)(2900100001)(68736007)(105586002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR06MB2305; H:BN6PR06MB2308.namprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: trilliantinc.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: trilliantinc.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2016 16:53:42.7710 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR06MB2305
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/ETjlOsn3uMCCOmsN6CNwUuu6gjI>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: [core] draft-bierman-core-yid-00 open questions
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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, 24 Aug 2016 16:53:47 -0000

Hi Andy

Following if my answers to the questions listed in draft-bierman-core-yid-00

1) When to assign a module-id

Developers should be in control of when this activity is performed based on the estimated amount of work required to reassign IDs (from temporary assigned IDs within the experimental range to the final IDs) and the impacts on the encoding efficiency of assigning a non stable list of YANG items which generate non sequential IDs. If the developer already own a range of YID/SID, the activity can be perform at any time.

It is important to note that the registration of the resulting .sid file(s) is done independently of the registration of the SID range. When registering a SID range, the module or list of modules targeted is not provided. This give the full freedom to developers to assign IDs when needed.

2) How to support private numbering

A range called "Experimental" spanning both the 16 and 32 bits unsigned integer have been assigned to this purpose.
https://tools.ietf.org/html/draft-somaraju-core-sid-01#section-7.1

3) How to combine registries

Not needed, all registrars, SDO shall receive a specific range from IANA.

4) Should more YANG statements be numbered

Yes
rpc, action, notification, module, submodule, feature

5a) How to support anyxml

anyxml represents a single data node with an arbitrary content.
This data node have a single ID assigned to it the same way as any other data node, nothing special is required.

5b) How to support anydata

The anydata define an instance of an unspecified schema node (leaf, leaf-list, container, list).
All possible schema node supported by an anydata need to be register to one of the .sid files.
It is the responsibility of the developer(s) to add these SIDs to one or multiple .sid files manually if not already present.
A section need to be added to the draft to clearly describe this approach.

Regards,
Michel Veillette