Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
Michael Richardson <mcr+ietf@sandelman.ca> Mon, 13 January 2020 18:11 UTC
Return-Path: <mcr+ietf@sandelman.ca>
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 3E43912089F for <core@ietfa.amsl.com>; Mon, 13 Jan 2020 10:11:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 eoCEhe5siFyU for <core@ietfa.amsl.com>; Mon, 13 Jan 2020 10:11:52 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CBB412088C for <core@ietf.org>; Mon, 13 Jan 2020 10:11:52 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 15A963897D; Mon, 13 Jan 2020 13:11:26 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 234A9A3B; Mon, 13 Jan 2020 13:11:51 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: core@ietf.org, Ivaylo Petrov <ivaylo@ackl.io>
In-Reply-To: <CAJFkdRy_3pC37ZxzhTmzqRgWjwDvEFTuhu5Z8+_ktaJgoeOGfg@mail.gmail.com>
References: <29380.1565102380@localhost> <BL0PR06MB50428065032ECC2AB3345F619AD70@BL0PR06MB5042.namprd06.prod.outlook.com> <7505.1565633977@localhost> <BL0PR06MB50424C618A704460E4A8F8D99AA90@BL0PR06MB5042.namprd06.prod.outlook.com> <18990.1577231446@localhost> <CAJFkdRyWOfCb4U09rEJ-ZMR3GUuk-rmQ+f3Fs164Mxs8qkeVuw@mail.gmail.com> <22612.1578626081@localhost> <CAJFkdRztFUxdGcdvtTgB=9c-e_BwDAgLTmVPJ+OB8-dgs1sGog@mail.gmail.com> <15754.1578789013@localhost> <CAJFkdRy_3pC37ZxzhTmzqRgWjwDvEFTuhu5Z8+_ktaJgoeOGfg@mail.gmail.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Mon, 13 Jan 2020 13:11:51 -0500
Message-ID: <6025.1578939111@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/gUjHKgY6Dpv4SrkagV8m7ymTfZk>
Subject: Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
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: Mon, 13 Jan 2020 18:11:54 -0000
I think you should just ahead and add the text. The document can change during WGLC. Some edits I suggest: } The reason not to use 64-bit } using SIDs: unsigned integers is that otherwise protocols doing } arithmetical } operations with the SIDs could be very difficult to implement. Change to: The use of 63-bit unsigned integers allows SIDs to be manipulated more easily on architectures that might otherwise lack native 64-bit unsigned arithmetic. The loss a single bit of precision is not significant given the size of the space. Maybe you pointed me at github.com of the XML before, but I lost the link, so I'll do this the old fashioned way. For the IANA section, I suggest the following: 6.4.1. Structure (no change) 6.4.2. Allocation policy (one pointed added at end) The allocation policy is Expert review. The Expert MUST ensure that the following conditions are met: o The ".sid" file has a valid structure: * The ".sid" file MUST be a valid JSON file following the structure of the module defined in RFCXXXX o The ".sid" file allocates individual SIDs ONLY in the SID Ranges for this YANG module (as allocated in the IETF SID Range Registry): * All SIDs in this ".sid" file MUST be within the ranges allocated to this YANG module in the "IETF SID Range Registry". o If another ".sid" file has already allocated SIDs for this YANG module (e.g. for older or newer versions of the YANG module), the YANG items are assigned the same SIDs as in the the other ".sid" file. o SIDs never change. o IANA is expected to store the SID files and make them available along with the associated YANG files in the YANG Module Names registry. ADD: 6.4.3. Recursive Allocation of SID Range at Document Adoption Due to the difficulty in changing SID values during IETF document processing, it is expected that most documents will ask for SID allocations using Early Allocations [BCP100]. The details of the Early Allocation should be included in any Working Group Adoption call. During the early use of SIDs, many existing, previously published YANG modules will not have SID allocations. For an allocation to be useful the included YANG modules may also need to have SID allocations made. The Expert Reviewer who performs the (Early) Allocation analysis will need to go through the list of included YANG modules and perform SID allocations for those modules as well. If the document is a published RFC, then the allocation is permanent. The Expert Reviewer provides the generated SID file to IANA for registration. This process may be someone busy during a bootstrap period (there are over 100 YANG modules to date, none of which have SID allocations), but should quiet down once needed entries are allocated. If the document is an unprocessed Internet-Draft adopted in a WG, then an Early Allocation is performed for this document as well. Early Allocations require approval by an IESG Area Director. An early allocation which requires additional allocations will list the other allocations in it's description, and will be cross-posted to the any other working group mailing lists. A YANG module which references a module in an document which has not yet been adopted by any working group will be unable to perform an Early Allocation for that other document until it is adopted by a working group. As described in [BCP100], an AD Sponsored document acts as if it had a working group. The approving AD may also exempt a document from this policy by agreeing to AD Sponsor the document. Critically, the original document should never get through the IETF process and then be surprised to be referencing a document whose progress is not certain. A previously SID-allocated YANG module which changes it's references to include a YANG module for which there is no SID allocation needs to repeat the Early Allocation process. Early Allocations are made with a one-year period, after which they are expired. [BCP100] indicates that at most one renewal may be made. For the SID allocation a far more lenient stance is desired. 1) An extension of a referencing documents Early Allocation should update any referenced Early Allocations to expire no sooner than the referencing document. 2) The [BCP100] mechanism allows the IESG to provide a second renewal, and such an event may prompt some thought about how the collection of documents are being processed. This is driven by the very generous size of the SID space and the often complex and deep depencies of YANG modules. Often a core module with many dependancies will undergo extensive review, delaying the publication of other documents. [BCP100] also says Note that if a document is submitted for review to the IESG and at the time of submission some early allocations are valid (not expired), these allocations should not be expired while the document is under IESG consideration or waiting in the RFC Editor's queue after approval by the IESG. -- Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works -= IPv6 IoT consulting =-
- [core] progressing ietf-core-yang-cbor and ietf-c… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Peter van der Stok
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov