<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.5.17 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc strict="yes"?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>

<rfc ipr="trust200902" docName="draft-bormann-core-yang-sid-pen-01" category="info">

  <front>
    <title abbrev="SID ranges for PEN holders">YANG-CBOR: Allocating SID ranges for PEN holders</title>

    <author initials="C." surname="Bormann" fullname="Carsten Bormann">
      <organization>Universität Bremen TZI</organization>
      <address>
        <postal>
          <street>Postfach 330440</street>
          <city>D-28359 Bremen</city>
          <country>Germany</country>
        </postal>
        <phone>+49-421-218-63921</phone>
        <email>cabo@tzi.org</email>
      </address>
    </author>

    <date year="2021" month="November" day="19"/>

    <area>Applications and Real-Time Area (art)</area>
    <workgroup>Internet Engineering Task Force</workgroup>
    <keyword>YANG-CBOR</keyword>

    <abstract>


<t>YANG-CBOR, RFC XXXX (draft-ietf-core-yang-cbor) defines
    YANG Schema Item iDentifiers (YANG SID), globally unique 63-bit
    unsigned integers used to identify YANG items.
    RFC YYYY (draft-ietf-core-sid) defines ways to allocate these SIDs on
    the basis of IANA registries.</t>

<t>The present specification uses these SID allocation mechanisms
    to allocate 100 000 SIDs for each of the first 1 000 000
    holders of IANA-registered Private Enterprise Numbers (PENs).</t>



    </abstract>

    <note title="Discussion Venues" removeInRFC="true">
      <t>
        Discussion of this document takes place on the
        CoRE Working Group mailing list (<eref target="mailto:core@ietf.org"/>),
        which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/core/"/>.
      </t>
      <t>Source for this draft and an issue tracker can be found at
        <eref target="https://github.com/cabo/sid-pen"/>.</t>
    </note>


  </front>

  <middle>


<section anchor="introduction"><name>Introduction</name>

<t>YANG-CBOR, RFC XXXX (draft-ietf-core-yang-cbor) defines
    YANG Schema Item iDentifiers (YANG SID), globally unique 63-bit
    unsigned integers used to identify YANG items.
    RFC YYYY (draft-ietf-core-sid) defines ways to allocate these SIDs on
    the basis of IANA registries.</t>

<t>The present specification uses these SID allocation mechanisms
    to allocate 100 000 SIDs for each of the first 1 000 000
    holders of IANA-registered Private Enterprise Numbers (PENs).</t>

<t>We allocate 100 000 mega-ranges, for the SID numbers
300 000 000 000 to 399 999 999 999.</t>

<t>The holder of a PEN ppp ppp then can use the SID numbers
3pp ppp p00 000 to 3pp ppp p99 999 for allocation in a scheme defined
by the holder.</t>

</section>
<section anchor="example"><name>Example</name>

<t>The Department for Mathematics and Computer Science of <contact fullname="Universität Bremen"/> holds PEN 30810.</t>

<t>This confers control over the SID range
303 081 000 000 up to
303 081 099 999 to this PEN holder.</t>

</section>
<section anchor="discussion"><name>Discussion</name>

<t>This allocation provides an extremely-low-threshold way for PEN holders
to get number space for the YANG SIDs used in their YANG modules.
It is, however, not always the approach to recommend to a module author:</t>

<t><list style="symbols">
  <t>The space uses 64-bit numbers.  While this is of relatively little
consequence due to the delta-encoding used for SIDs in YANG-CBOR, a
few further bytes can be saved by allocating the SIDs in one of the
mega-ranges that are specifically allocated by an organization
(which, for the first 2000 or so, will lead to 32-bit outer deltas).</t>
  <t>This space has no infrastructure to discover the YANG module behind
a SID.  Of course, each PEN holder can provide such infrastructure,
but even then the problem remains how to find that infrastructure
for a SID.  (Search engines may mitigate this somewhat.)
On the other hand, relative obscurity may be exactly what a PEN
holder wants to achieve by using this mechanism.</t>
</list></t>

<t>Relying on the PEN registry might theoretically trigger a land-grab by
prospective writers of YANG modules.  However, PENs have been around
for decades <xref target="RFC1065"/> and such a land-grab hasn't occurred for the other
allocations implicitly provided by obtaining a PEN.</t>

</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>This document allocates 100 000 SID mega-ranges as per <xref section="7.4" sectionFormat="of" target="I-D.ietf-core-sid"/>.</t>

<t>The contact for the allocation is: IETF CORE Working Group
      (core@ietf.org) or IETF Applications and Real-Time Area
      (art@ietf.org)</t>

<t>The allocation policy inside the mega-range is "private".
The URL is that of the present specification.</t>

