<?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.3.6 -->

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

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-lear-opsawg-ol-00" category="std">

  <front>
    <title abbrev="Owner and Licensing Statements">Ownership and licensing statements in YANG</title>

    <author initials="E." surname="Lear" fullname="Eliot Lear">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>Richtistrasse 7</street>
          <city>Wallisellen</city>
          <code>CH-8304</code>
          <country>Switzerland</country>
        </postal>
        <phone>+41 44 878 9200</phone>
        <email>lear@cisco.com</email>
      </address>
    </author>
    <author initials="C." surname="Bormann" fullname="Carsten Bormann">
      <organization>Universität Bremen TZI</organization>
      <address>
        <postal>
          <street>Postfach 330440</street>
          <city>Bremen</city>
          <code>D-28359</code>
          <country>Germany</country>
        </postal>
        <email>cabo@tzi.org</email>
      </address>
    </author>

    <date year="2021" month="May" day="27"/>

    
    
    <keyword>Internet-Draft</keyword>

    <abstract>


<t>This memo provides for an extension to RFC 8520 that allows
MUD file authors to specify ownership and licensing of MUD
files themselves.  This memo updates RFC 8520.  However, it
can also be used for purposes outside of MUD, and the grouping
is structured as such.</t>



    </abstract>


  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t><xref target="RFC8520"/> Manufacturer Usage Descriptions (MUD) can be used to
describe devices and their requirements to the network infrastructure.
The original version of the specification does not provide for a
means to specify ownership and licensing of the MUD file itself.  This
can hinder those wishing to use, modify, or adapt MUD files for the
purpose of offering them, when the manufacturer is not involved.</t>

<t>To avoid any confusion, we define an extension that allows for
specifying of owners and licensing terms for MUD files.</t>

<t>Those generating generating MUD files SHOULD use this extension, and
thus this extension updates RFC 8520.</t>

<t>There are two ways to specify a license: a URL pointing to the license
itself or an SPDX tag <xref target="SPDX"/>.  If an SPDX tag is supplied consumers
MUST interpret that tag through its meaning as specified by <xref target="SPDX"/>.</t>

<t>This grouping may be used for other YANG models that reside as
static objects.</t>

<t>The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL
NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”,
“MAY”, and “OPTIONAL” in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>

</section>
<section anchor="the-owner-license-extension-and-model" title="The owner-license extension and model">

<t>Because the model is primarily motivated by MUD, and based
on the way that YANG trees are formed, the model appears as
an augmentation for MUD.</t>

<figure><artwork><![CDATA[
module: ietf-ol

  augment /mud:mud:
    +--rw ol
       +--rw owners*               string
       +--rw (license-type)?
          +--:(spdx-lt)
          |  +--rw spdx-tag?       string
          +--:(url)
             +--rw license-info?   inet:uri

]]></artwork></figure>

</section>
<section anchor="the-yang-schema-for-ownership-and-licensing" title="The YANG schema for ownership and licensing">

<t>The following grouping and augmentation are proposed.</t>

<figure><artwork><![CDATA[
<CODE BEGINS>file "ietf-ol@2021-05-01.yang"
module ietf-ol {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-ol";
  prefix ol;

  import ietf-inet-types {
    prefix inet;
  }
  
  import ietf-mud {
    prefix mud;
  }


  organization
    "IETF OPSAWG (Ops Area) Working Group";
  contact
    "WG
     Web: http://tools.ietf.org/wg/opsawg/
     WG List: opsawg@ietf.org
     Author: Eliot Lear lear@cisco.com
     Author: Carsten Bormann <cabo@tzi.org>";
  description
    "This YANG module to indicate ownership and licensing.

     Copyright (c) 2021 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); 
     see the RFC itself for full legal notices.

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.  ";

  revision 2021-05-21 {
    description
      "Initial proposed standard.";
    reference
      "RFC XXXX: Extension for ownership and licensing";
  }

  grouping ol-extension {
    description
      "OL extension grouping";
    container ol {
      description
        "container relating to ownership and licensing.";
      leaf-list owners {
      type string;
        description
          "A list of owners, may be in the form of a copyright
           Example: Copyright (c) Jane Smith.  All rights Reserved.";
        }
      choice license-type {
        description "Either choose a standard license type or point
                     to one of your own.";
        case spdx-lt {
          leaf spdx-tag {
            type string;
            description "SPDX License Identifier, as indicated at
                         https://spdx.org/licenses/";
          }
        }
        case url {
          leaf license-info {
            type inet:uri;
            description "A URL pointing to licensing information.";
          }
        }
      }

    }
  }

  augment "/mud:mud" {
    description
      "Add extension for Ownership and licensing.";
    uses ol-extension;
  }
}

<CODE ENDS>
]]></artwork></figure>

