Grammar for Enterprise YANG Module Namespace
draft-chen-netmod-enterprise-yang-namespace-03

Document Type Active Internet-Draft (individual)
Last updated 2016-10-13
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
NETMOD                                                           I. Chen
Internet-Draft                                       Kuatro Technologies
Intended status: Informational                          October 13, 2016
Expires: April 16, 2017

              Grammar for Enterprise YANG Module Namespace
             draft-chen-netmod-enterprise-yang-namespace-03

Abstract

   This document defines the grammar to create enterprise YANG module
   namespaces that are globally unique, as required by the YANG modeling
   language.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 16, 2017.

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Chen                     Expires April 16, 2017                 [Page 1]
Internet-Draft          Enterprise YANG Namespace           October 2016

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  YANG Module Name and Namespace Requirements and
       Recommendations . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Enterprise YANG Module Namespace Grammar  . . . . . . . . . .   3
   4.  Usage Example . . . . . . . . . . . . . . . . . . . . . . . .   4
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   4
     7.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   5

1.  Introduction

   The use of a standard data modeling language YANG [RFC7950] together
   with Network Configuration Protocol (NETCONF) [RFC6241] allows for
   the creation of a standard network configuration interface.  YANG
   further allows vendors to customize standard YANG modules and to
   create enterprise YANG modules that adapt standard YANG modules to
   different devices and features.  To identify YANG modules, [RFC7950]
   requires YANG module namespaces of all YANG modules, both standard
   YANG modules and enterprise YANG modules, be globally unique.
   [RFC7950] also recommends that enterprise YANG modules have module
   names that are globally unique.

   Based the module naming convention recommended in [RFC7950], this
   document defines the grammar to create YANG module namespaces for
   enterprise YANG modules that result in globally unique namespaces.

1.1.  Terminology

   The keywords "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, [RFC2119].

2.  YANG Module Name and Namespace Requirements and Recommendations

   [RFC7950] consists of several YANG module name and namespace
   requirements and recommendations.

   [RFC7950] Section 5.3 paragraph 1 states that

   Each module is bound to a distinct XML namespace [XML-NAMES], which
   is a globally unique URI [RFC3986].

Chen                     Expires April 16, 2017                 [Page 2]
Internet-Draft          Enterprise YANG Namespace           October 2016
Show full document text