CCAMP Working Group                                               Y. Lee
Internet-Draft                                                   Samsung
Intended status: Standards Track                                H. Zheng
Expires: April 25, 2022                              Huawei Technologies
                                                                  A. Guo
                                                               Futurewei
                                                                V. Lopez
                                                                   Nokia
                                                                 D. King
                                                 University of Lancaster
                                                                 B. Yoon
                                                                    ETRI
                                                              R. Vilalta
                                                                    CTTC
                                                        October 22, 2021


                   A Yang Data Model for WSON Tunnel
                 draft-ietf-ccamp-wson-tunnel-model-06

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 April 25, 2022.

Copyright Notice

   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



Lee, et al.              Expires April 25, 2022                 [Page 1]


Internet-Draft              WSON Tunnel YANG                October 2021


   (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 . . . . . . . . . . . . . . . . . . .  38
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  39
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  40
   8.  Contributors  . . . . . . . . . . . . . . . . . . . . . . . .  40
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  40
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  40
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  41
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  42

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 April 25, 2022                 [Page 2]


Internet-Draft              WSON Tunnel YANG                October 2021


   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 [RFC9093], 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  |[RFC 9093]                    |
    | 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 April 25, 2022                 [Page 3]


Internet-Draft              WSON Tunnel YANG                October 2021


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 [RFC8776] 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 [RFC9094].

   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 fec-type?           identityref
       +--rw termination-type?   identityref
       +--rw bit-stuffing?       boolean
     augment /te:te/te:globals/te:named-path-constraints
               /te:named-path-constraint/te:path-in-segment



Lee, et al.              Expires April 25, 2022                 [Page 4]


Internet-Draft              WSON Tunnel YANG                October 2021


               /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:
       +--rw grid-type?   identityref
       +--rw priority?    uint8
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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:primary-paths
               /te: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:primary-paths
               /te:primary-path/te: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:primary-paths
               /te:primary-path/te: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:secondary-paths
               /te: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:secondary-paths
               /te: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:secondary-reverse-paths
               /te:secondary-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:secondary-reverse-paths
               /te:secondary-reverse-path/te:path-out-segment
               /te:label-restrictions/te:label-restriction:



Lee, et al.              Expires April 25, 2022                 [Page 5]


Internet-Draft              WSON Tunnel YANG                October 2021


       +--rw grid-type?   identityref
       +--rw priority?    uint8
     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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-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)?
             +--:(dwdm)
             |  +--rw (single-or-super-channel)?
             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-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-start/te:te-label/te:technology:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-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)?



Lee, et al.              Expires April 25, 2022                 [Page 6]


Internet-Draft              WSON Tunnel YANG                October 2021


             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-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-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-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-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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



Lee, et al.              Expires April 25, 2022                 [Page 7]


Internet-Draft              WSON Tunnel YANG                October 2021


               /te:label-hop/te:te-label/te:technology:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw (single-or-super-channel)?
             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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)?



Lee, et al.              Expires April 25, 2022                 [Page 8]


Internet-Draft              WSON Tunnel YANG                October 2021


             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:path-in-segment/te:label-restrictions
               /te:label-restriction/te:label-step/te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:path-out-segment
               /te:label-restrictions/te:label-restriction/te:label-end



Lee, et al.              Expires April 25, 2022                 [Page 9]


Internet-Draft              WSON Tunnel YANG                October 2021


               /te:te-label/te:technology:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:path-out-segment
               /te:label-restrictions/te:label-restriction/te:label-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:computed-paths-properties
               /te:computed-path-properties/te:path-properties
               /te:path-route-objects/te:path-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--ro subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--ro cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw (single-or-super-channel)?
             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n



Lee, et al.              Expires April 25, 2022                [Page 10]


Internet-Draft              WSON Tunnel YANG                October 2021


     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:primary-reverse-path



Lee, et al.              Expires April 25, 2022                [Page 11]


Internet-Draft              WSON Tunnel YANG                October 2021


               /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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:primary-reverse-path
               /te:path-in-segment/te:label-restrictions
               /te:label-restriction/te:label-step/te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te: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)?



