This Document Contains in Section 2 Below the YANG Mapping of the UML Information Model

Total Page:16

File Type:pdf, Size:1020Kb

This Document Contains in Section 2 Below the YANG Mapping of the UML Information Model

INTERNATIONAL TELECOMMUNICATION UNION STUDY GROUP 15 TELECOMMUNICATION WD1014-16r1 (WP 3/15) STANDARDIZATION SECTOR STUDY PERIOD 2013-2016 English only Original: English Question(s): 14/15 Munich, 17-20 May 2016 TD Source: ITU-T SG15 Q10 and Q14 Munich Joint Interim Meeting Title: YANG mapping of the G.7711 v1.02 Information Model

1. Introduction This document contains in section 2 below the YANG mapping of the UML information model defined in Recommendation G.7711/Y.1702 “Generic protocol-neutral information model for transport resources”. The translation is done automatically using the open source UML to YANG mapping tool《xmi2yang tool-v2.0》 (https://github.com/OpenNetworkingFoundation/EAGLE-Open- Model-Profile-and-Tools/tree/UmlYangTools). This version of the mapping tool is a beta version, which is still under development and thus further improvement is expected. The output Yang module from the mapping tool have been validated by using the YANG tool at http://www.yangvalidator.com/. Note that the G.7711 UML model is a base model consisting of model constructs for constructing interface specific UML models. Thus some validation issues, such as related to containment/naming trees, can only be addressed at the interface design stage. The purpose of translating the base UML model is to demonstrate the feasibility of UML-to-YANG automatic mapping and also to identify and resolve UML to YANG mapping issues.

2. YANG Mapping of G.7711

2.1 G.7711 UML Model The inforce published version of Recommendation G.7711 v1.0 (08/2015) is available on the ITU-T site at http://www.itu.int/rec/T-REC-G.7711/en. The editor version of the UML file v1.02.01 is embedded here below. This is the one used to translate into YANG.

g7711_v1.02.01-mo del_2016.07.13.zip

Contact: Hing-Kam Lam Tel: +1 732 331 3476 Rapporteur Q14/15 Email: Kam.Lam@ nokia .com Attention: This is not a publication made available to the public, but an internal ITU-T Document intended only for use by the Member States of ITU, by ITU-T Sector Members and Associates, and their respective staff and collaborators in their ITU related work. It shall not be made available to, and used by, any other persons or entities without the prior written consent of ITU-T. - 2 - WD1014-16r1 (WP 3/15)

2.2 G.7711 YANG Mapping 2.2.1 G.7711 YANG Module

CoreModel.yang

2.2.2 G.7711 YANG Tree

g7711-v1.02.01-yan g-tree.txt

3. References [ITU-T G.7711] ITU-T Recommendation G.7711/Y.1702 “Generic protocol-neutral information model for transport resources” v1.02 [xmi2yang tool] Open Source UML to YANG Translation Tool, https://github.com/OpenNetworkingFoundation/EAGLE-Open-Model-Profile- and-Tools/tree/UmlYangTools [YANG Validation] YANG Validation Tool, http://www.yangvalidator.com/

______

Recommended publications