idnits 2.17.1 draft-bormann-core-yang-sid-pen-01.txt: -(3): Line appears to be too long, but this could be caused by non-ascii characters in UTF-8 encoding Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- == There are 3 instances of lines with non-ascii characters in the document. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** The document seems to lack a Security Considerations section. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (19 November 2021) is 890 days in the past. Is this intentional? Checking references for intended status: Informational ---------------------------------------------------------------------------- == Unused Reference: 'I-D.ietf-core-yang-cbor' is defined on line 179, but no explicit reference was found in the text == Outdated reference: A later version (-24) exists of draft-ietf-core-sid-18 -- Obsolete informational reference (is this intentional?): RFC 1065 (Obsoleted by RFC 1155) Summary: 1 error (**), 0 flaws (~~), 4 warnings (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Internet Engineering Task Force C. Bormann 3 Internet-Draft Universität Bremen TZI 4 Intended status: Informational 19 November 2021 5 Expires: 23 May 2022 7 YANG-CBOR: Allocating SID ranges for PEN holders 8 draft-bormann-core-yang-sid-pen-01 10 Abstract 12 YANG-CBOR, RFC XXXX (draft-ietf-core-yang-cbor) defines YANG Schema 13 Item iDentifiers (YANG SID), globally unique 63-bit unsigned integers 14 used to identify YANG items. RFC YYYY (draft-ietf-core-sid) defines 15 ways to allocate these SIDs on the basis of IANA registries. 17 The present specification uses these SID allocation mechanisms to 18 allocate 100 000 SIDs for each of the first 1 000 000 holders of 19 IANA-registered Private Enterprise Numbers (PENs). 21 Discussion Venues 23 This note is to be removed before publishing as an RFC. 25 Discussion of this document takes place on the CoRE Working Group 26 mailing list (mailto:core@ietf.org), which is archived at 27 https://mailarchive.ietf.org/arch/browse/core/. 29 Source for this draft and an issue tracker can be found at 30 https://github.com/cabo/sid-pen. 32 Status of This Memo 34 This Internet-Draft is submitted in full conformance with the 35 provisions of BCP 78 and BCP 79. 37 Internet-Drafts are working documents of the Internet Engineering 38 Task Force (IETF). Note that other groups may also distribute 39 working documents as Internet-Drafts. The list of current Internet- 40 Drafts is at https://datatracker.ietf.org/drafts/current/. 42 Internet-Drafts are draft documents valid for a maximum of six months 43 and may be updated, replaced, or obsoleted by other documents at any 44 time. It is inappropriate to use Internet-Drafts as reference 45 material or to cite them other than as "work in progress." 47 This Internet-Draft will expire on 23 May 2022. 49 Copyright Notice 51 Copyright (c) 2021 IETF Trust and the persons identified as the 52 document authors. All rights reserved. 54 This document is subject to BCP 78 and the IETF Trust's Legal 55 Provisions Relating to IETF Documents (https://trustee.ietf.org/ 56 license-info) in effect on the date of publication of this document. 57 Please review these documents carefully, as they describe your rights 58 and restrictions with respect to this document. Code Components 59 extracted from this document must include Revised BSD License text as 60 described in Section 4.e of the Trust Legal Provisions and are 61 provided without warranty as described in the Revised BSD License. 63 Table of Contents 65 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 66 2. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 67 3. Discussion . . . . . . . . . . . . . . . . . . . . . . . . . 3 68 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3 69 5. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 70 5.1. Normative References . . . . . . . . . . . . . . . . . . 4 71 5.2. Informative References . . . . . . . . . . . . . . . . . 4 72 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 4 73 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 4 75 1. Introduction 77 YANG-CBOR, RFC XXXX (draft-ietf-core-yang-cbor) defines YANG Schema 78 Item iDentifiers (YANG SID), globally unique 63-bit unsigned integers 79 used to identify YANG items. RFC YYYY (draft-ietf-core-sid) defines 80 ways to allocate these SIDs on the basis of IANA registries. 82 The present specification uses these SID allocation mechanisms to 83 allocate 100 000 SIDs for each of the first 1 000 000 holders of 84 IANA-registered Private Enterprise Numbers (PENs). 86 We allocate 100 000 mega-ranges, for the SID numbers 300 000 000 000 87 to 399 999 999 999. 89 The holder of a PEN ppp ppp then can use the SID numbers 90 3pp ppp p00 000 to 3pp ppp p99 999 for allocation in a scheme defined 91 by the holder. 93 2. Example 95 The Department for Mathematics and Computer Science of Universität 96 Bremen holds PEN 30810. 98 This confers control over the SID range 303 081 000 000 up to 99 303 081 099 999 to this PEN holder. 101 3. Discussion 103 This allocation provides an extremely-low-threshold way for PEN 104 holders to get number space for the YANG SIDs used in their YANG 105 modules. It is, however, not always the approach to recommend to a 106 module author: 108 * The space uses 64-bit numbers. While this is of relatively little 109 consequence due to the delta-encoding used for SIDs in YANG-CBOR, 110 a few further bytes can be saved by allocating the SIDs in one of 111 the mega-ranges that are specifically allocated by an organization 112 (which, for the first 2000 or so, will lead to 32-bit outer 113 deltas). 115 * This space has no infrastructure to discover the YANG module 116 behind a SID. Of course, each PEN holder can provide such 117 infrastructure, but even then the problem remains how to find that 118 infrastructure for a SID. (Search engines may mitigate this 119 somewhat.) On the other hand, relative obscurity may be exactly 120 what a PEN holder wants to achieve by using this mechanism. 122 Relying on the PEN registry might theoretically trigger a land-grab 123 by prospective writers of YANG modules. However, PENs have been 124 around for decades [RFC1065] and such a land-grab hasn't occurred for 125 the other allocations implicitly provided by obtaining a PEN. 127 4. IANA Considerations 129 This document allocates 100 000 SID mega-ranges as per Section 7.4 of 130 [I-D.ietf-core-sid]. 132 The contact for the allocation is: IETF CORE Working Group 133 (core@ietf.org) or IETF Applications and Real-Time Area 134 (art@ietf.org) 136 The allocation policy inside the mega-range is "private". The URL is 137 that of the present specification. 139 The management of the SID blocks of 100 000 SIDs each, 10 such blocks 140 for each mega-range 3nn nnn 000 000, is delegated to the PEN holder 141 for nnn nnx, where x is the sequence number of the SID block in the 142 mega-range (i.e., the PEN holder for nnn nnx controls SID 143 3nn nnn x00 000 to 3nn nnn x99 999). 145 The technical capacity to ensure the sustained operation of the 146 registry for a period of at least 10 years (as required for 147 registries of class "private") is derived from the capacity of IANA 148 to maintain the PEN number registry. 150 5. References 152 5.1. Normative References 154 [I-D.ietf-core-sid] 155 Veillette, M., Pelov, A., Petrov, I., Bormann, C., and M. 156 Richardson, "YANG Schema Item iDentifier (YANG SID)", Work 157 in Progress, Internet-Draft, draft-ietf-core-sid-18, 18 158 November 2021, . 161 [I-D.ietf-core-yang-cbor] 162 Veillette, M., Petrov, I., Pelov, A., Bormann, C., and M. 163 Richardson, "CBOR Encoding of Data Modeled with YANG", 164 Work in Progress, Internet-Draft, draft-ietf-core-yang- 165 cbor-17, 25 October 2021, 166 . 169 5.2. Informative References 171 [RFC1065] McCloghrie, K. and M. Rose, "Structure and identification 172 of management information for TCP/IP-based internets", 173 RFC 1065, DOI 10.17487/RFC1065, August 1988, 174 . 176 Acknowledgments 178 This document was inspired by the discussion of the authors of 179 [I-D.ietf-core-yang-cbor] and [I-D.ietf-core-sid] how to handle Rob 180 Wilton's feedback. 182 Author's Address 184 Carsten Bormann 185 Universität Bremen TZI 186 Postfach 330440 187 D-28359 Bremen 188 Germany 190 Phone: +49-421-218-63921 191 Email: cabo@tzi.org