Lee, et al.              Expires April 25, 2022                [Page 12]


Internet-Draft              WSON Tunnel YANG                October 2021


             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:primary-reverse-path
               /te:path-out-segment/te:label-restrictions
               /te:label-restriction/te:label-step/te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:primary-paths
               /te:primary-path/te:primary-reverse-path
               /te:computed-paths-properties/te:computed-path-properties
               /te:path-properties/te:path-route-objects
               /te:path-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--ro subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--ro cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te:secondary-path/te:optimizations/te:algorithm



Lee, et al.              Expires April 25, 2022                [Page 13]


Internet-Draft              WSON Tunnel YANG                October 2021


               /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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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)?
             +--:(dwdm)
             |  +--rw (single-or-super-channel)?
             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te:secondary-path/te:path-in-segment
               /te:label-restrictions/te:label-restriction
               /te:label-start/te:te-label/te:technology:
       +--:(wson)
          +--rw (grid-type)?



Lee, et al.              Expires April 25, 2022                [Page 14]


Internet-Draft              WSON Tunnel YANG                October 2021


             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te:secondary-path/te:path-in-segment
               /te:label-restrictions/te:label-restriction/te:label-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te: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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te:secondary-path/te:path-out-segment
               /te:label-restrictions/te:label-restriction/te:label-step
               /te:technology:



Lee, et al.              Expires April 25, 2022                [Page 15]


Internet-Draft              WSON Tunnel YANG                October 2021


       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:secondary-paths
               /te:secondary-path/te:computed-paths-properties
               /te:computed-path-properties/te:path-properties
               /te:path-route-objects/te:path-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--ro subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--ro cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw (single-or-super-channel)?
             |     +--:(single)
             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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)



Lee, et al.              Expires April 25, 2022                [Page 16]


Internet-Draft              WSON Tunnel YANG                October 2021


             |     |  +--rw dwdm-n?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--rw subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?                    l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-reverse-path/te:path-in-segment
               /te:label-restrictions/te:label-restriction/te:label-end



Lee, et al.              Expires April 25, 2022                [Page 17]


Internet-Draft              WSON Tunnel YANG                October 2021


               /te:te-label/te:technology:
       +--:(wson)
          +--rw (grid-type)?
             +--:(dwdm)
             |  +--rw dwdm-n?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-reverse-path/te:path-in-segment
               /te:label-restrictions/te:label-restriction/te:label-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-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?   l0-types:dwdm-n
             +--:(cwdm)
                +--rw cwdm-n?   l0-types:cwdm-n
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths
               /te:secondary-reverse-path/te:path-out-segment
               /te:label-restrictions/te:label-restriction/te:label-step
               /te:technology:
       +--:(wson)
          +--rw (l0-grid-type)?
             +--:(dwdm)
             |  +--rw wson-dwdm-channel-spacing?   identityref
             +--:(cwdm)
                +--rw wson-cwdm-channel-spacing?   identityref
     augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths



Lee, et al.              Expires April 25, 2022                [Page 18]


Internet-Draft              WSON Tunnel YANG                October 2021


               /te:secondary-reverse-path/te:computed-paths-properties
               /te:computed-path-properties/te:path-properties
               /te:path-route-objects/te:path-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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--ro subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--ro cwdm-n?                    l0-types:cwdm-n
     augment /te:te/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?              l0-types:dwdm-n
             |     +--:(super)
             |        +--ro subcarrier-dwdm-n*   l0-types:dwdm-n
             +--:(cwdm)
                +--ro cwdm-n?                    l0-types:cwdm-n


