YANG Instance Data File Format
draft-ietf-netmod-yang-instance-file-format-04

Document Type Active Internet-Draft (netmod WG)
Last updated 2019-08-12
Replaces draft-lengyel-netmod-yang-instance-data
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Yang Validation 0 errors, 1 warnings.
Additional URLs
- Yang catalog entry for ietf-yang-instance-data@2019-07-04.yang
- Yang impact analysis for draft-ietf-netmod-yang-instance-file-format
- Mailing list discussion
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Netmod                                                        B. Lengyel
Internet-Draft                                                  Ericsson
Intended status: Standards Track                               B. Claise
Expires: February 13, 2020                           Cisco Systems, Inc.
                                                         August 12, 2019

                     YANG Instance Data File Format
             draft-ietf-netmod-yang-instance-file-format-04

Abstract

   There is a need to document data defined in YANG models when a live
   server is not available.  Data is often needed already at design or
   implementation time or needed by groups that do not have a live
   running server available.  This document specifies a standard file
   format for YANG instance data (which follows the syntax and semantic
   from existing YANG models, re-using the same format as the reply to a
   <get> operation/request) and decorates it with metadata.

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 February 13, 2020.

Copyright Notice

   Copyright (c) 2019 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
   to this document.  Code Components extracted from this document must

Lengyel & Claise        Expires February 13, 2020               [Page 1]
Internet-Draft             YANG Instance Data                August 2019

   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.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Principles  . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Instance Data File Format . . . . . . . . . . . . . . . . . .   4
     3.1.  Specifying the Content Schema . . . . . . . . . . . . . .   6
       3.1.1.  Inline Method . . . . . . . . . . . . . . . . . . . .   7
       3.1.2.  Simplified-Inline Method  . . . . . . . . . . . . . .   7
       3.1.3.  URI Method  . . . . . . . . . . . . . . . . . . . . .   7
     3.2.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .   8
   4.  Data Life cycle . . . . . . . . . . . . . . . . . . . . . . .  12
   5.  Delivery of Instance Data . . . . . . . . . . . . . . . . . .  13
   6.  Backwards Compatibility . . . . . . . . . . . . . . . . . . .  13
   7.  Yang Instance Data Model  . . . . . . . . . . . . . . . . . .  13
     7.1.  Tree Diagram  . . . . . . . . . . . . . . . . . . . . . .  13
     7.2.  YANG Model  . . . . . . . . . . . . . . . . . . . . . . .  14
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  18
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  18
     9.1.  URI Registration  . . . . . . . . . . . . . . . . . . . .  19
     9.2.  YANG Module Name Registration . . . . . . . . . . . . . .  19
   10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  19
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  19
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  19
     11.2.  Informative References . . . . . . . . . . . . . . . . .  20
   Appendix A.  Open Issues  . . . . . . . . . . . . . . . . . . . .  21
   Appendix B.  Changes between revisions  . . . . . . . . . . . . .  21
   Appendix C.  Detailed Use Cases - Non-Normative . . . . . . . . .  22
     C.1.  Use Cases . . . . . . . . . . . . . . . . . . . . . . . .  22
       C.1.1.  Use Case 1: Early Documentation of Server
               Capabilities  . . . . . . . . . . . . . . . . . . . .  22
       C.1.2.  Use Case 2: Preloading Data . . . . . . . . . . . . .  24
       C.1.3.  Use Case 3: Documenting Factory Default Settings  . .  24
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  24

1.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
Show full document text