YANG Module Library
draft-nmdsdt-netconf-rfc7895bis-00

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2017-05-31
Replaced by rfc8525, draft-ietf-netconf-rfc7895bis
Stream (None)
Intended RFC status (None)
Formats plain text 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)
Network Working Group                                         A. Bierman
Internet-Draft                                                 YumaWorks
Obsoletes: rfc7895 (if approved)                            M. Bjorklund
Intended status: Standards Track                          Tail-f Systems
Expires: December 1, 2017                                      K. Watsen
                                                        Juniper Networks
                                                            May 30, 2017

                          YANG Module Library
                   draft-nmdsdt-netconf-rfc7895bis-00

Abstract

   This document describes a YANG library that provides information
   about all the YANG modules used by a network management server (e.g.,
   a Network Configuration Protocol (NETCONF) server).  Simple caching
   mechanisms are provided to allow clients to minimize retrieval of
   this information.

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 December 1, 2017.

Copyright Notice

   Copyright (c) 2017 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

Bierman, et al.         Expires December 1, 2017                [Page 1]
Internet-Draft                YANG Library                      May 2017

   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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Tree Diagrams . . . . . . . . . . . . . . . . . . . . . .   3
     1.3.  Summary of Changes from RFC 7895  . . . . . . . . . . . .   4
   2.  YANG Module Library . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  datastores  . . . . . . . . . . . . . . . . . . . . . . .   5
     2.2.  modules-state . . . . . . . . . . . . . . . . . . . . . .   5
       2.2.1.  modules-state/module-set-id . . . . . . . . . . . . .   5
       2.2.2.  modules-state/module  . . . . . . . . . . . . . . . .   6
     2.3.  YANG Library Module . . . . . . . . . . . . . . . . . . .   6
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
     3.1.  YANG Module Registry  . . . . . . . . . . . . . . . . . .  12
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   5.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  13
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  15
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  15

1.  Introduction

   There is a need for standard mechanisms to identify the YANG modules
   and submodules that are in use by a server that implements YANG data
   models.  If a large number of YANG modules are utilized by the
   server, then the YANG library contents needed can be relatively
   large.  This information changes very infrequently, so it is
   important that clients be able to cache the YANG library contents and
   easily identify whether their cache is out of date.

   YANG library information can be different on every server and can
   change at runtime or across a server reboot.

   If the server implements multiple protocols to access the YANG-
   defined data, each such protocol has its own conceptual instantiation
   of the YANG library.

   The following information is needed by a client application (for each
   YANG module in the library) to fully utilize the YANG data modeling
   language:

   o  name: The name of the YANG module.

Bierman, et al.         Expires December 1, 2017                [Page 2]
Internet-Draft                YANG Library                      May 2017

   o  revision: Each YANG module and submodule within the library has a
Show full document text