4.  WSON Tunnel YANG Code


   <CODE BEGINS>file "ietf-wson-tunnel@2021-10-19.yang"
   module ietf-wson-tunnel {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-wson-tunnel";
     prefix "wson-tnl";

     import ietf-te {
       prefix "te";
       revision-date "2021-02-20";
       reference
         "I-D.ietf-teas-yang-te-19: A YANG Data Model for Traffic
         Engineering Tunnels and Interfaces. ";
     }

     import ietf-layer0-types {
       prefix "l0-types";



Lee, et al.              Expires April 25, 2022                [Page 19]


Internet-Draft              WSON Tunnel YANG                October 2021


     }

     import ietf-layer0-types-ext {
       prefix "l0-types-ext";
     }

     organization
       "IETF CCAMP Working Group";

     contact
       "WG Web:   <http://tools.ietf.org/wg/ccamp/>
        WG List:  <mailto:ccamp@ietf.org>

        Editor:   Young Lee
                  <leeyoung.tx@gmail.com>

        Editor:   Haomian Zheng
                  <zhenghaomian@huawei.com>

        Editor:   Aihua Guo
                  <aihuaguo.ietf@gmail.com>

        Editor:   Victor Lopez
                  <victor.lopez@nokia.com>

        Editor:   Daniel King
                  <d.king@lancaster.ac.uk>

        Editor:   Bin Yeong Yoon
                  <byyun@etri.re.kr>

        Editor:   Ricard Vilalta
                  <ricard.vilalta@cttc.es>";

     description
       "This module defines a model for WSON Tunnel Services.

       The model fully conforms to the Network Management
       Datastore Architecture (NMDA).

       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).



Lee, et al.              Expires April 25, 2022                [Page 20]


Internet-Draft              WSON Tunnel YANG                October 2021


       This version of this YANG module is part of RFC XXXX; see
       the RFC itself for full legal notices.";

     revision "2021-10-19" {
       description
         "Initial Revision";
       reference
         "RFC XXXX: A Yang Data Model for WSON Tunnel";
       // RFC Ed.: replace XXXX with actual RFC number, update date
       // information and remove this note
     }

    /*
     * Data nodes
     */

     augment "/te:te/te:tunnels/te:tunnel" {
       description
         "Augment with additional parameters required for flexi-grid
          media channel.";
       uses l0-types-ext:l0-tunnel-attributes;
     }

     /*
      * Augment TE label range information
      */

     augment "/te:te/te:globals/te:named-path-constraints/"
           + "te:named-path-constraint/te:path-in-segment/"
           + "te:label-restrictions/te:label-restriction" {
       description
         "Augment TE label range information for the ingress segment
         of the named path constraint.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:globals/te:named-path-constraints/"
           + "te:named-path-constraint/te:path-out-segment/"
           + "te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the egress segment
         of the named path constraint.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"



Lee, et al.              Expires April 25, 2022                [Page 21]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the ingress segment
         of the primay path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the egress segment
         of the primay path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the ingress segment
         of the primay reverse path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the egress segment
         of the primay reverse path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the ingress segment
         of the secondary path.";
       uses l0-types:l0-label-range-info;



Lee, et al.              Expires April 25, 2022                [Page 22]


Internet-Draft              WSON Tunnel YANG                October 2021


     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the egress segment
         of the secondary path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the ingress segment
         of the secondary reverse path.";
       uses l0-types:l0-label-range-info;
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction" {
       description
         "Augment TE label range information for the egress segment
         of the secondary reverse path.";
       uses l0-types:l0-label-range-info;
     }

     /*
      * Augment TE label.
      */

     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
         "Augment TE label hop for the explicit route objects always
         excluded by the path computation with the named path
         constraint.";
       case wson {
         uses l0-types:wson-label-hop;
       }



Lee, et al.              Expires April 25, 2022                [Page 23]


Internet-Draft              WSON Tunnel YANG                October 2021


     }

     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
         "Augment TE label hop for the explicit route objects included
         or excluded by the path computation with the named path
         constraint.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     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
         "Augment TE label range start for the ingress segment
         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     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
         "Augment TE label range end for the ingress segment
         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     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-step/te:technology" {
       description
         "Augment TE label range step for the ingress segment



Lee, et al.              Expires April 25, 2022                [Page 24]


Internet-Draft              WSON Tunnel YANG                October 2021


         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     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
         "Augment TE label range start for the egress segment
         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     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
         "Augment TE label range end for the egress segment
         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     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-step/te:technology" {
       description
         "Augment TE label range step for the egress segment
         of the named path constraint.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:optimizations/te:algorithm/te:metric/"
           + "te:optimization-metric/te:explicit-route-exclude-objects/"



