The use cases of yang model conversion
draft-yby-netmod-usecase-of-ymc-00

Document Type Active Internet-Draft (individual)
Last updated 2020-05-14
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
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)
Internet Engineering Task Force                              B. Yan, Ed.
Internet-Draft                                                Z. Li, Ed.
Intended status: Informational                              Y. Zhao, Ed.
Expires: November 15, 2020           Beijing Univ. of Posts and Telecom.
                                                            May 14, 2020

                 The use cases of yang model conversion
                   draft-yby-netmod-usecase-of-ymc-00

Abstract

   This document contains the brief description and the guidelines for
   the usage of Yang model conversion (YMC).  It demonstrates the
   benefits of YMC for both communication vendors and network operators,
   provides several use cases to show the proper operations, and
   provides the recommendations for the development.

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 November 15, 2020.

Copyright Notice

   Copyright (c) 2020 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

Yan, et al.             Expires November 15, 2020               [Page 1]
Internet-Draft              Abbreviated Title                   May 2020

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Keywords  . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  The usage limitation of Yang model conversion . . . . . . . .   3
   4.  Use cases for Yang model conversion . . . . . . . . . . . . .   4
     4.1.  Use case for vendors  . . . . . . . . . . . . . . . . . .   4
     4.2.  Use case for operators  . . . . . . . . . . . . . . . . .   4
     4.3.  Use case for multiple Yang model organizations  . . . . .   5
   5.  Considerations by using YMC . . . . . . . . . . . . . . . . .   6
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   6
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   6
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   6
     9.2.  Informative References  . . . . . . . . . . . . . . . . .   7
   Appendix A.  Additional Stuff . . . . . . . . . . . . . . . . . .   7
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   7

1.  Introduction

   The Yang standards with version 1.0 RFC 6020 [RFC6020] and version
   1.1 RFC 7950 [RFC7950] define a domain- specific language for network
   data modeling.  By using Yang models, several network management
   protocols like NETCONF [RFC6241] and RESTCONF [RFC8040] are proposed.
   These protocols are deployed widely in network management systems
   (including network controllers in SDN).  The Yang-model-driven
   systems generally generate codes from yang models by using Yang
   compiler, and executes network operations on these model data.  A lot
   of Yang models are defined for the networks in different layers.  The
   combination of multiple Yang models form a complete network model
   under specific scenarios.

   A Yang model is composed of different statements.  According to the
   descriptions in Yang standards, these statements could be divided
   into module statement, submodule statement, typedef statement,
   container statement, leaf-list statement, list statement, choice
   statement, etc.  In order to manage the updates for Yang models in
   the equipment development, Yang standard introduces revision
   statement and augment statement to indicate the version and extension
   for a Yang model.  However, these statements could only handle the
   model management in an incremental updating way, but couldn't handle
   the mapping problem between two similar Yang models.  And with the
Show full document text