YANG Instance Data Files and their use for Documenting Server Capabilities
draft-lengyel-netmod-yang-instance-data-01

Document Type Active Internet-Draft (individual)
Last updated 2018-06-13
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Yang Validation 2 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-yang-instance-data@2018-06-04.yang
- Yang impact analysis for draft-lengyel-netmod-yang-instance-data
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                                         B. Lengyel
Internet-Draft                                                  Ericsson
Intended status: Standards Track                               B. Claise
Expires: December 15, 2018                           Cisco Systems, Inc.
                                                           June 13, 2018

     YANG Instance Data Files and their use for Documenting Server
                              Capabilities
               draft-lengyel-netmod-yang-instance-data-01

Abstract

   This document specifies a standard file format for YANG instance
   data, that is data that could be stored in a datastore and whose
   syntax and semantics is defined by YANG models.  Instance data files
   can be used to provide information that is defined in design time.
   There is a need to document Server capabilities (which are often
   specified in design time), which should be done using instance data
   files.

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 https://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 15, 2018.

Copyright Notice

   Copyright (c) 2018 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
   (https://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

Lengyel & Claise        Expires December 15, 2018               [Page 1]
Internet-Draft             YANG Instance Data                  June 2018

   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.

1.  Terminology

   Design time: A time during which a YANG model and the implementation
   behind it is created.  Sometimes in other documents this period is
   divided into design and implementation time.

   Instance Data Set: A named set of data items that can be used as
   instance data in a YANG data tree.

   Instance Data File: A file containing an instance data set formatted
   according to the rules described in this document.

2.  Introduction

   A YANG server has a number of server-capabilities that can be
   retrieved from the server using protocols like NETCONF or RESTCONF.
   YANG server capabilities include

   o  data defined in ietf-yang-library (YANG modules, submodules,
      features, deviations, schema-mounts)

   o  datastores supported

   o  alarms supported (draft-vallin-ccamp-alarm-module)

   o  data nodes, subtrees that support or do not support on-change
      notifications (draft-ietf-netconf-yang-push)

   o  netconf-capabilities

   o  etc.

   While it is good practice to allow a client to query these
   capabilites from the live YANG server, that is often not enough.
   Many of these server-capabilities are relatively stable.  They may
   change

   1.  only at upgrade, or

   2.  rarely (e.g. due to licensing), or

   3.  more frequently

Lengyel & Claise        Expires December 15, 2018               [Page 2]
Internet-Draft             YANG Instance Data                  June 2018

   Most capabilities belong to type 1), some to type 2) and a relatively
   small set to type 3).  Many network nodes only have type 1) or type
   1+2) capabilities.  Stable capabilities are usually defined by a
   vendor in design time, before the product is released.  While these
   capabilities can be retrieved from the live server in run-time, there
   is a strong need to provide the same data already during design time.
   (Often only a part of all the server capabilities can be made
   available.)

   Often when a network node is released an associated NMS (network
   management system) is also released with it.  The NMS depends on the
   capabilities of the YANG server.  During NMS implementation
   information about server capabilities is needed.  If the information
   is not available early in some off-line document, but only as
   instance data from the live network node, the NMS implementation will
   be delayed, because it has to wait for the network node to be ready.
   Also assuming that all NMS implementors will have a correctly
Show full document text