Lee, et al.              Expires April 25, 2022                [Page 25]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:route-object-exclude-object/te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the optimization of the explicit
         route objects excluded by the path computation of the primary
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te: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
         "Augment TE label hop for the optimization of the explicit
         route objects included by the path computation of the primary
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te: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
         "Augment TE label hop for the explicit route objects always
         excluded by the path computation of the primary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te: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
         "Augment TE label hop for the explicit route objects included
         or excluded by the path computation of the primary path.";
       case wson {



Lee, et al.              Expires April 25, 2022                [Page 26]


Internet-Draft              WSON Tunnel YANG                October 2021


         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the ingress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the ingress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range step for the ingress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description



Lee, et al.              Expires April 25, 2022                [Page 27]


Internet-Draft              WSON Tunnel YANG                October 2021


         "Augment TE label range start for the egress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the egress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range end for the egress segment
         of the primay path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:computed-paths-properties/"
           + "te:computed-path-properties/te:path-properties/"
           + "te:path-route-objects/te:path-route-object/"
           + "te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the route object of the computed
         primary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"



Lee, et al.              Expires April 25, 2022                [Page 28]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:primary-paths/te:primary-path/"
           + "te: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
         "Augment TE label hop for the optimization of the explicit
         route objects excluded by the path computation of the primary
         reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te: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
         "Augment TE label hop for the optimization of the explicit
         route objects included by the path computation of the primary
         reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te: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
         "Augment TE label hop for the explicit route objects always
         excluded by the path computation of the primary reverse
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"



Lee, et al.              Expires April 25, 2022                [Page 29]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:primary-paths/te:primary-path/"
           + "te: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
         "Augment TE label hop for the explicit route objects included
         or excluded by the path computation of the primary reverse
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the ingress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the ingress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {



Lee, et al.              Expires April 25, 2022                [Page 30]


Internet-Draft              WSON Tunnel YANG                October 2021


       description
         "Augment TE label range step for the ingress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the egress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the egress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range step for the egress segment
         of the primay reverse path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }



Lee, et al.              Expires April 25, 2022                [Page 31]


Internet-Draft              WSON Tunnel YANG                October 2021


     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:primary-paths/te:primary-path/"
           + "te:primary-reverse-path/"
           + "te:computed-paths-properties/te:computed-path-properties/"
           + "te:path-properties/te:path-route-objects/"
           + "te:path-route-object/te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the route object of the computed
         primary reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te: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
         "Augment TE label hop for the optimization of the explicit
         route objects excluded by the path computation of the
         secondary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te: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
         "Augment TE label hop for the optimization of the explicit
         route objects included by the path computation of the
         secondary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:explicit-route-objects-always/"



Lee, et al.              Expires April 25, 2022                [Page 32]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:route-object-exclude-always/te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the explicit route objects always
         excluded by the path computation of the secondary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te: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
         "Augment TE label hop for the explicit route objects included
         or excluded by the path computation of the secondary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the ingress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the ingress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }



Lee, et al.              Expires April 25, 2022                [Page 33]


Internet-Draft              WSON Tunnel YANG                October 2021


     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range step for the ingress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the egress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the egress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range step for the egress segment
         of the secondary path.";
       case wson {
         uses l0-types:wson-label-step;
       }



Lee, et al.              Expires April 25, 2022                [Page 34]


Internet-Draft              WSON Tunnel YANG                October 2021


     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-paths/te:secondary-path/"
           + "te:computed-paths-properties/"
           + "te:computed-path-properties/"
           + "te:path-properties/te:path-route-objects/"
           + "te:path-route-object/te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the route object of the computed
         secondary path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-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
         "Augment TE label hop for the optimization of the explicit
         route objects excluded by the path computation of the
         secondary reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-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
         "Augment TE label hop for the optimization of the explicit
         route objects included by the path computation of the
         secondary reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"



Lee, et al.              Expires April 25, 2022                [Page 35]


