YANG Schema Mount
RFC 8528

Document Type RFC - Proposed Standard (March 2019; No errata)
Last updated 2019-03-06
Replaces draft-bjorklund-netmod-structural-mount
Stream IETF
Formats plain text pdf html bibtex
Yang Validation 0 errors, 0 warnings.
Reviews
Additional URLs
- Yang catalog entry for ietf-yang-schema-mount@2018-10-16.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 RFC 8528 (Proposed Standard)
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 RFC-Ed-Ack
Internet Engineering Task Force (IETF)                      M. Bjorklund
Request for Comments: 8528                                Tail-f Systems
Category: Standards Track                                      L. Lhotka
ISSN: 2070-1721                                                   CZ.NIC
                                                              March 2019

                           YANG Schema Mount

Abstract

   This document defines a mechanism that adds the schema trees defined
   by a set of YANG modules onto a mount point defined in the schema
   tree in another YANG module.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   https://www.rfc-editor.org/info/rfc8528.

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
   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           Standards Track                    [Page 1]
RFC 8528                    YANG Schema Mount                 March 2019

Table of Contents

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

Bjorklund & Lhotka           Standards Track                    [Page 2]
RFC 8528                    YANG Schema Mount                 March 2019

1.  Introduction

   Modularity and extensibility are 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 to 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],
   [RFC8525], 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 module (if there are any) are also top-level
   nodes of the overall data model.

   YANG has two mechanisms for contributing a schema hierarchy defined
Show full document text