Guidelines for Translation of UML Information Model to YANG Data Model
draft-mansfield-netmod-uml-to-yang-03

Document Type Active Internet-Draft (individual)
Last updated 2016-10-27
Stream (None)
Intended RFC status (None)
Formats plain text pdf xml html 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)
NETMOD Working Group                                   S. Mansfield, Ed.
Internet-Draft                                             Ericsson Inc.
Intended status: Informational                                 B. Zeuner
Expires: April 30, 2017                              Deutsche Telekom AG
                                                                N. Davis
                                                                   Ciena
                                                                  Y. Yun
                                                               Fiberhome
                                                               Y. Tochio
                                                                 Fujitsu
                                                                  K. Lam
                                                                E. Varma
                                                                   Nokia
                                                        October 27, 2016

 Guidelines for Translation of UML Information Model to YANG Data Model
                 draft-mansfield-netmod-uml-to-yang-03

Abstract

   This document defines guidelines for translation of data modeled with
   UML to YANG including mapping of object classes, attributes, data
   types, associations, interfaces, operations and operation parameters,
   notifications, and lifecycle.

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 April 30, 2017.

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Mansfield, et al.        Expires April 30, 2017                 [Page 1]
Internet-Draft           Guidelines UML to YANG             October 2016

   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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Mapping Guidelines  . . . . . . . . . . . . . . . . . . . . .   4
     4.1.  Mapping Guideline Considerations  . . . . . . . . . . . .   4
     4.2.  Mapping of Object Classes . . . . . . . . . . . . . . . .   4
     4.3.  Mapping of Attributes . . . . . . . . . . . . . . . . . .   8
     4.4.  Mapping of Types  . . . . . . . . . . . . . . . . . . . .  11
       4.4.1.  Mapping of Primitive Types  . . . . . . . . . . . . .  12
       4.4.2.  Mapping of Complex Data Types . . . . . . . . . . . .  13
     4.5.  Mapping of Enumeration Types  . . . . . . . . . . . . . .  15
     4.6.  Mapping of Associations . . . . . . . . . . . . . . . . .  16
     4.7.  Mapping of Interfaces . . . . . . . . . . . . . . . . . .  17
     4.8.  Mapping of Operations . . . . . . . . . . . . . . . . . .  18
     4.9.  Mapping of Operation Parameters . . . . . . . . . . . . .  21
     4.10. Mapping of Notifications  . . . . . . . . . . . . . . . .  23
     4.11. Mapping of Lifecycle  . . . . . . . . . . . . . . . . . .  24
   5.  Mapping Patterns  . . . . . . . . . . . . . . . . . . . . . .  25
     5.1.  UML Recursion . . . . . . . . . . . . . . . . . . . . . .  25
       5.1.1.  Reference Based Approach  . . . . . . . . . . . . . .  25
     5.2.  UML Conditional Pacs  . . . . . . . . . . . . . . . . . .  25
     5.3.  XOR Relationship  . . . . . . . . . . . . . . . . . . . .  25
     5.4.  Choice Stereotype . . . . . . . . . . . . . . . . . . . .  26
     5.5.  Mapping of UML Support and Condition  . . . . . . . . . .  26
   6.  Mapping Basics  . . . . . . . . . . . . . . . . . . . . . . .  26
     6.1.  UML-YANG or XMI-YANG  . . . . . . . . . . . . . . . . . .  26
Show full document text