--- 1/draft-ietf-ccamp-otn-tunnel-model-11.txt 2021-02-22 01:13:29.212881640 -0800 +++ 2/draft-ietf-ccamp-otn-tunnel-model-12.txt 2021-02-22 01:13:29.256882183 -0800 @@ -1,49 +1,54 @@ CCAMP Working Group H. Zheng Internet-Draft I. Busi Intended status: Standards Track Huawei Technologies -Expires: March 23, 2021 S. Belotti +Expires: August 26, 2021 S. Belotti Nokia V. Lopez Telefonica Y. Xu CAICT - September 19, 2020 + February 22, 2021 OTN Tunnel YANG Model - draft-ietf-ccamp-otn-tunnel-model-11 + draft-ietf-ccamp-otn-tunnel-model-12 Abstract - This document describes the YANG data model for OTN Tunnels. + This document describes the YANG data model for tunnels in OTN TE + networks. The model can be used to do the configuration in order to + establish the tunnel in OTN network. This work is independent with + the control plane protocols. The YANG data model defined in this + document conforms to the Network Management Datastore Architecture + (NMDA). 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 23, 2021. + This Internet-Draft will expire on August 26, 2021. Copyright Notice - Copyright (c) 2020 IETF Trust and the persons identified as the + Copyright (c) 2021 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 the Trust Legal Provisions and are provided without warranty as @@ -51,38 +56,39 @@ Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Terminology and Notations . . . . . . . . . . . . . . . . . . 2 3. OTN Tunnel Model Description . . . . . . . . . . . . . . . . 3 3.1. Overview of OTN Tunnel Model . . . . . . . . . . . . . . 3 3.2. OTN-specific Parameters in Tunnel Model . . . . . . . . . 3 4. OTN Tunnel YANG Tree . . . . . . . . . . . . . . . . . . . . 4 5. OTN Tunnel YANG Code . . . . . . . . . . . . . . . . . . . . 15 - 6. Security Considerations . . . . . . . . . . . . . . . . . . . 32 - 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 33 - 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 33 - 9. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 33 - 10. References . . . . . . . . . . . . . . . . . . . . . . . . . 34 - 10.1. Normative References . . . . . . . . . . . . . . . . . . 34 - 10.2. Informative References . . . . . . . . . . . . . . . . . 35 - Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36 + 6. Security Considerations . . . . . . . . . . . . . . . . . . . 31 + 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 31 + 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 32 + 9. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 32 + 10. References . . . . . . . . . . . . . . . . . . . . . . . . . 33 + 10.1. Normative References . . . . . . . . . . . . . . . . . . 33 + 10.2. Informative References . . . . . . . . . . . . . . . . . 34 + Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 35 1. Introduction OTN transport networks, specified in [ITU-Tg709], can carry various types of client signals. In many cases, the client signal is carried over an OTN tunnel across connected domains in a multi-domain network. This document provides YANG model for creating OTN tunnel. The model - augments the TE Tunnel model. + augments the generic TE Tunnel model specified in + [I-D.ietf-teas-yang-te]. 2. Terminology and Notations A simplified graphical representation of the data model is used in this document. The meaning of the symbols in the YANG data tree presented later in this draft is defined in [RFC8340]. They are provided below for reference. o Brackets "[" and "]" enclose list keys. @@ -140,597 +146,567 @@ [RFC7138] and [RFC7139]. The OTN bandwidth information has been augmenting to various sections of TE tunnel models, including tunnel bandwidth, primary path bandwidth and so on. The OTN label information has been augmenting to label hop of a group of routing objects and also LSPs. 4. OTN Tunnel YANG Tree module: ietf-otn-tunnel - augment /te:te/te:tunnels/te:tunnel: - +--rw src-client-signal? identityref - +--rw dst-client-signal? identityref augment /te:te/te:globals/te:named-path-constraints - /te:named-path-constraint/te:te-bandwidth - /te:technology: + /te:named-path-constraint/te:te-bandwidth/te:technology: +--:(otn) + +--rw otn +--rw odu-type? identityref +--rw (oduflex-type)? +--:(generic) | +--rw nominal-bit-rate uint64 +--:(cbr) | +--rw client-type identityref +--:(gfp-n-k) | +--rw gfp-n uint8 - | +--rw gfp-k? l1-types:gfp-k + | +--rw gfp-k? gfp-k +--:(flexe-client) - | +--rw flexe-client - | l1-types:flexe-client-rate + | +--rw flexe-client flexe-client-rate +--:(flexe-aware) | +--rw flexe-aware-n uint16 +--:(packet) +--rw opuflex-payload-rate uint64 - augment /te:te/te:tunnels/te:tunnel/te:te-bandwidth - /te:technology: + augment /te:te/te:tunnels/te:tunnel/te:te-bandwidth/te:technology: +--:(otn) + +--rw otn +--rw odu-type? identityref +--rw (oduflex-type)? +--:(generic) | +--rw nominal-bit-rate uint64 +--:(cbr) | +--rw client-type identityref +--:(gfp-n-k) | +--rw gfp-n uint8 - | +--rw gfp-k? l1-types:gfp-k + | +--rw gfp-k? gfp-k +--:(flexe-client) - | +--rw flexe-client - | l1-types:flexe-client-rate + | +--rw flexe-client flexe-client-rate +--:(flexe-aware) | +--rw flexe-aware-n uint16 +--:(packet) +--rw opuflex-payload-rate uint64 augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths - /te:p2p-primary-path/te:te-bandwidth - /te:technology: + /te:p2p-primary-path/te:te-bandwidth/te:technology: +--:(otn) + +--rw otn +--rw odu-type? identityref +--rw (oduflex-type)? +--:(generic) | +--rw nominal-bit-rate uint64 +--:(cbr) | +--rw client-type identityref +--:(gfp-n-k) | +--rw gfp-n uint8 - | +--rw gfp-k? l1-types:gfp-k + | +--rw gfp-k? gfp-k +--:(flexe-client) - | +--rw flexe-client - | l1-types:flexe-client-rate + | +--rw flexe-client flexe-client-rate +--:(flexe-aware) | +--rw flexe-aware-n uint16 +--:(packet) +--rw opuflex-payload-rate uint64 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: +--:(otn) + +--rw otn +--rw odu-type? identityref +--rw (oduflex-type)? +--:(generic) | +--rw nominal-bit-rate uint64 +--:(cbr) | +--rw client-type identityref +--:(gfp-n-k) | +--rw gfp-n uint8 - | +--rw gfp-k? l1-types:gfp-k + | +--rw gfp-k? gfp-k +--:(flexe-client) - | +--rw flexe-client - | l1-types:flexe-client-rate + | +--rw flexe-client flexe-client-rate +--:(flexe-aware) | +--rw flexe-aware-n uint16 +--:(packet) +--rw opuflex-payload-rate uint64 augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths - /te:p2p-secondary-path/te:te-bandwidth - /te:technology: + /te:p2p-secondary-path/te:te-bandwidth/te:technology: +--:(otn) + +--rw otn +--rw odu-type? identityref +--rw (oduflex-type)? +--:(generic) | +--rw nominal-bit-rate uint64 +--:(cbr) | +--rw client-type identityref +--:(gfp-n-k) | +--rw gfp-n uint8 - | +--rw gfp-k? l1-types:gfp-k + | +--rw gfp-k? gfp-k +--:(flexe-client) - | +--rw flexe-client - | l1-types:flexe-client-rate + | +--rw flexe-client flexe-client-rate +--:(flexe-aware) | +--rw flexe-aware-n uint16 +--:(packet) +--rw opuflex-payload-rate uint64 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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: + /te:route-object-include-exclude/te:type/te:label + /te:label-hop/te:te-label/te:technology: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-in-segment /te:label-restrictions/te:label-restriction: - +--rw range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts augment /te:te/te:globals/te:named-path-constraints /te:named-path-constraint/te:path-out-segment /te:label-restrictions/te:label-restriction: - +--rw range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths - /te:p2p-primary-path - /te:explicit-route-objects-always + /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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: + /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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts augment /te:te/te:tunnels/te:tunnel/te:p2p-primary-paths - /te:p2p-primary-path - /te:computed-paths-properties + /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: + /te:path-route-objects/te:path-computed-route-object + /te:type/te:label/te:label-hop/te:te-label/te:technology: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: + /te:lsp-record-route-information/te:type/te:label + /te:label-hop/te:te-label/te:technology: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: + /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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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 + /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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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:optimization-metric/te:explicit-route-include-objects /te:route-object-include-object/te:type/te:label /te:label-hop/te:te-label/te:technology: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: + /te:route-object-include-exclude/te:type/te:label + /te:label-hop/te:te-label/te:technology: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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:lsp-record-route-information - /te:lsp-record-route-information/te:type - /te:label/te:label-hop/te:te-label - /te:technology: + /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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths - /te:p2p-secondary-path - /te:explicit-route-objects-always + /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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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: + /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: +--:(otn) - +--rw otn-tpn? l1-types:otn-tpn + +--rw otn-tpn? otn-tpn +--rw tsg? identityref +--rw ts-list? string 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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 range-type? l1-types:otn-label-range-type + +--rw range-type? otn-label-range-type +--rw tsg? identityref +--rw odu-type-list* 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: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts 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: + /te:label-restrictions/te:label-restriction/te:label-end + /te:te-label/te:technology: +--:(otn) +--rw (range-type)? +--:(trib-port) - | +--rw otn-tpn? l1-types:otn-tpn + | +--rw otn-tpn? otn-tpn +--:(trib-slot) - +--rw otn-ts? l1-types:otn-ts + +--rw otn-ts? otn-ts augment /te:te/te:tunnels/te:tunnel/te:p2p-secondary-paths - /te:p2p-secondary-path - /te:computed-paths-properties + /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: + /te:path-route-objects/te:path-computed-route-object + /te:type/te:label/te:label-hop/te:te-label/te:technology: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: + /te:lsp-record-route-information/te:type/te:label + /te:label-hop/te:te-label/te:technology: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 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: + /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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string - 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: + 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: +--:(otn) - +--ro otn-tpn? l1-types:otn-tpn + +--ro otn-tpn? otn-tpn +--ro tsg? identityref +--ro ts-list? string 5. OTN Tunnel YANG Code - file "ietf-otn-tunnel@2020-03-09.yang" + file "ietf-otn-tunnel@2021-02-10.yang" module ietf-otn-tunnel { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-otn-tunnel"; prefix "otn-tunnel"; import ietf-te { prefix "te"; + revision-date "2019-02-15"; reference - "I-D.ietf-teas-yang-te: A YANG Data Model for Traffic Engineering - Tunnels and Interfaces. "; + "I-D.ietf-teas-yang-te-19: A YANG Data Model for Traffic + Engineering Tunnels and Interfaces. "; } import ietf-layer1-types { prefix "l1-types"; reference "I-D.ietf-ccamp-layer1-types: A YANG Data Model for Layer 1 Types. "; } organization @@ -749,80 +724,50 @@ Editor: Victor Lopez Editor: Yunbin Xu "; description "This module defines a model for OTN Tunnel Services. + The model fully conforms to the Network Management Datastore Architecture (NMDA). - Copyright (c) 2020 IETF Trust and the persons + Copyright (c) 2021 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 (https://trustee.ietf.org/license-info). + This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; - revision "2020-03-09" { + revision "2021-02-10" { description "Initial Revision"; reference "RFC XXXX: OTN Tunnel YANG Model"; // RFC Ed.: replace XXXX with actual RFC number, update date // information and remove this note } /* - * Groupings - */ - - grouping otn-tunnel-attributes { - description "Parameters for OTN tunnel"; - - leaf src-client-signal { - type identityref { - base l1-types:client-signal; - } - description - "Client signal at the source endpoint of the tunnel. "; - } - - leaf dst-client-signal { - type identityref { - base l1-types:client-signal; - } - description - "Client signal at the destination endpoint of the tunnel"; - } - - } - - /* * Data nodes */ - augment "/te:te/te:tunnels/te:tunnel" { - description - "Augment with additional parameters required for OTN service"; - - uses otn-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 "OTN bandwidth."; case otn { @@ -867,105 +812,106 @@ description "OTN bandwidth."; case otn { uses l1-types:otn-path-bandwidth; } } /* * Augment TE label. */ - /* Augment label hop of route-object-exclude-always - * of named-path-constraints */ + /* 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: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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label hop of route-object-include-exclude - * of named-path-constraints */ + /* 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: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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label restrictions for the forwarding direction - * of path-in-segment of named-path-constraints */ + /* Augment label restrictions for the forwarding direction of + 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-in-segment of named-path-constraints */ - + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-in-segment of named-path-constraints */ + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions for the forwarding direction - * of path-out-segment of named-path-constraints */ + /* Augment label restrictions for the forwarding direction of + 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-out-segment of named-path-constraints */ + + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-out-segment of named-path-constraints */ - + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } @@ -990,72 +936,69 @@ + "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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } /* Augment label hop of route-object-exclude-always of - * primary path */ + 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 "OTN label."; case otn { - uses l1-types:otn-label-hop; - } } - /* Augment label hop of route-object-include-exclude of - * primary path */ + 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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label restrictions for the forwarding direction - * of path-in-segment of primary path */ + /* 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-in-segment of primary path */ + /* Augment label restrictions start for the forwarding direction of + 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-start/" + "te:te-label/te:technology" { description "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-in-segment of primary path */ + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } @@ -1052,47 +995,45 @@ 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions for the forwarding direction of - * path-out-segment of primary path */ + 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-out-segment of primary path */ + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-out-segment of primary path */ + /* Augment label restrictions end for the forwarding direction of + 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/" + "te:te-label/te:technology" { description "OTN label."; case otn { uses l1-types:otn-label-start-end; } } @@ -1158,116 +1100,114 @@ + "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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } /* Augment label hop of route-object-exclude-always of - * reverse primary path */ + 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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } /* Augment label hop of route-object-include-exclude of - * reverse primary path */ + 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/" + "te:type/te:label/" + "te:label-hop/te:te-label/te:technology" { description "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label restrictions for the forwarding direction - * of path-in-segment of reverse primary path */ + /* Augment label restrictions for the forwarding direction of + 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 "OTN label."; uses l1-types:otn-label-range-info; } - - /* Augment label restrictions start for the forwarding direction - * of path-in-segment of reverse primary path */ + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-in-segment of reverse primary path */ + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions for the forwarding direction - * of path-out-segment of reverse primary path */ + /* Augment label restrictions for the forwarding direction of + 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" { description "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-out-segment of reverse primary path */ + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-out-segment of reverse primary path */ - + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } @@ -1334,108 +1273,108 @@ + "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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label hop of route-object-exclude-always - * of secondary path */ + /* 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 "OTN label."; case otn { uses l1-types:otn-label-hop; + } } /* Augment label hop of route-object-include-exclude of - * secondary path */ + 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 "OTN label."; case otn { uses l1-types:otn-label-hop; } } - /* Augment label restrictions for the forwarding direction - * of path-in-segment of secondary path */ + /* Augment label restrictions for the forwarding direction of + 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-in-segment of secondary path */ + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-in-segment of secondary path */ + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions for the forwarding direction - * of path-out-segment of secondary path */ + /* Augment label restrictions for the forwarding direction of + 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 "OTN label."; uses l1-types:otn-label-range-info; } - /* Augment label restrictions start for the forwarding direction - * of path-out-segment of secondary path */ + /* Augment label restrictions start for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } - /* Augment label restrictions end for the forwarding direction - * of path-out-segment of secondary path */ + /* Augment label restrictions end for the forwarding direction of + 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 "OTN label."; case otn { uses l1-types:otn-label-start-end; } } @@ -1507,41 +1445,30 @@ The NETCONF access control model [RFC8341] provides the means to restrict access for particular NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF 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 repetation. + effect on network operations. Considerations in Section 10 of + [I-D.ietf-teas-yang-te]are also applicable to their subtrees in the + module defined in this document. Some of the readable data nodes in this YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config, or - notification) to these data nodes. These are the subtrees and data - nodes and their sensitivity/vulnerability: - - /te:te/../te:type/te:label/te:label-hop/te:te-label/te:technology - Editors note: we are using simplified description by folding similar - branches to avoid repetation. + notification) to these data nodes. Considerations in Section 10 of + [I-D.ietf-teas-yang-te]are also applicable to their subtrees in the + module defined in this document. 7. IANA Considerations It is proposed that IANA should assign new URIs from the "IETF XML Registry" [RFC3688] as follows: URI: urn:ietf:params:xml:ns:yang:ietf-otn-tunnel Registrant Contact: The IESG XML: N/A; the requested URI is an XML namespace. @@ -1594,28 +1521,28 @@ Oscar Gonzalez de Dios Telefonica Email: oscar.gonzalezdedios@telefonica.com 10. References 10.1. Normative References [I-D.ietf-ccamp-layer1-types] Zheng, H. and I. Busi, "A YANG Data Model for Layer 1 - Types", draft-ietf-ccamp-layer1-types-06 (work in - progress), May 2020. + Types", draft-ietf-ccamp-layer1-types-08 (work in + progress), November 2020. [I-D.ietf-ccamp-otn-topo-yang] Zheng, H., Busi, I., Liu, X., Belotti, S., and O. Dios, "A YANG Data Model for Optical Transport Network Topology", - draft-ietf-ccamp-otn-topo-yang-10 (work in progress), - March 2020. + draft-ietf-ccamp-otn-topo-yang-11 (work in progress), + September 2020. [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, Label Switched Paths and Interfaces", draft-ietf-teas-yang-te-25 (work in progress), July 2020. [ITU-Tg709] International Telecommunication Union, "Interfaces for the optical transport network", ITU-T G.709, March 2020. @@ -1659,22 +1586,22 @@ [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, . 10.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-11 (work in progress), - July 2020. + ccamp-transport-nbi-app-statement-12 (work in progress), + January 2021. [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-06 (work in progress), August 2020. [RFC7062] Zhang, F., Ed., Li, D., Li, H., Belotti, S., and D. Ceccarelli, "Framework for GMPLS and PCE Control of G.709