Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
Michael Richardson <mcr+ietf@sandelman.ca> Fri, 10 January 2020 03:15 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 9CC1C1200A3 for <core@ietfa.amsl.com>; Thu, 9 Jan 2020 19:15:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level:
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, PDS_TONAME_EQ_TOLOCAL_HDRS_LCASE=1.999, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 idrKVFdQzC4i for <core@ietfa.amsl.com>; Thu, 9 Jan 2020 19:15:11 -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 81C151202A0 for <core@ietf.org>; Thu, 9 Jan 2020 19:15:10 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 1EEB63897D; Thu, 9 Jan 2020 22:14:19 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 33A6A104F; Thu, 9 Jan 2020 22:14:41 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: core <core@ietf.org>, Ivaylo Petrov <ivaylo@ackl.io>
In-Reply-To: <CAJFkdRyWOfCb4U09rEJ-ZMR3GUuk-rmQ+f3Fs164Mxs8qkeVuw@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>
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: Thu, 09 Jan 2020 22:14:41 -0500
Message-ID: <22612.1578626081@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Z36nj3CBYcDSYhbW7JHw6XWPmYA>
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: Fri, 10 Jan 2020 03:15:13 -0000
{AD+Chair action requested below} Ivaylo Petrov <ivaylo@ackl.io> wrote: >> This example raises an interesting point. "ietf-voucher" have been >> defined without considering a possible constrained implementation and >> have no SID list or .sid file included in RFC 8366. SIDs has been >> assigned after the fact, as allowed by >> https://tools.ietf.org/html/draft-ietf-core-sid-07#section-3. If we >> include a SID list or .sid file for >> "ietf-constrained-voucher@2019-08-01.yang", part of the SIDs will be in >> a RFC, the rest won't. To avoid such situation, we should rely entirely >> on an IANA registry for all .sid files defined by RFCs. mcr> I am still uncertain how this is going to work. I think that the major issue is that I am still not convinced that IANA is prepared to operate pyang itself. Conversations at IETF105 and IETF106 did not convince me that they (IANA) completely understood what they are being asked to do. For instance, I'm not convinced that there is a support process for IANA to get bugs fixed in the sid.py module. (I would be pleased to be convinced otherwise) ivaylo> IP: Let me try to summarize how the sid range obtaining and ivaylo> allowaction process is currently defined and please let me know ivaylo> if it is still not clear enough or if you have any ivaylo> concerns. After that I share some thoughts for module updates. Yes, I understand the early allocation process. ivaylo> - the RFC is already published - then as it is specified in sec 6.3.2 , ivaylo> the experts will check that there is an RFC and the registration will ivaylo> be done upon request. Early Allocations are done for a limited period of time, IANA is allowed to reclaim the space if the document does not proceed. If when an author asks for early allocation for a YANG module that references other modules which are already published, then there are multiple things that could happen: 1) IANA could do a permanent allocation for the referenced modules, entering the sid file in as well. {this may cause a recursion quite deep initially} 2) IANA could do an early allocation for the referenced modules, marking them as such, and potentially reclaiming. (1) has the problem that it may cause a bunch of pollution. (2) has the problem that the referenced allocation will need to be reference counted for all/any documents that reference it. I suspect that the problem will be short-lived pain, and that doing (1) is the right thing, and that we might want to take the hit in WG and Expert Review in a proactive manner. (I am happy to help here) But, there is also: (3) a document could ask for an early SID allocation, referencing a YANG module which is in another WG, or worse, not yet adopted, and therefore not subject to Early Adoption rules! This may be a problem we do not to fix (Just get the document adopted), but I think that we should be clear about this. My recommendation is that all YANG modules, upon being *ADOPTED* by a WG, have a SID allocation done. Yes, the document will get revised, but the SID system is designed to deal with this. I think that doing this requires an IESG and IANA decision. I think that getting through this before March is important. The CORE WG has had a series of virtual interims (I see none scheduled, I assume that is an oversight), and maybe we could invite IANA and a couple of IESG ADs to confer and get clarity here. > If this is done, the situation where a module M1 is updated and it is > used by another module M2 would not cause issues as it is should match > the case where the SIDs are generated for the first time. On the other > hand, if someone else generates a .sid file that includes the extra > values that come from the new version of module M1, this is not going > to cause real issues as there could be two SID values that represent > the same YANG item, which means that the .sid file for M1 can still be > updated. Agreed! -- 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