--- 1/draft-ietf-ccamp-flexigrid-yang-00.txt 2018-08-10 01:13:39.819037996 -0700 +++ 2/draft-ietf-ccamp-flexigrid-yang-01.txt 2018-08-10 01:13:39.863039057 -0700 @@ -1,27 +1,27 @@ CCAMP Working Group J.E. Lopez de Vergara Internet Draft Universidad Autonoma de Madrid Intended status: Standards Track Daniel Perdices -Expires: August 13, 2018 Naudit HPCN +Expires: February 11, 2019 Naudit HPCN V. Lopez O. Gonzalez de Dios Telefonica I+D/GCTO D. King Lancaster University Y. Lee Huawei G. Galimberti Cisco Photonics Srl - February 9, 2018 + August 10, 2018 YANG data model for Flexi-Grid Optical Networks - draft-ietf-ccamp-flexigrid-yang-00.txt + draft-ietf-ccamp-flexigrid-yang-01.txt Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. This document may not be modified, and derivative works of it may not be created, except to publish it as an RFC and to translate it into languages other than English. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that @@ -32,21 +32,21 @@ 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." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html - This Internet-Draft will expire on August 13, 2018. + This Internet-Draft will expire on February 11, 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 @@ -123,52 +123,52 @@ In this document, the characters ">>" preceding an indented line(s) indicates a compliance requirement statement using the key words listed above. This convention aids reviewers in quickly identifying or finding the explicit compliance requirements of this RFC. 3. Flexi-grid network topology model overview YANG is a data modeling language used to model configuration data manipulated by the NETCONF protocol. Several YANG models have already been specified for network configurations. For instance, the work in - [I-D.draft-ietf-i2rs-yang-network-topo] has proposed a generic YANG - model for network/service topologies and inventories. The work in + [RFC8345] has proposed a generic YANG model for network/service + topologies and inventories. The work in [I-D.draft-ietf-teas-yang-te-topo] presents a data model to represent, retrieve and manipulate Traffic Engineering (TE) Topologies. These models serve as base models that other technology specific models can augment. A YANG model has also been proposed in [I-D.draft-dharini-ccamp-dwdm-if-yang] to manage single channel optical interface parameters of DWDM applications, and in [I-D.draft-ietf-ccamp-wson-yang] another model has been specified for the routing and wavelength assignment TE topology in wavelength switched optical networks (WSONs). None of them are specific for flexi-grid technology. Then, as stated before, we propose a model to describe a flexi-grid topology that is split in two YANG sub-modules: o Flexi-grid-TED: In order to be compatible with existing proposals, we augment the definitions contained in - [I-D.draft-ietf-i2rs-yang-network-topo] and - [I-D.draft-ietf-teas-yang-te-topo], by defining the different - elements we can find in a flexi-grid network: a node, a transponder - and a link. For that, each of those elements is defined as a - container that includes a group of attributes. References to the - elements are provided to be later used in the definition of a - media channel. It also includes the data types for the type of - modulation, the flexi-grid technology, the FEC, etc. + [RFC8345] and [I-D.draft-ietf-teas-yang-te-topo], by defining + the different elements we can find in a flexi-grid network: + a node, a transponder and a link. For that, each of those elements + is defined as a container that includes a group of attributes. + References to the elements are provided to be later used in + the definition of a media channel. It also includes the data + types for the type of modulation, the flexi-grid technology, + the FEC, etc. o Media-channel: This module defines the whole path from a source transponder to the destination through a number of intermediate nodes and links. For this, it takes the information defined before in the flexi-grid TED. This module is described in - [I-D.draft-vergara-ccamp-flexigrid-media-channel-yang] + [I-D.draft-ietf-ccamp-flexigrid-media-channel-yang] The following section provides a detailed view of the first module. 4. Main building blocks of the Flexi-grid TED This section details the defined YANG module. It is listed below in section 6. The description of the three main components, flexi-grid-node, flexi-grid-transponder and flexi-grid-link is provided below. @@ -376,97 +376,87 @@ transponders, indicating which flexi-grid labels are available. Other information, such as the slot frequency and granularity are also provided. Next, we can configure the media channel from the information we have stored in the flexi-grid TED, by querying which elements are available, and planning the resources that have to be provided on each situation. Note that every element in the flexi-grid TED has a reference, and this is the way in which they are called in the media channel. We refer to - [I-D.draft-vergara-ccamp-flexigrid-media-channel-yang] to complete + [I-D.draft-ietf-ccamp-flexigrid-media-channel-yang] to complete this example. 6. Flexi-grid TED YANG Model 6.1. Yang Model - Tree Structure module: ietf-flexi-grid-topology - augment /nd-s:networks/nd-s:network/nd-s:node/tet-s:te/ - tet-s:te-node-attributes: - +--ro interfaces* [name] - +--ro name string - +--ro port-number? uint32 - +--ro input-port? boolean - +--ro output-port? boolean - +--ro description? string - +--ro type? interface-type - +--ro numbered-interface - | +--ro n-i-ip-address? inet:ip-address - +--ro unnumbered-interface - +--ro u-i-ip-address? inet:ip-address - +--ro label? uint32 + augment /nd:networks/nd:network/nd:node/tet:te/tet:te-node-attributes + +--rw interfaces* [name] + +--rw name string + +--rw port-number? uint32 + +--rw input-port? boolean + +--rw output-port? boolean + +--rw description? string + +--rw type? interface-type + +--rw numbered-interface + | +--rw n-i-ip-address? inet:ip-address + +--rw unnumbered-interface + +--rw u-i-ip-address? inet:ip-address + +--rw label? uint32 flexi-grid-connectivity-matrix-attributes augment /nd:networks/nd:network/nd:node/tet:te/ tet:te-node-attributes/tet:connectivity-matrices/ tet:connectivity-matrix: +--rw connections* [input-port-id] +--rw input-port-id flexi-grid-node-port-ref +--rw output-port-id? flexi-grid-node-port-ref -flexi-grid-connectivity-matrix-attributes - augment /nd-s:networks/nd-s:network/nd-s:node/tet-s:te/ - tet-s:te-node-attributes/tet-s:connectivity-matrices/ - tet-s:connectivity-matrix: - +--ro connections* [input-port-id] - +--ro input-port-id flexi-grid-node-port-ref - +--ro output-port-id? flexi-grid-node-port-ref + flexi-grid-transponder augment /nd:networks/nd:network/nd:node/tet:te/ tet:tunnel-termination-point: +--rw available-operational-mode* operational-mode +--rw operational-mode? operational-mode -flexi-grid-transponder - augment /nd-s:networks/nd-s:network/nd-s:node/tet-s:te/ - tet-s:tunnel-termination-point: - +--ro available-operational-mode* operational-mode - +--ro operational-mode? operational-mode A.2. YANG Model - Code - file "ietf-flexi-grid-ted@2018-02-09.yang" + file "ietf-flexi-grid-ted@2018-08-11.yang" module ietf-flexi-grid-ted { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-flexi-grid-ted"; prefix "fg-ted"; import ietf-network { prefix "nd"; } - import ietf-network-state { - prefix "nd-s"; - } import ietf-network-topology { prefix "lnk"; } - import ietf-network-topology-state { - prefix "lnk-s"; - } import ietf-te-topology { prefix "tet"; } - import ietf-te-topology-state { - prefix "tet-s"; - } import ietf-inet-types { prefix "inet"; } + /* + import ietf-network-state { + prefix "nd-s"; + } + import ietf-network-topology-state { + prefix "lnk-s"; + } + import ietf-te-topology-state { + prefix "tet-s"; + } + */ organization "IETF CCAMP Working Group"; contact "Editor: Jorge Lopez de Vergara "; description "This module contains a collection of YANG definitions for a Flexi-Grid Traffic Engineering Database (TED). @@ -474,23 +464,23 @@ Copyright (c) 2018 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info)."; - revision 2018-02-09 { + revision 2018-08-11 { description - "version 7."; + "version 8."; reference "RFC XXX: A Yang Data Model for Flexi-Grid Optical Networks "; } /* Typedefs */ @@ -561,21 +551,21 @@ description "flexi-grid optical network"; } description "If present, it indicates a flexi-grid optical TED network"; } grouping flexi-grid-node-attributes { description "Set of attributes of an optical node."; list interfaces { key "name"; - unique "port-number"; // TODO Puerto y TP ID + unique "port-number"; description "List of interfaces contained in the node"; leaf name { type string; description "Interface name"; } leaf port-number { type uint32; description "Number of the port used by the interface"; } @@ -674,21 +664,20 @@ } units GHz; default 12.5; description "Minimum space between slot widths"; reference "rfc7698"; } } grouping flexi-grid-transponder-attributes { description "Configuration of an optical transponder"; - //TODO Validate attributes leaf-list available-operational-mode { type operational-mode; description "List of all vendor-specific supported mode identifiers"; } leaf operational-mode { type operational-mode; description "Vendor-specific mode identifier"; } @@ -712,110 +701,114 @@ } /* Augments */ augment "/nd:networks/nd:network/nd:network-types" { uses flexi-grid-network-type; description "Augment network-types including flexi-grid topology"; } - augment "/nd-s:networks/nd-s:network/nd-s:network-types" { - uses flexi-grid-network-type; - description "Augment network-types including flexi-grid - topology"; - } + augment "/nd:networks/nd:network/lnk:link/tet:te" + "/tet:te-link-attributes" { when "/nd:networks/nd:network/nd:network-types/ fg-ted:flexi-grid-network" { description "Augment only for Flexigrid network."; } description "Augment link configuration"; uses flexi-grid-link-attributes; } - + /* NMDA Compliant + augment "/nd-s:networks/nd-s:network/nd-s:network-types" { + uses flexi-grid-network-type; + description "Augment network-types including flexi-grid + topology"; + } augment "/nd-s:networks/nd-s:network/lnk-s:link/tet-s:te" + "/tet-s:te-link-attributes" { when "/nd-s:networks/nd-s:network/nd-s:network-types/ fg-ted:flexi-grid-network" { description "Augment only for Flexigrid network."; } description "Augment link state"; uses flexi-grid-link-attributes; } + */ augment "/nd:networks/nd:network/nd:node/tet:te" + "/tet:te-node-attributes" { when "/nd:networks/nd:network/nd:network-types/ fg-ted:flexi-grid-network" { description "Augment only for Flexigrid network."; } uses flexi-grid-node-attributes; description "Augment node config with flexi-grid attributes"; } - + /* NMDA Compliant augment "/nd-s:networks/nd-s:network/nd-s:node/tet-s:te" + "/tet-s:te-node-attributes" { when "/nd-s:networks/nd-s:network/nd-s:network-types/ fg-ted:flexi-grid-network" { description "Augment only for Flexigrid network."; } uses flexi-grid-node-attributes; description "Augment node state with flexi-grid attributes"; } + */ augment "/nd:networks/nd:network/nd:node/tet:te"+ "/tet:te-node-attributes/tet:connectivity-matrices/"+ "tet:connectivity-matrix" { when "/nd:networks/nd:network/nd:network-types/ fg-ted:flexi-grid-network" { description "Augment only for Flexigrid network."; } uses flexi-grid-connectivity-matrix-attributes; description "Augment node connectivity-matrix for node config"; } - + /* NMDA Compliant augment "/nd-s:networks/nd-s:network/nd-s:node/tet-s:te"+ "/tet-s:te-node-attributes/tet-s:connectivity-matrices/"+ "tet-s:connectivity-matrix" { when "/nd-s:networks/nd-s:network/nd-s:network-types/ fg-ted:flexi-grid-network"{ description "Augment only for Flexigrid network."; } uses flexi-grid-connectivity-matrix-attributes; description "Augment node connectivity-matrix for node config"; } + */ augment "/nd:networks/nd:network/nd:node/tet:te"+ "/tet:tunnel-termination-point" { when "/nd:networks/nd:network/nd:network-types/ fg-ted:flexi-grid-network"{ description "Augment only for Flexigrid network."; } uses flexi-grid-transponder-attributes; description "Augment node state with transponder attributes"; } - + /* NMDA Compliant augment "/nd-s:networks/nd-s:network/nd-s:node/tet-s:te"+ "/tet-s:tunnel-termination-point" { when "/nd-s:networks/nd-s:network/nd-s:network-types/ fg-ted:flexi-grid-network"{ description "Augment only for Flexigrid network."; } uses flexi-grid-transponder-attributes; description "Augment node state with transponder attributes"; } - + */ } A.3. License Copyright (c) 2018 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -881,46 +874,45 @@ [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004. 9.2. Informative References [RFC7698] Gonzalez de Dios, O., Casellas, R., Eds. "Framework and Requirements for GMPLS-Based Control of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) Networks", RFC7698, November 2015. - [I-D.draft-ietf-i2rs-yang-network-topo] Clemm, A., Medved, J., - Varga, R., Bahadur, N., Ananthakrishnan, H., Liu, X., - "A Data Model for Network Topologies", Internet Draft - draft-ietf-i2rs-yang-network-topo-20.txt, 2017. + [RFC8345] Clemm, A., Medved, J., Varga, R., Bahadur, N., + Ananthakrishnan, H., Liu, X., "A Data Model for Network + Topologies", RFC 8345, March 2018. [I-D.draft-ietf-teas-yang-te-topo] Liu, X., Bryskin, I., Pavan Beeram, V., Saad, T., Shah, H., Gonzalez De Dios, O., "YANG Data Model for TE Topologies", Internet Draft - draft-ietf-teas-yang-te-topo-13.txt, 2017 + draft-ietf-teas-yang-te-topo-18.txt, 2018. [I-D.draft-dharini-ccamp-dwdm-if-yang] Galimberti, G., Kunze, R., Lam, K., Hiremagalur, D., Grammel, G., Fang, L., Ratterree, G., Eds., "A YANG model to manage the optical interface parameters for an external transponder in a WDM network", Internet Draft, - draft-dharini-ccamp-dwdm-if-param-yang-03.txt, 2016. + draft-dharini-ccamp-dwdm-if-param-yang-05.txt, 2018. [I-D.draft-ietf-ccamp-wson-yang] Lee, Y. Dhody, D., Zhang, X., Guo, A., Lopez, V., King, D., Yoon, B.,"A Yang Data Model for WSON Optical Networks", Internet Draft, - draft-ietf-ccamp-wson-yang-09.txt, 2017. + draft-ietf-ccamp-wson-yang-10.txt, 2018. - [I-D.draft-vergara-ccamp-flexigrid-media-channel-yang] Lopez de + [I-D.draft-ietf-ccamp-flexigrid-media-channel-yang] Lopez de Vergara, J., Perdices, D., Lopez, V., Gonzalez de Dios, O., King, D., Lee, Y., Galimberti, G., "YANG data model for Flexi-Grid media-channels", Internet Draft, - draft-vergara-ccamp-flexigrid-media-channel-yang-01, 2017. + draft-ietf-ccamp-flexigrid-media-channel-yang-00, 2018. 10. Contributors The model presented in this paper was contributed to by more people than can be listed on the author list. Additional contributors include: o Zafar Ali, Cisco Systems o Daniel Michaud Vallinoto, Universidad Autonoma de Madrid