<t>The management of the SID blocks of 100 000 SIDs each, 10 such blocks
for each mega-range 3nn nnn 000 000, is delegated to the PEN holder
for nnn nnx, where x is the sequence number of the SID block in the
mega-range (i.e., the PEN holder for nnn nnx controls SID
3nn nnn x00 000 to 3nn nnn x99 999).</t>

<t>The technical capacity to ensure the sustained operation of the
registry for a period of at least 10 years (as required for registries
of class "private") is derived from the capacity of IANA to maintain
the PEN number registry.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>




<reference anchor='I-D.ietf-core-yang-cbor'>
   <front>
      <title>CBOR Encoding of Data Modeled with YANG</title>
      <author fullname='Michel Veillette'>
	 <organization>Trilliant Networks Inc.</organization>
      </author>
      <author fullname='Ivaylo Petrov'>
	 <organization>Google Switzerland GmbH</organization>
      </author>
      <author fullname='Alexander Pelov'>
	 <organization>Acklio</organization>
      </author>
      <author fullname='Carsten Bormann'>
	 <organization>Universität Bremen TZI</organization>
      </author>
      <author fullname='Michael Richardson'>
	 <organization>Sandelman Software Works</organization>
      </author>
      <date day='25' month='October' year='2021'/>
      <abstract>
	 <t>   Based on the Concise Binary Object Representation (CBOR, RFC 8949),
   this document defines encoding rules for representing configuration
   data, state data, parameters and results of Remote Procedure Call
   (RPC) operations or actions, and notifications, defined using YANG
   (RFC 7950).

	 </t>
      </abstract>
   </front>
   <seriesInfo name='Internet-Draft' value='draft-ietf-core-yang-cbor-17'/>
   <format target='https://www.ietf.org/archive/id/draft-ietf-core-yang-cbor-17.txt' type='TXT'/>
</reference>


<reference anchor='I-D.ietf-core-sid'>
   <front>
      <title>YANG Schema Item iDentifier (YANG SID)</title>
      <author fullname='Michel Veillette'>
	 <organization>Trilliant Networks Inc.</organization>
      </author>
      <author fullname='Alexander Pelov'>
	 <organization>Acklio</organization>
      </author>
      <author fullname='Ivaylo Petrov'>
	 <organization>Google Switzerland GmbH</organization>
      </author>
      <author fullname='Carsten Bormann'>
	 <organization>Universität Bremen TZI</organization>
      </author>
      <author fullname='Michael Richardson'>
	 <organization>Sandelman Software Works</organization>
      </author>
      <date day='18' month='November' year='2021'/>
      <abstract>
	 <t>   YANG Schema Item iDentifiers (YANG SID) are globally unique 63-bit
   unsigned integers used to identify YANG items, as a more compact
   method to identify YANG items that can be used for efficiency and in
   constrained environments (RFC 7228).  This document defines the
   semantics, the registration, and assignment processes of YANG SIDs
   for IETF managed YANG modules.  To enable the implementation of these
   processes, this document also defines a file format used to persist
   and publish assigned YANG SIDs.

	 </t>
      </abstract>
   </front>
   <seriesInfo name='Internet-Draft' value='draft-ietf-core-sid-18'/>
   <format target='https://www.ietf.org/archive/id/draft-ietf-core-sid-18.txt' type='TXT'/>
</reference>




    </references>

    <references title='Informative References'>





<reference anchor='RFC1065' target='https://www.rfc-editor.org/info/rfc1065'>
<front>
<title>Structure and identification of management information for TCP/IP-based internets</title>
<author fullname='K. McCloghrie' initials='K.' surname='McCloghrie'><organization/></author>
<author fullname='M.T. Rose' initials='M.T.' surname='Rose'><organization/></author>
<date month='August' year='1988'/>
<abstract><t>This RFC provides the common definitions for the structure and identification of management information for TCP/IP-based internets.  In particular, together with its companion memos, which describe the initial management information base along with the initial network management protocol, these documents provide a simple, working architecture and system for managing TCP/IP-based internets and in particular, the Internet. This memo specifies a draft standard for the Internet community.  TCP/IP implementation in the Internet which are network manageable are expected to adopt and implement this specification.</t></abstract>
</front>
<seriesInfo name='RFC' value='1065'/>
<seriesInfo name='DOI' value='10.17487/RFC1065'/>
</reference>




    </references>


<section numbered="false" anchor="acknowledgments"><name>Acknowledgments</name>

<t>This document was inspired by the discussion of the authors of
<xref target="I-D.ietf-core-yang-cbor"/> and <xref target="I-D.ietf-core-sid"/> how to handle <contact fullname="Rob Wilton's"/> feedback.</t>

</section>


  </back>

<!-- ##markdown-source:
H4sIAJLwlmEAA4VX0XLbuhF951dg3AfbrajKkm8aa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