YANG Schema Mount
draft-ietf-netmod-schema-mount-11

Document Type Active Internet-Draft (netmod WG)
Last updated 2018-09-18 (latest revision 2018-08-07)
Replaces draft-bjorklund-netmod-structural-mount
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Yang Validation 0 errors, 0 warnings.
Reviews
Additional URLs
- Yang catalog entry for ietf-yang-schema-mount@2018-08-07.yang
- Yang impact analysis for draft-ietf-netmod-schema-mount
- Mailing list discussion
Stream WG state Submitted to IESG for Publication (wg milestone: Dec 2017 - Submit draft-ietf-ne... )
Document shepherd Joel Jaeggli
Shepherd write-up Show (last changed 2018-04-16)
IESG IESG state Waiting for AD Go-Ahead
Consensus Boilerplate Yes
Telechat date
Responsible AD Ignas Bagdonas
Send notices to "Lou Berger" <lberger@labn.net>, Kent Watsen <kwatsen@juniper.net>, Joel Jaeggli <joelja@gmail.com>
IANA IANA review state Version Changed - Review Needed
IANA action state None
Network Working Group                                       M. Bjorklund
Internet-Draft                                            Tail-f Systems
Intended status: Standards Track                               L. Lhotka
Expires: February 8, 2019                                         CZ.NIC
                                                          August 7, 2018

                           YANG Schema Mount
                   draft-ietf-netmod-schema-mount-11

Abstract

   This document defines a mechanism to add the schema trees defined by
   a set of YANG modules onto a mount point defined in the schema tree
   in some YANG module.

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 February 8, 2019.

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
   (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.

Bjorklund & Lhotka      Expires February 8, 2019                [Page 1]
Internet-Draft              YANG Schema Mount                August 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology and Notation  . . . . . . . . . . . . . . . . . .   5
     2.1.  Tree Diagrams . . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  Namespace Prefixes  . . . . . . . . . . . . . . . . . . .   6
   3.  Schema Mount  . . . . . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Mount Point Definition  . . . . . . . . . . . . . . . . .   7
     3.2.  Data Model  . . . . . . . . . . . . . . . . . . . . . . .   8
     3.3.  Specification of the Mounted Schema . . . . . . . . . . .   8
     3.4.  Multiple Levels of Schema Mount . . . . . . . . . . . . .   9
   4.  Referring to Data Nodes in the Parent Schema  . . . . . . . .   9
   5.  RPC operations and Notifications  . . . . . . . . . . . . . .  10
   6.  Network Management Datastore Architecture (NMDA)
       Considerations  . . . . . . . . . . . . . . . . . . . . . . .  11
   7.  Interaction with the Network Configuration Access Control
       Model (NACM)  . . . . . . . . . . . . . . . . . . . . . . . .  11
   8.  Implementation Notes  . . . . . . . . . . . . . . . . . . . .  12
   9.  Schema Mount YANG Module  . . . . . . . . . . . . . . . . . .  12
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  17
   12. Contributors  . . . . . . . . . . . . . . . . . . . . . . . .  18
   13. References  . . . . . . . . . . . . . . . . . . . . . . . . .  18
     13.1.  Normative References . . . . . . . . . . . . . . . . . .  18
     13.2.  Informative References . . . . . . . . . . . . . . . . .  20
   Appendix A.  Example: Device Model with LNEs and NIs  . . . . . .  21
     A.1.  Physical Device . . . . . . . . . . . . . . . . . . . . .  21
     A.2.  Logical Network Elements  . . . . . . . . . . . . . . . .  23
     A.3.  Network Instances . . . . . . . . . . . . . . . . . . . .  26
     A.4.  Invoking an RPC Operation . . . . . . . . . . . . . . . .  27
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  28

1.  Introduction

   Modularity and extensibility were among the leading design principles
   of the YANG data modeling language.  As a result, the same YANG
   module can be combined with various sets of other modules and thus
   form a data model that is tailored to meet the requirements of a
   specific use case.  Server implementors are only required to specify
   all YANG modules comprising the data model (together with their
   revisions and other optional choices) in the YANG library data
   ([RFC7895], [I-D.ietf-netconf-rfc7895bis] and Section 5.6.4 of
   [RFC7950]) implemented by the server.  Such YANG modules appear in
   the data model "side by side", i.e., top-level data nodes of each
Show full document text