Internet-Draft              WSON Tunnel YANG                October 2021


           + "te:secondary-reverse-paths/te:secondary-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
         "Augment TE label hop for the explicit route objects always
         excluded by the path computation of the secondary reverse
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-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
         "Augment TE label hop for the explicit route objects included
         or excluded by the path computation of the secondary reverse
         path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the ingress segment
         of the secondary reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the ingress segment
         of the secondary reverse path.";



Lee, et al.              Expires April 25, 2022                [Page 36]


Internet-Draft              WSON Tunnel YANG                October 2021


       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-in-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description
         "Augment TE label range step for the ingress segment
         of the secondary reverse path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-start/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range start for the egress segment
         of the secondary reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-end/"
           + "te:te-label/te:technology" {
       description
         "Augment TE label range end for the egress segment
         of the secondary reverse path.";
       case wson {
         uses l0-types:wson-label-start-end;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:path-out-segment/te:label-restrictions/"
           + "te:label-restriction/te:label-step/te:technology" {
       description



Lee, et al.              Expires April 25, 2022                [Page 37]


Internet-Draft              WSON Tunnel YANG                October 2021


         "Augment TE label range step for the egress segment
         of the secondary reverse path.";
       case wson {
         uses l0-types:wson-label-step;
       }
     }

     augment "/te:te/te:tunnels/te:tunnel/"
           + "te:secondary-reverse-paths/te:secondary-reverse-path/"
           + "te:computed-paths-properties/"
           + "te:computed-path-properties/"
           + "te:path-properties/te:path-route-objects/"
           + "te:path-route-object/te:type/te:label/"
           + "te:label-hop/te:te-label/te:technology" {
       description
         "Augment TE label hop for the route object of the computed
         secondary reverse path.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }

     augment "/te:te/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
         "Augment TE label hop for the record route of the LSP.";
       case wson {
         uses l0-types:wson-label-hop;
       }
     }
   }

   <CODE ENDS>



5.  Security Considerations

   The YANG module specified in this document defines a schema for data
   that is designed to be accessed via network management protocols such
   as NETCONF [RFC6241] or RESTCONF [RFC8040].  The lowest NETCONF layer
   is the secure transport layer, and the mandatory-to-implement secure
   transport is Secure Shell (SSH) [RFC6242].  The lowest RESTCONF layer
   is HTTPS, and the mandatory-to-implement secure transport is TLS
   [RFC8446].




Lee, et al.              Expires April 25, 2022                [Page 38]


Internet-Draft              WSON Tunnel YANG                October 2021


   The NETCONF protocol over Secure Shell (SSH) specification [RFC6242]
   describes a method for invoking and running NETCONF within a Secure
   Shell (SSH) session as an SSH subsystem.  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.  Considerations in Section 8 of
   [I-D.ietf-teas-yang-te] are also applicable to 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.  Considerations in Section 8 of
   [I-D.ietf-teas-yang-te]are also applicable to the module defined in
   this document.

   Finally, the YANG module described in this document augments the
   "ietf-te" YANG module [I-D.ietf-teas-yang-te] by adding data nodes.
   The security considerations for the subtrees described in those RFCs
   apply equally to the new data nodes that this module adds.

6.  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-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].









Lee, et al.              Expires April 25, 2022                [Page 39]


