YANG Schema Version Selection
draft-wilton-netmod-yang-ver-selection-01

Document Type Active Internet-Draft (individual)
Last updated 2019-11-02
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized bibtex
Yang Validation 8 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-schema-version-selection@2019-10-31.yang
- Yang impact analysis for draft-wilton-netmod-yang-ver-selection
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                                          R. Wilton
Internet-Draft                                                 R. Rahman
Updates: 6241,8040 (if approved)                               J. Clarke
Intended status: Standards Track                     Cisco Systems, Inc.
Expires: May 4, 2020                                    November 1, 2019

                     YANG Schema Version Selection
               draft-wilton-netmod-yang-ver-selection-01

Abstract

   This document defines protocol mechanisms to allow clients, using
   NETCONF or RESTCONF, to choose which YANG schema to use for
   interactions with a server, out of the available YANG schemas
   supported by a server.  The provided functionality allow servers to
   support clients in a backwards compatible way, at the same time
   allowing for non-backwards-compatible updates to YANG modules.

   This draft provides a solution to YANG versioning requirements 3.1
   and 3.2.

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 May 4, 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

Wilton, et al.             Expires May 4, 2020                  [Page 1]
Internet-Draft        YANG Schema Version Selection        November 2019

   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.

Table of Contents

   1.  Terminology and Conventions . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Background  . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Objectives  . . . . . . . . . . . . . . . . . . . . . . . . .   4
   5.  Solution Overview . . . . . . . . . . . . . . . . . . . . . .   5
     5.1.  NETCONF . . . . . . . . . . . . . . . . . . . . . . . . .   6
       5.1.1.  New capability to advertise schema sets supported . .   6
       5.1.2.  <select-schema-sets> operation  . . . . . . . . . . .   7
     5.2.  RESTCONF  . . . . . . . . . . . . . . . . . . . . . . . .   8
   6.  Version selection from a server perspective . . . . . . . . .   8
   7.  Version selection from a client's perspective . . . . . . . .   9
   8.  Limitations of the solution . . . . . . . . . . . . . . . . .  10
   9.  Schema Version Selection YANG module  . . . . . . . . . . . .  10
   10. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .  11
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  16
   12. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  16
     12.1.  NETCONF Capability URNs  . . . . . . . . . . . . . . . .  16
   13. Open Questions/Issues . . . . . . . . . . . . . . . . . . . .  16
   14. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  16
   15. References  . . . . . . . . . . . . . . . . . . . . . . . . .  17
     15.1.  Normative References . . . . . . . . . . . . . . . . . .  17
     15.2.  Informative References . . . . . . . . . . . . . . . . .  18
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  19

1.  Terminology and Conventions

   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 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

   This document uses terminology introduced in the YANG versioning
   requirements document [I-D.verdt-netmod-yang-versioning-reqs], the
   YANG Module Versioning document
   [I-D.verdt-netmod-yang-module-versioning] and the YANg Packages
   document [I-D.rwilton-netmod-yang-packages].

   This document also makes of the following terminology introduced in
   the Network Management Datastore Architecture [RFC8342]:
Show full document text