</section>
<section anchor="extension-for-mud" title="Extension for MUD">

<t>MUD files using this extension MUST include “ol” in the extensions
array, as specified by <xref target="RFC8520"/>.</t>

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

<t>In this example, the Frobmaster company is using the 0BSD SPDX
tag to indicate a relatively open license.  The “ol” extension
and container are present.  There is a single owner listed.</t>

<figure><artwork><![CDATA[
{
  "ietf-mud:mud": {
    "mud-version": 1,
    "extensions": [
      "ol"
    ],
    "ol": {
      "owners": [
        "Copyright (c) FrobMaster 2021. All Rights Reserved"
      ],
      "spdx-tag": "0BSD"
    },
    "mud-url": "https://frobs.example.com/mud/Frob.json",
    "mud-signature": "https://frobs.example.com/mud/Frob.p7s",
    "last-update": "2021-05-24T11:26:04+00:00",
    "cache-validity": 48,
    "is-supported": true,
    "systeminfo": "This device helps produce frobs",
    "mfg-name": "FrobMaster",
    "documentation": "https://frobs.example.com/doc",
    "model-name": "Frobinator"
    }
}
]]></artwork></figure>

</section>
<section anchor="security-considerations" title="Security Considerations">

<t>No security considerations have been identified.</t>

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

<section anchor="mud-extension" title="MUD Extension">

<t>The IANA is requested to add “ol” to the MUD
extensions registry as follows:</t>

<figure><artwork><![CDATA[
  Extension Name: ol
  Standard reference: This document

]]></artwork></figure>

</section>
</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor="RFC8520" target='https://www.rfc-editor.org/info/rfc8520'>
<front>
<title>Manufacturer Usage Description Specification</title>
<author initials='E.' surname='Lear' fullname='E. Lear'><organization /></author>
<author initials='R.' surname='Droms' fullname='R. Droms'><organization /></author>
<author initials='D.' surname='Romascanu' fullname='D. Romascanu'><organization /></author>
<date year='2019' month='March' />
<abstract><t>This memo specifies a component-based architecture for Manufacturer Usage Descriptions (MUDs).  The goal of MUD is to provide a means for end devices to signal to the network what sort of access and network functionality they require to properly function.  The initial focus is on access control.  Later work can delve into other aspects.</t><t>This memo specifies two YANG modules, IPv4 and IPv6 DHCP options, a Link Layer Discovery Protocol (LLDP) TLV, a URL, an X.509 certificate extension, and a means to sign and verify the descriptions.</t></abstract>
</front>
<seriesInfo name='RFC' value='8520'/>
<seriesInfo name='DOI' value='10.17487/RFC8520'/>
</reference>



<reference  anchor="RFC2119" target='https://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor="RFC8174" target='https://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<date year='2017' month='May' />
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>


<reference anchor="SPDX" >
  <front>
    <title>SPDX Specification 2.1</title>
    <author >
      <organization>The Linux Foundation</organization>
    </author>
    <date year="2016"/>
  </front>
</reference>


    </references>



<section anchor="changes-from-earlier-versions" title="Changes from Earlier Versions">

<t>Draft -00:</t>

<t><list style="symbols">
  <t>Initial revision</t>
</list></t>

</section>


  </back>

<!-- ##markdown-source:
H4sIAA5sr2AAA5VZ63IbtxX+v0+B8o+khEuRihLbdJqYlmRZHVlyRblOmsl0
oF2QRLJcbAGsaMZVn6Zv0hfrd3DZiyx53J3xGNwFDs71Ox+gNE0TK20hpuxy
UwptVrJivMxZITNRGlkumbHcirUorWGyZD/PLk4TfnOjxW1Y4qafN9PnzfQk
V1nJ1xCda76waSG4TlVl+GaZqiIdj5MMU5dKb6fYJE8SWekps7o29mA8fjY+
SH4X243S+ZSdlVboUtj0mCQlCXQq83/wQpWQvhUmqeSU/WJVNmRGaavFwmC0
XdPg1yThtV0pPU1YmjA8sjRTdjJi51DIvfBanhRS2fal0sspO5ImU2y+NbDJ
uNcG0oWdsiuZrazEL26MYE/ct0zlkHP0On36zfjQv5EW1r3nRSGNKApRhnl1
acns+UbaP4QuYI37UK2cRYOvDyfs8JA9ffKUPYMvBu6jWHNZTBm58UVGeo0y
te7ZdDRiL5Ve87LsmHXENbQve1+cbe9KeYuIS/vf/1j2UlPQ2PXfz3pWvlXG
Lni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