Internet-Draft              WSON Tunnel YANG                October 2021


      name:         ietf-wson-tunnel
      namespace:    urn:ietf:params:xml:ns:yang:ietf-wson-tunnel
      prefix:       wson-tnl
      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-layer1-types]
              Zheng, H. and I. Busi, "A YANG Data Model for Layer 1
              Types", draft-ietf-ccamp-layer1-types-11 (work in
              progress), September 2021.

   [I-D.ietf-teas-yang-path-computation]
              Busi, I., Belotti, S., Lopez, V., Sharma, A., and Y. Shi,
              "YANG Data Model for requesting Path Computation", draft-
              ietf-teas-yang-path-computation-16 (work in progress),
              September 2021.

   [I-D.ietf-teas-yang-te]
              Saad, T., Gandhi, R., Liu, X., Beeram, V. P., Bryskin, I.,
              and O. G. D. Dios, "A YANG Data Model for Traffic
              Engineering Tunnels, Label Switched Paths and Interfaces",
              draft-ietf-teas-yang-te-27 (work in progress), July 2021.

   [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,
              <https://www.rfc-editor.org/info/rfc6241>.





Lee, et al.              Expires April 25, 2022                [Page 40]


Internet-Draft              WSON Tunnel YANG                October 2021


   [RFC6242]  Wasserman, M., "Using the NETCONF Protocol over Secure
              Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011,
              <https://www.rfc-editor.org/info/rfc6242>.

   [RFC8040]  Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF
              Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017,
              <https://www.rfc-editor.org/info/rfc8040>.

   [RFC8340]  Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams",
              BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018,
              <https://www.rfc-editor.org/info/rfc8340>.

   [RFC8341]  Bierman, A. and M. Bjorklund, "Network Configuration
              Access Control Model", STD 91, RFC 8341,
              DOI 10.17487/RFC8341, March 2018,
              <https://www.rfc-editor.org/info/rfc8341>.

   [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,
              <https://www.rfc-editor.org/info/rfc8342>.

   [RFC8446]  Rescorla, E., "The Transport Layer Security (TLS) Protocol
              Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,
              <https://www.rfc-editor.org/info/rfc8446>.

   [RFC8776]  Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin,
              "Common YANG Data Types for Traffic Engineering",
              RFC 8776, DOI 10.17487/RFC8776, June 2020,
              <https://www.rfc-editor.org/info/rfc8776>.

   [RFC9093]  Zheng, H., Lee, Y., Guo, A., Lopez, V., and D. King, "A
              YANG Data Model for Layer 0 Types", RFC 9093,
              DOI 10.17487/RFC9093, August 2021,
              <https://www.rfc-editor.org/info/rfc9093>.

   [RFC9094]  Zheng, H., Lee, Y., Guo, A., Lopez, V., and D. King, "A
              YANG Data Model for Wavelength Switched Optical Networks
              (WSONs)", RFC 9094, DOI 10.17487/RFC9094, August 2021,
              <https://www.rfc-editor.org/info/rfc9094>.

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-13 (work in progress),
              September 2021.



Lee, et al.              Expires April 25, 2022                [Page 41]


Internet-Draft              WSON Tunnel YANG                October 2021


   [I-D.ietf-teas-actn-yang]
              Lee, Y., Zheng, H., Ceccarelli, D., Yoon, B. Y., and S.
              Belotti, "Applicability of YANG models for Abstraction and
              Control of Traffic Engineered Networks", draft-ietf-teas-
              actn-yang-08 (work in progress), September 2021.

   [RFC3688]  Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
              DOI 10.17487/RFC3688, January 2004,
              <https://www.rfc-editor.org/info/rfc3688>.

   [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,
              <https://www.rfc-editor.org/info/rfc6163>.

   [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,
              <https://www.rfc-editor.org/info/rfc7446>.

   [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,
              <https://www.rfc-editor.org/info/rfc7579>.

   [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,
              <https://www.rfc-editor.org/info/rfc7581>.

   [RFC7950]  Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language",
              RFC 7950, DOI 10.17487/RFC7950, August 2016,
              <https://www.rfc-editor.org/info/rfc7950>.

Authors' Addresses

   Young Lee
   Samsung
   Seoul
   South Korea

   Email: younglee.tx@gmail.com





Lee, et al.              Expires April 25, 2022                [Page 42]


Internet-Draft              WSON Tunnel YANG                October 2021


   Haomian Zheng
   Huawei Technologies
   H1, Huawei Industrial Base, Songshan Lake
   Dongguan, Guangdong  523808
   China

   Email: zhenghaomian@huawei.com


   Aihua Guo
   Futurewei

   Email: aihuaguo.ietf@gmail.com


   Victor Lopez
   Nokia

   Email: victor.lopez@nokia.com


   Daniel King
   University of Lancaster

   Email: d.king@lancaster.ac.uk


   Bin Yeong Yoon
   ETRI
   218 Gaijeongro, Yuseong-gu
   Daejeon
   Korea

   Email: byyun@etri.re.kr


   Ricard Vilalta
   CTTC

   Email: ricard.vilalta@cttc.es











Lee, et al.              Expires April 25, 2022                [Page 43]