CCAMP Working Group Y. Lee Internet-Draft SKKU Intended status: Standards Track H. Zheng Expires: March 14, 2020 Huawei Technologies A. Guo Individual V. Lopez Telefonica D. King Univ. of Lancaster B. Yoon ETRI R. Vilalta CTTC September 11, 2019 A Yang Data Model for WSON Tunnel draft-ietf-ccamp-wson-tunnel-model-04 Abstract This document provides a YANG data model for WSON TE tunnel. 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 March 14, 2020. 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 Lee, et al. Expires March 14, 2020 [Page 1] Internet-Draft WSON Tunnel YANG September 2019 (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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 2 1.2. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 3 1.3. Prefixes in Data Node Names . . . . . . . . . . . . . . . 3 2. WSON Tunnel Model Description . . . . . . . . . . . . . . . . 4 2.1. Overview of WSON Tunnel Model . . . . . . . . . . . . . . 4 2.2. WSON-specific Parameters in Tunnel Model . . . . . . . . 4 3. WSON Tunnel YANG Tree . . . . . . . . . . . . . . . . . . . . 4 4. WSON Tunnel YANG Code . . . . . . . . . . . . . . . . . . . . 19 5. Security Considerations . . . . . . . . . . . . . . . . . . . 35 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 35 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 36 8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 36 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1. Normative References . . . . . . . . . . . . . . . . . . 36 9.2. Informative References . . . . . . . . . . . . . . . . . 37 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 39 1. Introduction This document provides a YANG data model for WSON tunnel model. The YANG model described in this document is a WSON technology-specific Yang Tunnel model based on the information model developed in [RFC7446] and the two encoding documents [RFC7579] and [RFC7581] that developed protocol independent encodings based on [RFC7446]. This document augments the generic TE tunnel model [I-D.ietf-teas-yang-te]. 1.1. Terminology Refer to [RFC7446] and [RFC7581] for the key terms used in this document. The following terms are defined in [RFC7950] and are not redefined here: o client Lee, et al. Expires March 14, 2020 [Page 2] Internet-Draft WSON Tunnel YANG September 2019 o server o augment o data model o data node The following terms are defined in [RFC6241] and are not redefined here: o configuration data o state data The terminology for describing YANG data models is found in [RFC7950]. 1.2. Tree Diagram A simplified graphical representation of the data model is used in Section 3 of this this document. The meaning of the symbols in these diagrams is defined in [RFC8340]. 1.3. Prefixes in Data Node Names In this document, names of data nodes and other data model objects are prefixed using the standard prefix associated with the corresponding YANG imported modules. The module ietf-layer0-types specified in [I-D.ietf-ccamp-layer0-types], ietf-layer1-types specified in [I-D.ietf-ccamp-layer1-types], ietf-te-path-computation specified in [I-D.ietf-teas-yang-path-computation] and ietf-te specified in [I-D.ietf-teas-yang-te] are imported in this module. +-------------+-------------------+------------------------------+ | Prefix | YANG module | Reference | +-------------+-------------------+------------------------------+ | layer0-types|ietf-layer0-types |[I-D.ietf-ccamp-layer0-types] | | layer1-types|ietf-layer1-types |[I-D.ietf-ccamp-layer1-types] | | tepc |ietf-te-path-computation |[I-D.ietf-teas-yang-path-computation]| | te | ietf-te |[I-D.ietf-teas-yang-te] | | wson-tunnel | ietf-wson-tunnel |[RFC XXXX] | +-------------+-------------------+------------------------------+ Note: The RFC Editor will replace XXXX with the number assigned to the RFC once this draft becomes an RFC. Lee, et al. Expires March 14, 2020 [Page 3] Internet-Draft WSON Tunnel YANG September 2019 2. WSON Tunnel Model Description 2.1. Overview of WSON Tunnel Model The WSON tunnel model is using TE tunnel [I-D.ietf-teas-yang-te] and TE types [I-D.ietf-teas-yang-te-types] as a basic model and augment to the TE tunnel with WSON-specific parameters, including the bandwidth information and label information. It is also worth noting that the WSON tunnel provisioning is usually based on the WSON topology. Therefore the WSON tunnel model is usually used together with WSON topology model specified in [I-D.ietf-ccamp-wson-yang]. More scenarios and model applications can be found in [I-D.ietf-ccamp-transport-nbi-app-statement] and [I-D.ietf-teas-actn-yang]. The current model is following the YANG language specification as [RFC7950], and the corresponding protocol is recommended to be Netconf protocol in [RFC6241] or RESTconf protocol in [RFC8040]. The YANG module ietf-wson-tunnel defined in this document conforms to the Network Management Datastore Architecture (NMDA) defined in [RFC8342]. 2.2. WSON-specific Parameters in Tunnel Model WSON specific parameters have been augmenting to the TE tunnel models. The attributes on both of the source and destination need to be configured when setting up the tunnel. Typical parameters, including bandwidth and grid information, are required in the WSON tunnel model. These parameters are consistent with the framework in [RFC6163], and the specification in [RFC7579] and [RFC7581]. The WSON bandwidth information has been augmenting to various sections of TE tunnel models, including tunnel bandwidth, primary path bandwidth and so on. The WSON label information has been augmenting to label hop of a group of routing objects and also LSPs. 3. WSON Tunnel YANG Tree module: ietf-wson-tunnel augment /te:te/te:tunnels/te:tunnel: +--rw src-client-signal? identityref +--rw dst-client-signal? identityref +--rw fec-type? identityref +--rw termination-type? identityref +--rw bit-stuffing? boolean augment /te:te/te:globals/te:named-path-constraints Lee, et al. Expires March 14, 2020 [Page 4] Internet-Draft WSON Tunnel YANG September 2019 /te:named-path-constraint/te:te-bandwidth /te:technology: +--:(wson) +--rw bandwidth-type? identityref augment /te:te/te:tunnels/te:tunnel/te:te-bandwidth /te:technology: +--:(wson) +--rw bandwidth-type? identityref augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:te-bandwidth /te:technology: +--:(wson) +--rw bandwidth-type? identityref augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:te-bandwidth/te:technology: +--:(wson) +--rw bandwidth-type? identityref augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:te-bandwidth /te:technology: +--:(wson) +--rw bandwidth-type? identityref augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint /te:explicit-route-objects-always /te:route-object-exclude-always/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint /te:explicit-route-objects-always /te:route-object-include-exclude/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? Lee, et al. Expires March 14, 2020 [Page 5] Internet-Draft WSON Tunnel YANG September 2019 +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-in-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-out-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n Lee, et al. Expires March 14, 2020 [Page 6] Internet-Draft WSON Tunnel YANG September 2019 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:optimizations /te:algorithm/te:metric/te:optimization-metric /te:explicit-route-exclude-objects /te:route-object-exclude-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:optimizations /te:algorithm/te:metric/te:optimization-metric /te:explicit-route-include-objects /te:route-object-include-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n Lee, et al. Expires March 14, 2020 [Page 7] Internet-Draft WSON Tunnel YANG September 2019 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path /te:explicit-route-objects-always /te:route-object-exclude-always/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path /te:explicit-route-objects-always /te:route-object-include-exclude/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-in-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n Lee, et al. Expires March 14, 2020 [Page 8] Internet-Draft WSON Tunnel YANG September 2019 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-out-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path /te:computed-paths-properties /te:computed-path-properties/te:path-properties /te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? Lee, et al. Expires March 14, 2020 [Page 9] Internet-Draft WSON Tunnel YANG September 2019 | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:lsps/te:lsp /te:lsp-record-route-information /te:lsp-record-route-information/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:lsps/te:lsp /te:path-properties/te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:optimizations/te:algorithm/te:metric /te:optimization-metric /te:explicit-route-exclude-objects Lee, et al. Expires March 14, 2020 [Page 10] Internet-Draft WSON Tunnel YANG September 2019 /te:route-object-exclude-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:optimizations/te:algorithm/te:metric /te:optimization-metric /te:explicit-route-include-objects /te:route-object-include-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:explicit-route-objects-always /te:route-object-exclude-always/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) Lee, et al. Expires March 14, 2020 [Page 11] Internet-Draft WSON Tunnel YANG September 2019 +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:explicit-route-objects-always /te:route-object-include-exclude/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-in-segment/te:label-restrictions /te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-in-segment/te:label-restrictions /te:label-restriction/te:label-start/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-in-segment/te:label-restrictions /te:label-restriction/te:label-end/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n Lee, et al. Expires March 14, 2020 [Page 12] Internet-Draft WSON Tunnel YANG September 2019 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-out-segment/te:label-restrictions /te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-out-segment/te:label-restrictions /te:label-restriction/te:label-start/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:path-out-segment/te:label-restrictions /te:label-restriction/te:label-end/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:computed-paths-properties /te:computed-path-properties/te:path-properties /te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths Lee, et al. Expires March 14, 2020 [Page 13] Internet-Draft WSON Tunnel YANG September 2019 /te:p2p-primary-path/te:p2p-primary-reverse-path /te:lsps/te:lsp/te:lsp-record-route-information /te:lsp-record-route-information/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths /te:p2p-primary-path/te:p2p-primary-reverse-path /te:lsps/te:lsp/te:path-properties /te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:optimizations /te:algorithm/te:metric/te:optimization-metric /te:explicit-route-exclude-objects /te:route-object-exclude-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n Lee, et al. Expires March 14, 2020 [Page 14] Internet-Draft WSON Tunnel YANG September 2019 | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:optimizations /te:algorithm/te:metric/te:optimization-metric /te:explicit-route-include-objects /te:route-object-include-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path /te:explicit-route-objects-always /te:route-object-exclude-always/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path /te:explicit-route-objects-always /te:route-object-include-exclude/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--rw (grid-type)? Lee, et al. Expires March 14, 2020 [Page 15] Internet-Draft WSON Tunnel YANG September 2019 +--:(dwdm) | +--rw (single-or-super-channel)? | +--:(single) | | +--rw dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--rw subcarrier-dwdm-n* int16 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-in-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-in-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-out-segment /te:label-restrictions/te:label-restriction: +--rw grid-type? identityref +--rw priority? uint8 augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-start/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n Lee, et al. Expires March 14, 2020 [Page 16] Internet-Draft WSON Tunnel YANG September 2019 +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:path-out-segment /te:label-restrictions/te:label-restriction /te:label-end/te:te-label/te:technology: +--:(wson) +--rw (grid-type)? +--:(dwdm) | +--rw dwdm-n? layer0-types:dwdm-n +--:(cwdm) +--rw cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path /te:computed-paths-properties /te:computed-path-properties/te:path-properties /te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:lsps/te:lsp /te:lsp-record-route-information /te:lsp-record-route-information/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? Lee, et al. Expires March 14, 2020 [Page 17] Internet-Draft WSON Tunnel YANG September 2019 layer0-types:cwdm-n augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths /te:p2p-secondary-path/te:lsps/te:lsp /te:path-properties/te:path-route-objects /te:path-computed-route-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:te/te:lsps-state/te:lsp /te:lsp-record-route-information /te:lsp-record-route-information/te:type /te:label/te:label-hop/te:te-label /te:technology: +--:(wson) +--ro (grid-type)? +--:(dwdm) | +--ro (single-or-super-channel)? | +--:(single) | | +--ro dwdm-n? | | layer0-types:dwdm-n | +--:(super) | +--ro subcarrier-dwdm-n* int16 +--:(cwdm) +--ro cwdm-n? layer0-types:cwdm-n augment /te:tunnels-rpc/te:input/te:tunnel-info /tepc:path-request: +-- src-client-signal? identityref +-- dst-client-signal? identityref +-- fec-type? identityref +-- termination-type? identityref +-- bit-stuffing? boolean +-- wavelength-assignment? identityref Lee, et al. Expires March 14, 2020 [Page 18] Internet-Draft WSON Tunnel YANG September 2019 4. WSON Tunnel YANG Code file "ietf-wson-tunnel@2019-09-11.yang" module ietf-wson-tunnel { //yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-wson-tunnel"; prefix "wson-tunnel"; import ietf-te { prefix "te"; } import ietf-layer0-types{ prefix "layer0-types"; } import ietf-te-path-computation { prefix "tepc"; } import ietf-layer1-types { prefix "layer1-types";} organization "IETF CCAMP Working Group"; contact "WG Web: WG List: WG Chair: Daniele Ceccarelli WG Chair: Fatai Zhang Editor: Young Lee Editor: Haomian Zheng Editor: Aihua Guo Editor: Victor Lopez Editor: Daniel King Editor: Bin Yeong Yoon Editor: Ricard Vilalta "; description "This module defines a model for WSON Tunnel Services. Copyright (c) 2019 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). Lee, et al. Expires March 14, 2020 [Page 19] Internet-Draft WSON Tunnel YANG September 2019 This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; revision "2019-09-11" { description "Updates to version 4"; reference "version 4"; } /* Groupings. */ grouping wson-tunnel-attributes { description "Parameters for WSON tunnel."; leaf src-client-signal { type identityref { base layer1-types:client-signal; } description "Client signal at the source endpoint of the tunnel."; } leaf dst-client-signal { type identityref { base layer1-types:client-signal; } description "Client signal at the destination endpoint of the tunnel."; } leaf fec-type { type identityref { base layer0-types:fec-type; } description "FEC type."; } leaf termination-type { type identityref { base layer0-types:term-type; } description "Termination type."; } leaf bit-stuffing { Lee, et al. Expires March 14, 2020 [Page 20] Internet-Draft WSON Tunnel YANG September 2019 type boolean; description "Bit stuffing enabled/disabled."; } } grouping wson-path-constraints { description "Global named path constraints configuration grouping for WSON tunnel"; leaf wavelength-assignment { type identityref { base layer0-types:wavelength-assignment; } description "Wavelength Allocation Method"; } } /* * Data nodes */ augment "/te:te/te:tunnels/te:tunnel" { description "Augment with additional parameters required for WSON tunnel."; uses wson-tunnel-attributes; } /* * Augment TE bandwidth */ /* Augment bandwidth of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/" + "te:te-bandwidth/te:technology" { description "WSON bandwidth."; case wson { uses layer0-types:wson-path-bandwidth; } } /* Augment bandwdith of tunnel */ augment "/te:te/te:tunnels/te:tunnel/" + "te:te-bandwidth/te:technology" { description "WSON bandwidth."; case wson { uses layer0-types:wson-path-bandwidth; Lee, et al. Expires March 14, 2020 [Page 21] Internet-Draft WSON Tunnel YANG September 2019 } } /* Augment bandwidth of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:te-bandwidth/te:technology" { description "WSON bandwidth."; case wson { uses layer0-types:wson-path-bandwidth; } } /* Augment bandwidth of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:te-bandwidth/te:technology" { description "WSON bandwidth."; case wson { uses layer0-types:wson-path-bandwidth; } } /* Augment bandwidht of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:te-bandwidth/te:technology" { description "WSON bandwidth."; case wson { uses layer0-types:wson-path-bandwidth; } } /* * Augment TE label. */ /* Augment label hop of route-object-exclude-always of named-path- constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:explicit-route-objects-always/" + "te:route-object-exclude-always/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } Lee, et al. Expires March 14, 2020 [Page 22] Internet-Draft WSON Tunnel YANG September 2019 } /* Augment label hop of route-object-include-exclude of named-path- constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:explicit-route-objects-always/" + "te:route-object-include-exclude/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label restrictions for the path-in-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-in-segment/" + "te:label-restrictions/te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-in-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-in-segment/" + "te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-in-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-in-segment/" + "te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } Lee, et al. Expires March 14, 2020 [Page 23] Internet-Draft WSON Tunnel YANG September 2019 /* Augment label restrictions for the path-out-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-out-segment/" + "te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-out-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-out-segment/" + "te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-out-segment of named-path-constraints */ augment "/te:te/te:globals/te:named-path-constraints/" + "te:named-path-constraint/te:path-out-segment/" + "te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label hop of route-exclude of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-exclude-objects/" + "te:route-object-exclude-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } Lee, et al. Expires March 14, 2020 [Page 24] Internet-Draft WSON Tunnel YANG September 2019 /* Augment label hop of route-include of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-include-objects/" + "te:route-object-include-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-object-exclude-always of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:explicit-route-objects-always/" + "te:route-object-exclude-always/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-object-include-exclude of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:explicit-route-objects-always/" + "te:route-object-include-exclude/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label restrictions for the path-in-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-in-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" Lee, et al. Expires March 14, 2020 [Page 25] Internet-Draft WSON Tunnel YANG September 2019 + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-in-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions for the path-out-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-out-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-out-segment of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" Lee, et al. Expires March 14, 2020 [Page 26] Internet-Draft WSON Tunnel YANG September 2019 + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label hop of path-route of primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:computed-paths-properties/" + "te:computed-path-properties/te:path-properties/" + "te:path-route-objects/te:path-computed-route-object/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of record-route of primary LSP */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:lsps/te:lsp/te:lsp-record-route-information/" + "te:lsp-record-route-information/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of path-route of primary LSP */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:lsps/te:lsp/te:path-properties/" + "te:path-route-objects/te:path-computed-route-object/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-exclude of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" Lee, et al. Expires March 14, 2020 [Page 27] Internet-Draft WSON Tunnel YANG September 2019 + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-exclude-objects/" + "te:route-object-exclude-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-include of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-include-objects/" + "te:route-object-include-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-object-exclude-always of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:explicit-route-objects-always/" + "te:route-object-exclude-always/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-object-include-exclude of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:explicit-route-objects-always/" + "te:route-object-include-exclude/" Lee, et al. Expires March 14, 2020 [Page 28] Internet-Draft WSON Tunnel YANG September 2019 + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label restrictions for the path-in-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-in-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-in-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions for the path-out-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-out-segment/te:label-restrictions/" Lee, et al. Expires March 14, 2020 [Page 29] Internet-Draft WSON Tunnel YANG September 2019 + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-out-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-out-segment of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label hop of path-route of reverse primary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:computed-paths-properties/" + "te:computed-path-properties/te:path-properties/" + "te:path-route-objects/te:path-computed-route-object/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of record-route of reverse primary LSP */ augment "/te:te/te:tunnels/te:tunnel/" Lee, et al. Expires March 14, 2020 [Page 30] Internet-Draft WSON Tunnel YANG September 2019 + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:lsps/te:lsp/te:lsp-record-route-information/" + "te:lsp-record-route-information/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of path-route of reverse primary LSP */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-primary-paths/te:p2p-primary-path/" + "te:p2p-primary-reverse-path/" + "te:lsps/te:lsp/te:path-properties/" + "te:path-route-objects/te:path-computed-route-object/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-exclude of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-exclude-objects/" + "te:route-object-exclude-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-include of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:optimizations/te:algorithm/te:metric/" + "te:optimization-metric/te:explicit-route-include-objects/" + "te:route-object-include-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; Lee, et al. Expires March 14, 2020 [Page 31] Internet-Draft WSON Tunnel YANG September 2019 } } /* Augment label hop of route-object-exclude-always of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:explicit-route-objects-always/" + "te:route-object-exclude-always/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of route-object-include-exclude of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:explicit-route-objects-always/" + "te:route-object-include-exclude/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label restrictions for the path-in-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-in-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } Lee, et al. Expires March 14, 2020 [Page 32] Internet-Draft WSON Tunnel YANG September 2019 /* Augment label restrictions end for the path-in-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-in-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions for the path-out-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction" { description "WSON label."; uses layer0-types:layer0-label-restriction; } /* Augment label restrictions start for the path-out-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-start/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label restrictions end for the path-out-segment of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:path-out-segment/te:label-restrictions/" + "te:label-restriction/te:label-end/" + "te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-link-label; } } /* Augment label hop of path-route of secondary path */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" Lee, et al. Expires March 14, 2020 [Page 33] Internet-Draft WSON Tunnel YANG September 2019 + "te:computed-paths-properties/" + "te:computed-path-properties/te:path-properties/" + "te:path-route-objects/" + "te:path-computed-route-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of record-route of secondary LSP */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:lsps/te:lsp/te:lsp-record-route-information/" + "te:lsp-record-route-information/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of path-route of secondary LSP */ augment "/te:te/te:tunnels/te:tunnel/" + "te:p2p-secondary-paths/te:p2p-secondary-path/" + "te:lsps/te:lsp/te:path-properties/" + "te:path-route-objects/" + "te:path-computed-route-object/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } /* Augment label hop of record-route of LSP */ augment "/te:te/te:lsps-state/" + "te:lsp/te:lsp-record-route-information/" + "te:lsp-record-route-information/te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "WSON label."; case wson { uses layer0-types:wson-path-label; } } augment "/te:tunnels-rpc/te:input/te:tunnel-info/" Lee, et al. Expires March 14, 2020 [Page 34] Internet-Draft WSON Tunnel YANG September 2019 + "tepc:path-request" { description "Augment with additional constraints WSON tunnel."; uses wson-tunnel-attributes; uses wson-path-constraints; } } 5. Security Considerations The configuration, state, and action data defined in this document are designed to be accessed via a management protocol with a secure transport layer, such as NETCONF [RFC6241]. The NETCONF access control model [RFC8341] provides the means to restrict access for particular NETCONF users to a preconfigured subset of all available NETCONF protocol operations and content. There are a number of data nodes defined in this YANG module that are writable/creatable/deletable (i.e., config true, which is the default). These data nodes may be considered sensitive or vulnerable in some network environments. Write operations (e.g., edit-config) to these data nodes without proper protection can have a negative effect on network operations. These are the subtrees and data nodes and their sensitivity/vulnerability: /te:te/te:tunnels/te:tunnel /te:te/../te:te-bandwidth/te:technology /te:te/../te:type/te:label/te:label-hop/te:te-label/te:technology /te:te/../te:label-restrictions/te:label-restriction/te:label-start/ te:te-label/te:technology /te:te/../te:label-restrictions/te:label- restriction/te:label-end/te:te-label/te:technology /te:te/../te:label-restrictions/te:label-restriction/ Editors note: we are using simplified description by folding similar branches to avoid repetition. 6. IANA Considerations It is proposed that IANA should assign new URIs from the "IETF XML Registry" [RFC3688] as follows: Lee, et al. Expires March 14, 2020 [Page 35] Internet-Draft WSON Tunnel YANG September 2019 URI: urn:ietf:params:xml:ns:yang:ietf-wson-tunnel Registrant Contact: The IESG XML: N/A; the requested URI is an XML namespace. This document registers following YANG modules in the YANG Module Names registry [RFC7950]. name: ietf-wson-tunnel namespace: urn:ietf:params:xml:ns:yang:ietf-wson-tunnel prefix: wson-tunnel reference: RFC XXXX 7. Acknowledgements TBD. 8. Contributors Dhruv Dhody Huawei Technologies Email: dhruv.ietf@gmail.com Italo Busi Huawei Technologies Email: Italo.Busi@huawei.com 9. References 9.1. Normative References [I-D.ietf-ccamp-layer0-types] Lee, Y., Dhody, D., Guo, A., Lopezalvarez, V., and D. King, "A YANG Data Model for Layer 0 Types", draft-ietf- ccamp-layer0-types-01 (work in progress), May 2019. [I-D.ietf-ccamp-layer1-types] Zheng, H. and I. Busi, "A YANG Data Model for Layer 1 Types", draft-ietf-ccamp-layer1-types-02 (work in progress), September 2019. Lee, et al. Expires March 14, 2020 [Page 36] Internet-Draft WSON Tunnel YANG September 2019 [I-D.ietf-ccamp-wson-yang] Lee, Y., Dhody, D., Guo, A., Lopezalvarez, V., and D. King, "A YANG Data Model for WSON (Wavelength Switched Optical Networks)", draft-ietf-ccamp-wson-yang-22 (work in progress), July 2019. [I-D.ietf-teas-yang-path-computation] Busi, I. and S. Belotti, "Yang model for requesting Path Computation", draft-ietf-teas-yang-path-computation-06 (work in progress), July 2019. [I-D.ietf-teas-yang-te] Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, "A YANG Data Model for Traffic Engineering Tunnels and Interfaces", draft-ietf-teas-yang-te-21 (work in progress), April 2019. [I-D.ietf-teas-yang-te-types] Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, "Traffic Engineering Common YANG Types", draft-ietf-teas- yang-te-types-10 (work in progress), July 2019. 9.2. Informative References [I-D.ietf-ccamp-transport-nbi-app-statement] Busi, I., King, D., Zheng, H., and Y. Xu, "Transport Northbound Interface Applicability Statement", draft-ietf- ccamp-transport-nbi-app-statement-05 (work in progress), March 2019. [I-D.ietf-teas-actn-yang] Lee, Y., Zheng, H., Ceccarelli, D., Yoon, B., Dios, O., Shin, J., and S. Belotti, "Applicability of YANG models for Abstraction and Control of Traffic Engineered Networks", draft-ietf-teas-actn-yang-04 (work in progress), August 2019. [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . [RFC6163] Lee, Y., Ed., Bernstein, G., Ed., and W. Imajuku, "Framework for GMPLS and Path Computation Element (PCE) Control of Wavelength Switched Optical Networks (WSONs)", RFC 6163, DOI 10.17487/RFC6163, April 2011, . Lee, et al. Expires March 14, 2020 [Page 37] Internet-Draft WSON Tunnel YANG September 2019 [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, . [RFC7446] Lee, Y., Ed., Bernstein, G., Ed., Li, D., and W. Imajuku, "Routing and Wavelength Assignment Information Model for Wavelength Switched Optical Networks", RFC 7446, DOI 10.17487/RFC7446, February 2015, . [RFC7579] Bernstein, G., Ed., Lee, Y., Ed., Li, D., Imajuku, W., and J. Han, "General Network Element Constraint Encoding for GMPLS-Controlled Networks", RFC 7579, DOI 10.17487/RFC7579, June 2015, . [RFC7581] Bernstein, G., Ed., Lee, Y., Ed., Li, D., Imajuku, W., and J. Han, "Routing and Wavelength Assignment Information Encoding for Wavelength Switched Optical Networks", RFC 7581, DOI 10.17487/RFC7581, June 2015, . [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10.17487/RFC7950, August 2016, . [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, . [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration Access Control Model", STD 91, RFC 8341, DOI 10.17487/RFC8341, March 2018, . [RFC8342] Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K., and R. Wilton, "Network Management Datastore Architecture (NMDA)", RFC 8342, DOI 10.17487/RFC8342, March 2018, . Lee, et al. Expires March 14, 2020 [Page 38] Internet-Draft WSON Tunnel YANG September 2019 Authors' Addresses Young Lee SKKU Sung Kyun Kwan University Seoul South Korea Email: younglee.tx@gmail.com Haomian Zheng Huawei Technologies H1-1-A043S Huawei Industrial Base, Songshanhu Dongguan, Guangdong 523808 China Email: zhenghaomian@huawei.com Aihua Guo Individual Email: aihuaguo.ietf@gmail.com Victor Lopez Telefonica Email: victor.lopezalvarez@telefonica.com Daniel King Univ. of Lancaster Email: d.king@lancaster.ac.uk Bin Yeong Yoon ETRI 218 Gaijeongro, Yuseong-gu Daejeon Korea Email: byyun@etri.re.kr Lee, et al. Expires March 14, 2020 [Page 39] Internet-Draft WSON Tunnel YANG September 2019 Ricard Vilalta CTTC Email: ricard.vilalta@cttc.es Lee, et al. Expires March 14, 2020 [Page 40]