idnits 2.17.1 draft-ietf-ccamp-otn-tunnel-model-16.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == Line 218 has weird spacing: '...ad-rate uin...' == Line 236 has weird spacing: '...ad-rate uin...' == Line 255 has weird spacing: '...ad-rate uin...' == Line 276 has weird spacing: '...ad-rate uin...' == Line 297 has weird spacing: '...ad-rate uin...' == (5 more instances...) -- The document date (8 April 2022) is 748 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Missing Reference: 'RFCYYYY' is mentioned on line 127, but not defined == Missing Reference: 'RFCXXXX' is mentioned on line 128, but not defined == Missing Reference: 'RFCZZZZ' is mentioned on line 129, but not defined == Outdated reference: A later version (-18) exists of draft-ietf-ccamp-layer1-types-13 == Outdated reference: A later version (-18) exists of draft-ietf-ccamp-otn-topo-yang-14 == Outdated reference: A later version (-36) exists of draft-ietf-teas-yang-te-29 -- Possible downref: Non-RFC (?) normative reference: ref. 'ITU-Tg709' == Outdated reference: A later version (-17) exists of draft-ietf-ccamp-transport-nbi-app-statement-14 == Outdated reference: A later version (-11) exists of draft-ietf-teas-actn-yang-09 Summary: 0 errors (**), 0 flaws (~~), 15 warnings (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 CCAMP Working Group H. Zheng 3 Internet-Draft I. Busi 4 Intended status: Standards Track Huawei Technologies 5 Expires: 10 October 2022 S. Belotti 6 V. Lopez 7 Nokia 8 Y. Xu 9 CAICT 10 8 April 2022 12 OTN Tunnel YANG Model 13 draft-ietf-ccamp-otn-tunnel-model-16 15 Abstract 17 This document describes the YANG data model for tunnels in OTN TE 18 networks. The model can be used to do the configuration in order to 19 establish the tunnel in OTN network. This work is independent with 20 the control plane protocols. 22 Status of This Memo 24 This Internet-Draft is submitted in full conformance with the 25 provisions of BCP 78 and BCP 79. 27 Internet-Drafts are working documents of the Internet Engineering 28 Task Force (IETF). Note that other groups may also distribute 29 working documents as Internet-Drafts. The list of current Internet- 30 Drafts is at https://datatracker.ietf.org/drafts/current/. 32 Internet-Drafts are draft documents valid for a maximum of six months 33 and may be updated, replaced, or obsoleted by other documents at any 34 time. It is inappropriate to use Internet-Drafts as reference 35 material or to cite them other than as "work in progress." 37 This Internet-Draft will expire on 10 October 2022. 39 Copyright Notice 41 Copyright (c) 2022 IETF Trust and the persons identified as the 42 document authors. All rights reserved. 44 This document is subject to BCP 78 and the IETF Trust's Legal 45 Provisions Relating to IETF Documents (https://trustee.ietf.org/ 46 license-info) in effect on the date of publication of this document. 47 Please review these documents carefully, as they describe your rights 48 and restrictions with respect to this document. Code Components 49 extracted from this document must include Revised BSD License text as 50 described in Section 4.e of the Trust Legal Provisions and are 51 provided without warranty as described in the Revised BSD License. 53 Table of Contents 55 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 56 1.1. Terminology and Notations . . . . . . . . . . . . . . . . 2 57 1.2. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 3 58 1.3. Prefix in Data Node Names . . . . . . . . . . . . . . . . 3 59 2. OTN Tunnel Model Description . . . . . . . . . . . . . . . . 3 60 2.1. Overview of OTN Tunnel Model . . . . . . . . . . . . . . 4 61 2.2. Bandwidth Augmentation . . . . . . . . . . . . . . . . . 4 62 2.3. Label Augmentation . . . . . . . . . . . . . . . . . . . 5 63 3. OTN Tunnel YANG Tree . . . . . . . . . . . . . . . . . . . . 5 64 4. OTN Tunnel YANG Code . . . . . . . . . . . . . . . . . . . . 23 65 5. Security Considerations . . . . . . . . . . . . . . . . . . . 44 66 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 45 67 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 45 68 8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 45 69 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 46 70 9.1. Normative References . . . . . . . . . . . . . . . . . . 46 71 9.2. Informative References . . . . . . . . . . . . . . . . . 47 72 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 48 74 1. Introduction 76 OTN transport networks, specified in [ITU-Tg709], can carry various 77 types of client signals. In many cases, the client signal is carried 78 over an OTN tunnel across connected domains in a multi-domain 79 network. 81 This document provides YANG model for creating OTN tunnel. The model 82 augments the generic TE Tunnel model specified in 83 [I-D.ietf-teas-yang-te]. 85 1.1. Terminology and Notations 87 Refer to [I-D.ietf-ccamp-otn-topo-yang] for the OTN specific terms 88 terms used in this document. 90 The following terms are defined in [RFC7950] and are not redefined 91 here: 93 * client 95 * server 96 * augment 98 * data model 100 * data node 102 The following terms are defined in [RFC6241] and are not redefined 103 here: 105 * configuration data 107 * state data 109 The terminology for describing YANG data models is found in 110 [RFC7950]. 112 1.2. Tree Diagram 114 A simplified graphical representation of the data model is used in 115 Section 3 of this this document. The meaning of the symbols in these 116 diagrams is defined in [RFC8340]. 118 1.3. Prefix in Data Node Names 120 In this document, names of data nodes and other data model objects 121 are prefixed using the standard prefix associated with the 122 corresponding YANG imported modules, as shown in the following table. 124 +-------------+-------------------------+------------------------+ 125 | Prefix | YANG module | Reference | 126 +-------------+-------------------------+------------------------+ 127 | l1-types | ietf-layer1-types | [RFCYYYY] | 128 | otntnl | ietf-otn-tunnel | [RFCXXXX] | 129 | te | ietf-te | [RFCZZZZ] | 130 +-------------+-------------------------+------------------------+ 131 Table 1: Prefixes and Corresponding YANG Modules 133 RFC Editor Note: Please replace XXXX with the number assigned to the 134 RFC once this draft becomes an RFC. Please replace YYYY with the RFC 135 numbers assigned to [I-D.ietf-ccamp-layer1-types]. Please replace 136 ZZZZ with the RFC numbers assigned to [I-D.ietf-teas-yang-te]. 138 2. OTN Tunnel Model Description 139 2.1. Overview of OTN Tunnel Model 141 This document aims to describe the data model for OTN tunnel. The 142 OTN tunnel model is using TE tunnel [I-D.ietf-teas-yang-te] as a 143 basic model and augments it with OTN-specific parameters, including 144 the bandwidth information and label information. Figure 1 shows the 145 augmentation relationship. 147 +----------------+ 148 TE generic | ietf-te | 149 +----------------+ 150 ^ 151 | 152 | Augments 153 | 154 +--------+--------+ 155 OTN | ietf-otn-tunnel | 156 +-----------------+ 157 Figure 1 - Relationship between OTN and TE tunnel models 159 It is also worth noting that the OTN tunnel provisioning is usually 160 based on the OTN topology. Therefore the OTN tunnel model is usually 161 used together with OTN topology model specified in 162 [I-D.ietf-ccamp-otn-topo-yang]. The OTN tunnel model also imports a 163 few type modules, including ietf-layer1-types, ietf-te-types and 164 ietf-inet-types. The OTN-specific attributes in [RFC7139], including 165 the Tributary Slot (TS) and Tributary Port Number (TPN), can be used 166 to represent the bandwidth and label information. These attributes 167 have been specified in [I-D.ietf-ccamp-layer1-types] and used in this 168 document for augmentation of the generic TE tunnel model. 170 More scenarios and model applications can be found in 171 [I-D.ietf-ccamp-transport-nbi-app-statement] and 172 [I-D.ietf-teas-actn-yang]. 174 The YANG module ietf-otn-tunnel defined in this document conforms to 175 the Network Management Datastore Architecture (NMDA) defined in 176 [RFC8342]. 178 2.2. Bandwidth Augmentation 180 The model augments all the occurrences of the te-bandwidth container 181 with the OTN technology specific attributes using the otn-link- 182 bandwidth and otn-path-bandwidth groupings defined in 183 [I-D.ietf-ccamp-layer1-types]. 185 2.3. Label Augmentation 187 The model augments all the occurrences of the label-restriction list 188 with OTN technology specific attributes using the otn-label-range- 189 info grouping defined in [I-D.ietf-ccamp-layer1-types]. 191 Moreover, the model augments all the occurrences of the te-label 192 container with the OTN technology specific attributes using the otn- 193 label-start-end, otn-label-hop and otn-label-step groupings defined 194 in [I-D.ietf-ccamp-layer1-types]. 196 3. OTN Tunnel YANG Tree 198 module: ietf-otn-tunnel 200 augment /te:te/te:globals/te:named-path-constraints 201 /te:named-path-constraint/te:te-bandwidth/te:technology: 202 +--:(otn) 203 +--rw otn 204 +--rw odu-type? identityref 205 +--rw (oduflex-type)? 206 +--:(generic) 207 | +--rw nominal-bit-rate uint64 208 +--:(cbr) 209 | +--rw client-type identityref 210 +--:(gfp-n-k) 211 | +--rw gfp-n uint8 212 | +--rw gfp-k? gfp-k 213 +--:(flexe-client) 214 | +--rw flexe-client flexe-client-rate 215 +--:(flexe-aware) 216 | +--rw flexe-aware-n uint16 217 +--:(packet) 218 +--rw opuflex-payload-rate uint64 219 augment /te:te/te:tunnels/te:tunnel/te:te-bandwidth/te:technology: 220 +--:(otn) 221 +--rw otn 222 +--rw odu-type? identityref 223 +--rw (oduflex-type)? 224 +--:(generic) 225 | +--rw nominal-bit-rate uint64 226 +--:(cbr) 227 | +--rw client-type identityref 228 +--:(gfp-n-k) 229 | +--rw gfp-n uint8 230 | +--rw gfp-k? gfp-k 231 +--:(flexe-client) 232 | +--rw flexe-client flexe-client-rate 233 +--:(flexe-aware) 234 | +--rw flexe-aware-n uint16 235 +--:(packet) 236 +--rw opuflex-payload-rate uint64 237 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 238 /te:primary-path/te:te-bandwidth/te:technology: 239 +--:(otn) 240 +--rw otn 241 +--rw odu-type? identityref 242 +--rw (oduflex-type)? 243 +--:(generic) 244 | +--rw nominal-bit-rate uint64 245 +--:(cbr) 246 | +--rw client-type identityref 247 +--:(gfp-n-k) 248 | +--rw gfp-n uint8 249 | +--rw gfp-k? gfp-k 250 +--:(flexe-client) 251 | +--rw flexe-client flexe-client-rate 252 +--:(flexe-aware) 253 | +--rw flexe-aware-n uint16 254 +--:(packet) 255 +--rw opuflex-payload-rate uint64 256 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 257 /te:primary-path/te:computed-paths-properties 258 /te:computed-path-properties/te:path-properties 259 /te:te-bandwidth/te:technology: 260 +--:(otn) 261 +--ro otn 262 +--ro odu-type? identityref 263 +--ro (oduflex-type)? 264 +--:(generic) 265 | +--ro nominal-bit-rate uint64 266 +--:(cbr) 267 | +--ro client-type identityref 268 +--:(gfp-n-k) 269 | +--ro gfp-n uint8 270 | +--ro gfp-k? gfp-k 271 +--:(flexe-client) 272 | +--ro flexe-client flexe-client-rate 273 +--:(flexe-aware) 274 | +--ro flexe-aware-n uint16 275 +--:(packet) 276 +--ro opuflex-payload-rate uint64 277 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 278 /te:primary-path/te:primary-reverse-path/te:te-bandwidth 279 /te:technology: 281 +--:(otn) 282 +--rw otn 283 +--rw odu-type? identityref 284 +--rw (oduflex-type)? 285 +--:(generic) 286 | +--rw nominal-bit-rate uint64 287 +--:(cbr) 288 | +--rw client-type identityref 289 +--:(gfp-n-k) 290 | +--rw gfp-n uint8 291 | +--rw gfp-k? gfp-k 292 +--:(flexe-client) 293 | +--rw flexe-client flexe-client-rate 294 +--:(flexe-aware) 295 | +--rw flexe-aware-n uint16 296 +--:(packet) 297 +--rw opuflex-payload-rate uint64 298 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 299 /te:primary-path/te:primary-reverse-path 300 /te:computed-paths-properties/te:computed-path-properties 301 /te:path-properties/te:te-bandwidth/te:technology: 302 +--:(otn) 303 +--ro otn 304 +--ro odu-type? identityref 305 +--ro (oduflex-type)? 306 +--:(generic) 307 | +--ro nominal-bit-rate uint64 308 +--:(cbr) 309 | +--ro client-type identityref 310 +--:(gfp-n-k) 311 | +--ro gfp-n uint8 312 | +--ro gfp-k? gfp-k 313 +--:(flexe-client) 314 | +--ro flexe-client flexe-client-rate 315 +--:(flexe-aware) 316 | +--ro flexe-aware-n uint16 317 +--:(packet) 318 +--ro opuflex-payload-rate uint64 319 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 320 /te:secondary-path/te:te-bandwidth/te:technology: 321 +--:(otn) 322 +--rw otn 323 +--rw odu-type? identityref 324 +--rw (oduflex-type)? 325 +--:(generic) 326 | +--rw nominal-bit-rate uint64 327 +--:(cbr) 328 | +--rw client-type identityref 329 +--:(gfp-n-k) 330 | +--rw gfp-n uint8 331 | +--rw gfp-k? gfp-k 332 +--:(flexe-client) 333 | +--rw flexe-client flexe-client-rate 334 +--:(flexe-aware) 335 | +--rw flexe-aware-n uint16 336 +--:(packet) 337 +--rw opuflex-payload-rate uint64 338 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 339 /te:secondary-path/te:computed-paths-properties 340 /te:computed-path-properties/te:path-properties 341 /te:te-bandwidth/te:technology: 342 +--:(otn) 343 +--ro otn 344 +--ro odu-type? identityref 345 +--ro (oduflex-type)? 346 +--:(generic) 347 | +--ro nominal-bit-rate uint64 348 +--:(cbr) 349 | +--ro client-type identityref 350 +--:(gfp-n-k) 351 | +--ro gfp-n uint8 352 | +--ro gfp-k? gfp-k 353 +--:(flexe-client) 354 | +--ro flexe-client flexe-client-rate 355 +--:(flexe-aware) 356 | +--ro flexe-aware-n uint16 357 +--:(packet) 358 +--ro opuflex-payload-rate uint64 359 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 360 /te:secondary-reverse-path/te:te-bandwidth/te:technology: 361 +--:(otn) 362 +--rw otn 363 +--rw odu-type? identityref 364 +--rw (oduflex-type)? 365 +--:(generic) 366 | +--rw nominal-bit-rate uint64 367 +--:(cbr) 368 | +--rw client-type identityref 369 +--:(gfp-n-k) 370 | +--rw gfp-n uint8 371 | +--rw gfp-k? gfp-k 372 +--:(flexe-client) 373 | +--rw flexe-client flexe-client-rate 374 +--:(flexe-aware) 375 | +--rw flexe-aware-n uint16 376 +--:(packet) 377 +--rw opuflex-payload-rate uint64 378 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 379 /te:secondary-reverse-path/te:computed-paths-properties 380 /te:computed-path-properties/te:path-properties 381 /te:te-bandwidth/te:technology: 382 +--:(otn) 383 +--ro otn 384 +--ro odu-type? identityref 385 +--ro (oduflex-type)? 386 +--:(generic) 387 | +--ro nominal-bit-rate uint64 388 +--:(cbr) 389 | +--ro client-type identityref 390 +--:(gfp-n-k) 391 | +--ro gfp-n uint8 392 | +--ro gfp-k? gfp-k 393 +--:(flexe-client) 394 | +--ro flexe-client flexe-client-rate 395 +--:(flexe-aware) 396 | +--ro flexe-aware-n uint16 397 +--:(packet) 398 +--ro opuflex-payload-rate uint64 399 augment /te:te/te:globals/te:named-path-constraints 400 /te:named-path-constraint/te:path-in-segment 401 /te:label-restrictions/te:label-restriction: 402 +--rw otn-label-range 403 +--rw range-type? otn-label-range-type 404 +--rw tsg? identityref 405 +--rw odu-type-list* identityref 406 +--rw priority? uint8 407 augment /te:te/te:globals/te:named-path-constraints 408 /te:named-path-constraint/te:path-out-segment 409 /te:label-restrictions/te:label-restriction: 410 +--rw otn-label-range 411 +--rw range-type? otn-label-range-type 412 +--rw tsg? identityref 413 +--rw odu-type-list* identityref 414 +--rw priority? uint8 415 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 416 /te:primary-path/te:path-in-segment/te:label-restrictions 417 /te:label-restriction: 418 +--rw otn-label-range 419 +--rw range-type? otn-label-range-type 420 +--rw tsg? identityref 421 +--rw odu-type-list* identityref 422 +--rw priority? uint8 423 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 424 /te:primary-path/te:path-out-segment 425 /te:label-restrictions/te:label-restriction: 426 +--rw otn-label-range 427 +--rw range-type? otn-label-range-type 428 +--rw tsg? identityref 429 +--rw odu-type-list* identityref 430 +--rw priority? uint8 431 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 432 /te:primary-path/te:primary-reverse-path 433 /te:path-in-segment/te:label-restrictions 434 /te:label-restriction: 435 +--rw otn-label-range 436 +--rw range-type? otn-label-range-type 437 +--rw tsg? identityref 438 +--rw odu-type-list* identityref 439 +--rw priority? uint8 440 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 441 /te:primary-path/te:primary-reverse-path 442 /te:path-out-segment/te:label-restrictions 443 /te:label-restriction: 444 +--rw otn-label-range 445 +--rw range-type? otn-label-range-type 446 +--rw tsg? identityref 447 +--rw odu-type-list* identityref 448 +--rw priority? uint8 449 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 450 /te:secondary-path/te:path-in-segment 451 /te:label-restrictions/te:label-restriction: 452 +--rw otn-label-range 453 +--rw range-type? otn-label-range-type 454 +--rw tsg? identityref 455 +--rw odu-type-list* identityref 456 +--rw priority? uint8 457 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 458 /te:secondary-path/te:path-out-segment 459 /te:label-restrictions/te:label-restriction: 460 +--rw otn-label-range 461 +--rw range-type? otn-label-range-type 462 +--rw tsg? identityref 463 +--rw odu-type-list* identityref 464 +--rw priority? uint8 465 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 466 /te:secondary-reverse-path/te:path-in-segment 467 /te:label-restrictions/te:label-restriction: 468 +--rw otn-label-range 469 +--rw range-type? otn-label-range-type 470 +--rw tsg? identityref 471 +--rw odu-type-list* identityref 472 +--rw priority? uint8 474 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 475 /te:secondary-reverse-path/te:path-out-segment 476 /te:label-restrictions/te:label-restriction: 477 +--rw otn-label-range 478 +--rw range-type? otn-label-range-type 479 +--rw tsg? identityref 480 +--rw odu-type-list* identityref 481 +--rw priority? uint8 482 augment /te:te/te:globals/te:named-path-constraints 483 /te:named-path-constraint 484 /te:explicit-route-objects-always 485 /te:route-object-exclude-always/te:type/te:label 486 /te:label-hop/te:te-label/te:technology: 487 +--:(otn) 488 +--rw otn 489 +--rw tpn? otn-tpn 490 +--rw tsg? identityref 491 +--rw ts-list? string 492 augment /te:te/te:globals/te:named-path-constraints 493 /te:named-path-constraint 494 /te:explicit-route-objects-always 495 /te:route-object-include-exclude/te:type/te:label 496 /te:label-hop/te:te-label/te:technology: 497 +--:(otn) 498 +--rw otn 499 +--rw tpn? otn-tpn 500 +--rw tsg? identityref 501 +--rw ts-list? string 502 augment /te:te/te:globals/te:named-path-constraints 503 /te:named-path-constraint/te:path-in-segment 504 /te:label-restrictions/te:label-restriction 505 /te:label-start/te:te-label/te:technology: 506 +--:(otn) 507 +--rw otn 508 +--rw (range-type)? 509 +--:(trib-port) 510 | +--rw tpn? otn-tpn 511 +--:(trib-slot) 512 +--rw ts? otn-ts 513 augment /te:te/te:globals/te:named-path-constraints 514 /te:named-path-constraint/te:path-in-segment 515 /te:label-restrictions/te:label-restriction/te:label-end 516 /te:te-label/te:technology: 517 +--:(otn) 518 +--rw otn 519 +--rw (range-type)? 520 +--:(trib-port) 521 | +--rw tpn? otn-tpn 522 +--:(trib-slot) 523 +--rw ts? otn-ts 524 augment /te:te/te:globals/te:named-path-constraints 525 /te:named-path-constraint/te:path-in-segment 526 /te:label-restrictions/te:label-restriction/te:label-step 527 /te:technology: 528 +--:(otn) 529 +--rw otn 530 +--rw (range-type)? 531 +--:(trib-port) 532 | +--rw tpn? otn-tpn 533 +--:(trib-slot) 534 +--rw ts? otn-ts 535 augment /te:te/te:globals/te:named-path-constraints 536 /te:named-path-constraint/te:path-out-segment 537 /te:label-restrictions/te:label-restriction 538 /te:label-start/te:te-label/te:technology: 539 +--:(otn) 540 +--rw otn 541 +--rw (range-type)? 542 +--:(trib-port) 543 | +--rw tpn? otn-tpn 544 +--:(trib-slot) 545 +--rw ts? otn-ts 546 augment /te:te/te:globals/te:named-path-constraints 547 /te:named-path-constraint/te:path-out-segment 548 /te:label-restrictions/te:label-restriction/te:label-end 549 /te:te-label/te:technology: 550 +--:(otn) 551 +--rw otn 552 +--rw (range-type)? 553 +--:(trib-port) 554 | +--rw tpn? otn-tpn 555 +--:(trib-slot) 556 +--rw ts? otn-ts 557 augment /te:te/te:globals/te:named-path-constraints 558 /te:named-path-constraint/te:path-out-segment 559 /te:label-restrictions/te:label-restriction/te:label-step 560 /te:technology: 561 +--:(otn) 562 +--rw otn 563 +--rw (range-type)? 564 +--:(trib-port) 565 | +--rw tpn? otn-tpn 566 +--:(trib-slot) 567 +--rw ts? otn-ts 568 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 569 /te:primary-path/te:optimizations/te:algorithm/te:metric 570 /te:optimization-metric/te:explicit-route-exclude-objects 571 /te:route-object-exclude-object/te:type/te:label 572 /te:label-hop/te:te-label/te:technology: 573 +--:(otn) 574 +--rw otn 575 +--rw tpn? otn-tpn 576 +--rw tsg? identityref 577 +--rw ts-list? string 578 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 579 /te:primary-path/te:optimizations/te:algorithm/te:metric 580 /te:optimization-metric/te:explicit-route-include-objects 581 /te:route-object-include-object/te:type/te:label 582 /te:label-hop/te:te-label/te:technology: 583 +--:(otn) 584 +--rw otn 585 +--rw tpn? otn-tpn 586 +--rw tsg? identityref 587 +--rw ts-list? string 588 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 589 /te:primary-path/te:explicit-route-objects-always 590 /te:route-object-exclude-always/te:type/te:label 591 /te:label-hop/te:te-label/te:technology: 592 +--:(otn) 593 +--rw otn 594 +--rw tpn? otn-tpn 595 +--rw tsg? identityref 596 +--rw ts-list? string 597 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 598 /te:primary-path/te:explicit-route-objects-always 599 /te:route-object-include-exclude/te:type/te:label 600 /te:label-hop/te:te-label/te:technology: 601 +--:(otn) 602 +--rw otn 603 +--rw tpn? otn-tpn 604 +--rw tsg? identityref 605 +--rw ts-list? string 606 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 607 /te:primary-path/te:path-in-segment/te:label-restrictions 608 /te:label-restriction/te:label-start/te:te-label 609 /te:technology: 610 +--:(otn) 611 +--rw otn 612 +--rw (range-type)? 613 +--:(trib-port) 614 | +--rw tpn? otn-tpn 615 +--:(trib-slot) 616 +--rw ts? otn-ts 617 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 618 /te:primary-path/te:path-in-segment/te:label-restrictions 619 /te:label-restriction/te:label-end/te:te-label 620 /te:technology: 621 +--:(otn) 622 +--rw otn 623 +--rw (range-type)? 624 +--:(trib-port) 625 | +--rw tpn? otn-tpn 626 +--:(trib-slot) 627 +--rw ts? otn-ts 628 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 629 /te:primary-path/te:path-in-segment/te:label-restrictions 630 /te:label-restriction/te:label-step/te:technology: 631 +--:(otn) 632 +--rw otn 633 +--rw (range-type)? 634 +--:(trib-port) 635 | +--rw tpn? otn-tpn 636 +--:(trib-slot) 637 +--rw ts? otn-ts 638 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 639 /te:primary-path/te:path-out-segment 640 /te:label-restrictions/te:label-restriction 641 /te:label-start/te:te-label/te:technology: 642 +--:(otn) 643 +--rw otn 644 +--rw (range-type)? 645 +--:(trib-port) 646 | +--rw tpn? otn-tpn 647 +--:(trib-slot) 648 +--rw ts? otn-ts 649 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 650 /te:primary-path/te:path-out-segment 651 /te:label-restrictions/te:label-restriction/te:label-end 652 /te:te-label/te:technology: 653 +--:(otn) 654 +--rw otn 655 +--rw (range-type)? 656 +--:(trib-port) 657 | +--rw tpn? otn-tpn 658 +--:(trib-slot) 659 +--rw ts? otn-ts 660 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 661 /te:primary-path/te:path-out-segment 662 /te:label-restrictions/te:label-restriction/te:label-step 663 /te:technology: 664 +--:(otn) 665 +--rw otn 666 +--rw (range-type)? 667 +--:(trib-port) 668 | +--rw tpn? otn-tpn 669 +--:(trib-slot) 670 +--rw ts? otn-ts 671 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 672 /te:primary-path/te:computed-paths-properties 673 /te:computed-path-properties/te:path-properties 674 /te:path-route-objects/te:path-route-object/te:type 675 /te:label/te:label-hop/te:te-label/te:technology: 676 +--:(otn) 677 +--ro otn 678 +--ro tpn? otn-tpn 679 +--ro tsg? identityref 680 +--ro ts-list? string 681 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 682 /te:primary-path/te:primary-reverse-path/te:optimizations 683 /te:algorithm/te:metric/te:optimization-metric 684 /te:explicit-route-exclude-objects 685 /te:route-object-exclude-object/te:type/te:label 686 /te:label-hop/te:te-label/te:technology: 687 +--:(otn) 688 +--rw otn 689 +--rw tpn? otn-tpn 690 +--rw tsg? identityref 691 +--rw ts-list? string 692 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 693 /te:primary-path/te:primary-reverse-path/te:optimizations 694 /te:algorithm/te:metric/te:optimization-metric 695 /te:explicit-route-include-objects 696 /te:route-object-include-object/te:type/te:label 697 /te:label-hop/te:te-label/te:technology: 698 +--:(otn) 699 +--rw otn 700 +--rw tpn? otn-tpn 701 +--rw tsg? identityref 702 +--rw ts-list? string 703 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 704 /te:primary-path/te:primary-reverse-path 705 /te:explicit-route-objects-always 706 /te:route-object-exclude-always/te:type/te:label 707 /te:label-hop/te:te-label/te:technology: 708 +--:(otn) 709 +--rw otn 710 +--rw tpn? otn-tpn 711 +--rw tsg? identityref 712 +--rw ts-list? string 713 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 714 /te:primary-path/te:primary-reverse-path 715 /te:explicit-route-objects-always 716 /te:route-object-include-exclude/te:type/te:label 717 /te:label-hop/te:te-label/te:technology: 718 +--:(otn) 719 +--rw otn 720 +--rw tpn? otn-tpn 721 +--rw tsg? identityref 722 +--rw ts-list? string 723 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 724 /te:primary-path/te:primary-reverse-path 725 /te:path-in-segment/te:label-restrictions 726 /te:label-restriction/te:label-start/te:te-label 727 /te:technology: 728 +--:(otn) 729 +--rw otn 730 +--rw (range-type)? 731 +--:(trib-port) 732 | +--rw tpn? otn-tpn 733 +--:(trib-slot) 734 +--rw ts? otn-ts 735 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 736 /te:primary-path/te:primary-reverse-path 737 /te:path-in-segment/te:label-restrictions 738 /te:label-restriction/te:label-end/te:te-label 739 /te:technology: 740 +--:(otn) 741 +--rw otn 742 +--rw (range-type)? 743 +--:(trib-port) 744 | +--rw tpn? otn-tpn 745 +--:(trib-slot) 746 +--rw ts? otn-ts 747 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 748 /te:primary-path/te:primary-reverse-path 749 /te:path-in-segment/te:label-restrictions 750 /te:label-restriction/te:label-step/te:technology: 751 +--:(otn) 752 +--rw otn 753 +--rw (range-type)? 754 +--:(trib-port) 755 | +--rw tpn? otn-tpn 756 +--:(trib-slot) 757 +--rw ts? otn-ts 758 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 759 /te:primary-path/te:primary-reverse-path 760 /te:path-out-segment/te:label-restrictions 761 /te:label-restriction/te:label-start/te:te-label 762 /te:technology: 763 +--:(otn) 764 +--rw otn 765 +--rw (range-type)? 766 +--:(trib-port) 767 | +--rw tpn? otn-tpn 768 +--:(trib-slot) 769 +--rw ts? otn-ts 770 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 771 /te:primary-path/te:primary-reverse-path 772 /te:path-out-segment/te:label-restrictions 773 /te:label-restriction/te:label-end/te:te-label 774 /te:technology: 775 +--:(otn) 776 +--rw otn 777 +--rw (range-type)? 778 +--:(trib-port) 779 | +--rw tpn? otn-tpn 780 +--:(trib-slot) 781 +--rw ts? otn-ts 782 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 783 /te:primary-path/te:primary-reverse-path 784 /te:path-out-segment/te:label-restrictions 785 /te:label-restriction/te:label-step/te:technology: 786 +--:(otn) 787 +--rw otn 788 +--rw (range-type)? 789 +--:(trib-port) 790 | +--rw tpn? otn-tpn 791 +--:(trib-slot) 792 +--rw ts? otn-ts 793 augment /te:te/te:tunnels/te:tunnel/te:primary-paths 794 /te:primary-path/te:primary-reverse-path 795 /te:computed-paths-properties/te:computed-path-properties 796 /te:path-properties/te:path-route-objects 797 /te:path-route-object/te:type/te:label/te:label-hop 798 /te:te-label/te:technology: 799 +--:(otn) 800 +--ro otn 801 +--ro tpn? otn-tpn 802 +--ro tsg? identityref 803 +--ro ts-list? string 804 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 805 /te:secondary-path/te:optimizations/te:algorithm 806 /te:metric/te:optimization-metric 807 /te:explicit-route-exclude-objects 808 /te:route-object-exclude-object/te:type/te:label 809 /te:label-hop/te:te-label/te:technology: 811 +--:(otn) 812 +--rw otn 813 +--rw tpn? otn-tpn 814 +--rw tsg? identityref 815 +--rw ts-list? string 816 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 817 /te:secondary-path/te:optimizations/te:algorithm 818 /te:metric/te:optimization-metric 819 /te:explicit-route-include-objects 820 /te:route-object-include-object/te:type/te:label 821 /te:label-hop/te:te-label/te:technology: 822 +--:(otn) 823 +--rw otn 824 +--rw tpn? otn-tpn 825 +--rw tsg? identityref 826 +--rw ts-list? string 827 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 828 /te:secondary-path/te:explicit-route-objects-always 829 /te:route-object-exclude-always/te:type/te:label 830 /te:label-hop/te:te-label/te:technology: 831 +--:(otn) 832 +--rw otn 833 +--rw tpn? otn-tpn 834 +--rw tsg? identityref 835 +--rw ts-list? string 836 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 837 /te:secondary-path/te:explicit-route-objects-always 838 /te:route-object-include-exclude/te:type/te:label 839 /te:label-hop/te:te-label/te:technology: 840 +--:(otn) 841 +--rw otn 842 +--rw tpn? otn-tpn 843 +--rw tsg? identityref 844 +--rw ts-list? string 845 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 846 /te:secondary-path/te:path-in-segment 847 /te:label-restrictions/te:label-restriction 848 /te:label-start/te:te-label/te:technology: 849 +--:(otn) 850 +--rw otn 851 +--rw (range-type)? 852 +--:(trib-port) 853 | +--rw tpn? otn-tpn 854 +--:(trib-slot) 855 +--rw ts? otn-ts 856 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 857 /te:secondary-path/te:path-in-segment 858 /te:label-restrictions/te:label-restriction/te:label-end 859 /te:te-label/te:technology: 860 +--:(otn) 861 +--rw otn 862 +--rw (range-type)? 863 +--:(trib-port) 864 | +--rw tpn? otn-tpn 865 +--:(trib-slot) 866 +--rw ts? otn-ts 867 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 868 /te:secondary-path/te:path-in-segment 869 /te:label-restrictions/te:label-restriction/te:label-step 870 /te:technology: 871 +--:(otn) 872 +--rw otn 873 +--rw (range-type)? 874 +--:(trib-port) 875 | +--rw tpn? otn-tpn 876 +--:(trib-slot) 877 +--rw ts? otn-ts 878 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 879 /te:secondary-path/te:path-out-segment 880 /te:label-restrictions/te:label-restriction 881 /te:label-start/te:te-label/te:technology: 882 +--:(otn) 883 +--rw otn 884 +--rw (range-type)? 885 +--:(trib-port) 886 | +--rw tpn? otn-tpn 887 +--:(trib-slot) 888 +--rw ts? otn-ts 889 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 890 /te:secondary-path/te:path-out-segment 891 /te:label-restrictions/te:label-restriction/te:label-end 892 /te:te-label/te:technology: 893 +--:(otn) 894 +--rw otn 895 +--rw (range-type)? 896 +--:(trib-port) 897 | +--rw tpn? otn-tpn 898 +--:(trib-slot) 899 +--rw ts? otn-ts 900 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 901 /te:secondary-path/te:path-out-segment 902 /te:label-restrictions/te:label-restriction/te:label-step 903 /te:technology: 904 +--:(otn) 905 +--rw otn 906 +--rw (range-type)? 907 +--:(trib-port) 908 | +--rw tpn? otn-tpn 909 +--:(trib-slot) 910 +--rw ts? otn-ts 911 augment /te:te/te:tunnels/te:tunnel/te:secondary-paths 912 /te:secondary-path/te:computed-paths-properties 913 /te:computed-path-properties/te:path-properties 914 /te:path-route-objects/te:path-route-object/te:type 915 /te:label/te:label-hop/te:te-label/te:technology: 916 +--:(otn) 917 +--ro otn 918 +--ro tpn? otn-tpn 919 +--ro tsg? identityref 920 +--ro ts-list? string 921 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 922 /te:secondary-reverse-path/te:optimizations/te:algorithm 923 /te:metric/te:optimization-metric 924 /te:explicit-route-exclude-objects 925 /te:route-object-exclude-object/te:type/te:label 926 /te:label-hop/te:te-label/te:technology: 927 +--:(otn) 928 +--rw otn 929 +--rw tpn? otn-tpn 930 +--rw tsg? identityref 931 +--rw ts-list? string 932 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 933 /te:secondary-reverse-path/te:optimizations/te:algorithm 934 /te:metric/te:optimization-metric 935 /te:explicit-route-include-objects 936 /te:route-object-include-object/te:type/te:label 937 /te:label-hop/te:te-label/te:technology: 938 +--:(otn) 939 +--rw otn 940 +--rw tpn? otn-tpn 941 +--rw tsg? identityref 942 +--rw ts-list? string 943 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 944 /te:secondary-reverse-path 945 /te:explicit-route-objects-always 946 /te:route-object-exclude-always/te:type/te:label 947 /te:label-hop/te:te-label/te:technology: 948 +--:(otn) 949 +--rw otn 950 +--rw tpn? otn-tpn 951 +--rw tsg? identityref 952 +--rw ts-list? string 953 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 954 /te:secondary-reverse-path 955 /te:explicit-route-objects-always 956 /te:route-object-include-exclude/te:type/te:label 957 /te:label-hop/te:te-label/te:technology: 958 +--:(otn) 959 +--rw otn 960 +--rw tpn? otn-tpn 961 +--rw tsg? identityref 962 +--rw ts-list? string 963 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 964 /te:secondary-reverse-path/te:path-in-segment 965 /te:label-restrictions/te:label-restriction 966 /te:label-start/te:te-label/te:technology: 967 +--:(otn) 968 +--rw otn 969 +--rw (range-type)? 970 +--:(trib-port) 971 | +--rw tpn? otn-tpn 972 +--:(trib-slot) 973 +--rw ts? otn-ts 974 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 975 /te:secondary-reverse-path/te:path-in-segment 976 /te:label-restrictions/te:label-restriction/te:label-end 977 /te:te-label/te:technology: 978 +--:(otn) 979 +--rw otn 980 +--rw (range-type)? 981 +--:(trib-port) 982 | +--rw tpn? otn-tpn 983 +--:(trib-slot) 984 +--rw ts? otn-ts 985 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 986 /te:secondary-reverse-path/te:path-in-segment 987 /te:label-restrictions/te:label-restriction/te:label-step 988 /te:technology: 989 +--:(otn) 990 +--rw otn 991 +--rw (range-type)? 992 +--:(trib-port) 993 | +--rw tpn? otn-tpn 994 +--:(trib-slot) 995 +--rw ts? otn-ts 996 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 997 /te:secondary-reverse-path/te:path-out-segment 998 /te:label-restrictions/te:label-restriction 999 /te:label-start/te:te-label/te:technology: 1000 +--:(otn) 1001 +--rw otn 1002 +--rw (range-type)? 1003 +--:(trib-port) 1004 | +--rw tpn? otn-tpn 1005 +--:(trib-slot) 1006 +--rw ts? otn-ts 1007 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 1008 /te:secondary-reverse-path/te:path-out-segment 1009 /te:label-restrictions/te:label-restriction/te:label-end 1010 /te:te-label/te:technology: 1011 +--:(otn) 1012 +--rw otn 1013 +--rw (range-type)? 1014 +--:(trib-port) 1015 | +--rw tpn? otn-tpn 1016 +--:(trib-slot) 1017 +--rw ts? otn-ts 1018 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 1019 /te:secondary-reverse-path/te:path-out-segment 1020 /te:label-restrictions/te:label-restriction/te:label-step 1021 /te:technology: 1022 +--:(otn) 1023 +--rw otn 1024 +--rw (range-type)? 1025 +--:(trib-port) 1026 | +--rw tpn? otn-tpn 1027 +--:(trib-slot) 1028 +--rw ts? otn-ts 1029 augment /te:te/te:tunnels/te:tunnel/te:secondary-reverse-paths 1030 /te:secondary-reverse-path/te:computed-paths-properties 1031 /te:computed-path-properties/te:path-properties 1032 /te:path-route-objects/te:path-route-object/te:type 1033 /te:label/te:label-hop/te:te-label/te:technology: 1034 +--:(otn) 1035 +--ro otn 1036 +--ro tpn? otn-tpn 1037 +--ro tsg? identityref 1038 +--ro ts-list? string 1039 augment /te:te/te:lsps/te:lsp/te:lsp-record-route-information 1040 /te:lsp-record-route-information/te:type/te:label 1041 /te:label-hop/te:te-label/te:technology: 1042 +--:(otn) 1043 +--ro otn 1044 +--ro tpn? otn-tpn 1045 +--ro tsg? identityref 1046 +--ro ts-list? string 1048 4. OTN Tunnel YANG Code 1050 1051 file "ietf-otn-tunnel@2022-03-10.yang" 1052 module ietf-otn-tunnel { 1053 yang-version 1.1; 1054 namespace "urn:ietf:params:xml:ns:yang:ietf-otn-tunnel"; 1055 prefix "otn-tnl"; 1057 import ietf-te { 1058 prefix "te"; 1059 revision-date "2021-02-20"; 1060 reference 1061 "I-D.ietf-teas-yang-te-19: A YANG Data Model for Traffic 1062 Engineering Tunnels and Interfaces. "; 1063 } 1065 import ietf-layer1-types { 1066 prefix "l1-types"; 1067 reference 1068 "I-D.ietf-ccamp-layer1-types: 1069 A YANG Data Model for Layer 1 Types. "; 1070 } 1072 organization 1073 "IETF CCAMP Working Group"; 1074 contact 1075 "WG Web: 1076 WG List: 1078 Editor: Haomian Zheng 1079 1081 Editor: Italo Busi 1082 1084 Editor: Sergio Belotti 1085 1087 Editor: Victor Lopez 1088 1090 Editor: Yunbin Xu 1091 "; 1093 description 1094 "This module defines a model for OTN Tunnel Services. 1096 The model fully conforms to the Network Management 1097 Datastore Architecture (NMDA). 1099 Copyright (c) 2022 IETF Trust and the persons 1100 identified as authors of the code. All rights reserved. 1102 Redistribution and use in source and binary forms, with or 1103 without modification, is permitted pursuant to, and subject 1104 to the license terms contained in, the Simplified BSD License 1105 set forth in Section 4.c of the IETF Trust's Legal Provisions 1106 Relating to IETF Documents 1107 (https://trustee.ietf.org/license-info). 1109 This version of this YANG module is part of RFC XXXX; see 1110 the RFC itself for full legal notices."; 1112 revision "2022-03-10" { 1113 description 1114 "Updated revision to align with the latest TE tunnel model."; 1115 reference 1116 "RFC XXXX: OTN Tunnel YANG Model"; 1117 // RFC Ed.: replace XXXX with actual RFC number, update date 1118 // information and remove this note 1119 } 1121 /* 1122 * Data nodes 1123 */ 1125 /* 1126 * Augment TE bandwidth 1127 */ 1129 augment "/te:te/te:globals/te:named-path-constraints/" 1130 + "te:named-path-constraint/" 1131 + "te:te-bandwidth/te:technology" { 1132 description 1133 "Augment TE bandwidth of the named path constraint."; 1134 case otn { 1135 uses l1-types:otn-path-bandwidth; 1136 } 1137 } 1139 augment "/te:te/te:tunnels/te:tunnel/" 1140 + "te:te-bandwidth/te:technology" { 1141 description 1142 "Augment TE bandwidth of the tunnel."; 1143 case otn { 1144 uses l1-types:otn-path-bandwidth; 1145 } 1146 } 1148 augment "/te:te/te:tunnels/te:tunnel/" 1149 + "te:primary-paths/te:primary-path/" 1150 + "te:te-bandwidth/te:technology" { 1151 description 1152 "Augment TE bandwidth of the primary path."; 1153 case otn { 1154 uses l1-types:otn-path-bandwidth; 1155 } 1156 } 1158 augment "/te:te/te:tunnels/te:tunnel/" 1159 + "te:primary-paths/te:primary-path/" 1160 + "te:computed-paths-properties/" 1161 + "te:computed-path-properties/te:path-properties/" 1162 + "te:te-bandwidth/te:technology" { 1163 description 1164 "Augment TE bandwidth of primary path's computed path 1165 properties."; 1166 case otn { 1167 uses l1-types:otn-path-bandwidth; 1168 } 1169 } 1171 augment "/te:te/te:tunnels/te:tunnel/" 1172 + "te:primary-paths/te:primary-path/" 1173 + "te:primary-reverse-path/" 1174 + "te:te-bandwidth/te:technology" { 1175 description 1176 "Augment TE bandwidth of the primary reverse path."; 1177 case otn { 1178 uses l1-types:otn-path-bandwidth; 1179 } 1180 } 1182 augment "/te:te/te:tunnels/te:tunnel/" 1183 + "te:primary-paths/te:primary-path/" 1184 + "te:primary-reverse-path/" 1185 + "te:computed-paths-properties/" 1186 + "te:computed-path-properties/te:path-properties/" 1187 + "te:te-bandwidth/te:technology" { 1188 description 1189 "Augment TE bandwidth of the primary reverse path's computed 1190 path properties."; 1191 case otn { 1192 uses l1-types:otn-path-bandwidth; 1193 } 1194 } 1196 augment "/te:te/te:tunnels/te:tunnel/" 1197 + "te:secondary-paths/te:secondary-path/" 1198 + "te:te-bandwidth/te:technology" { 1199 description 1200 "Augment TE bandwidth of the secondary path."; 1201 case otn { 1202 uses l1-types:otn-path-bandwidth; 1203 } 1204 } 1206 augment "/te:te/te:tunnels/te:tunnel/" 1207 + "te:secondary-paths/te:secondary-path/" 1208 + "te:computed-paths-properties/" 1209 + "te:computed-path-properties/te:path-properties/" 1210 + "te:te-bandwidth/te:technology" { 1211 description 1212 "Augment TE bandwidth of the secondary path's computed path 1213 properties."; 1214 case otn { 1215 uses l1-types:otn-path-bandwidth; 1216 } 1217 } 1219 augment "/te:te/te:tunnels/te:tunnel/" 1220 + "te:secondary-reverse-paths/" 1221 + "te:secondary-reverse-path/" 1222 + "te:te-bandwidth/te:technology" { 1223 description 1224 "Augment TE bandwidth of the secondary reverse path."; 1225 case otn { 1226 uses l1-types:otn-path-bandwidth; 1227 } 1228 } 1230 augment "/te:te/te:tunnels/te:tunnel/" 1231 + "te:secondary-reverse-paths/" 1232 + "te:secondary-reverse-path/" 1233 + "te:computed-paths-properties/" 1234 + "te:computed-path-properties/te:path-properties/" 1235 + "te:te-bandwidth/te:technology" { 1236 description 1237 "Augment TE bandwidth of the secondary reverse path's computed 1238 path properties."; 1239 case otn { 1240 uses l1-types:otn-path-bandwidth; 1241 } 1242 } 1244 /* 1245 * Augment TE label range information 1246 */ 1248 augment "/te:te/te:globals/te:named-path-constraints/" 1249 + "te:named-path-constraint/te:path-in-segment/" 1250 + "te:label-restrictions/te:label-restriction" { 1251 description 1252 "Augment TE label range information for the ingress segment 1253 of the named path constraint."; 1254 uses l1-types:otn-label-range-info; 1255 } 1257 augment "/te:te/te:globals/te:named-path-constraints/" 1258 + "te:named-path-constraint/te:path-out-segment/" 1259 + "te:label-restrictions/" 1260 + "te:label-restriction" { 1261 description 1262 "Augment TE label range information for the egress segment 1263 of the named path constraint."; 1264 uses l1-types:otn-label-range-info; 1265 } 1267 augment "/te:te/te:tunnels/te:tunnel/" 1268 + "te:primary-paths/te:primary-path/" 1269 + "te:path-in-segment/te:label-restrictions/" 1270 + "te:label-restriction" { 1271 description 1272 "Augment TE label range information for the ingress segment 1273 of the primay path."; 1274 uses l1-types:otn-label-range-info; 1275 } 1277 augment "/te:te/te:tunnels/te:tunnel/" 1278 + "te:primary-paths/te:primary-path/" 1279 + "te:path-out-segment/te:label-restrictions/" 1280 + "te:label-restriction" { 1281 description 1282 "Augment TE label range information for the egress segment 1283 of the primay path."; 1284 uses l1-types:otn-label-range-info; 1285 } 1287 augment "/te:te/te:tunnels/te:tunnel/" 1288 + "te:primary-paths/te:primary-path/" 1289 + "te:primary-reverse-path/" 1290 + "te:path-in-segment/te:label-restrictions/" 1291 + "te:label-restriction" { 1292 description 1293 "Augment TE label range information for the ingress segment 1294 of the primay reverse path."; 1295 uses l1-types:otn-label-range-info; 1296 } 1298 augment "/te:te/te:tunnels/te:tunnel/" 1299 + "te:primary-paths/te:primary-path/" 1300 + "te:primary-reverse-path/" 1301 + "te:path-out-segment/te:label-restrictions/" 1302 + "te:label-restriction" { 1303 description 1304 "Augment TE label range information for the egress segment 1305 of the primay reverse path."; 1306 uses l1-types:otn-label-range-info; 1307 } 1309 augment "/te:te/te:tunnels/te:tunnel/" 1310 + "te:secondary-paths/te:secondary-path/" 1311 + "te:path-in-segment/te:label-restrictions/" 1312 + "te:label-restriction" { 1313 description 1314 "Augment TE label range information for the ingress segment 1315 of the secondary path."; 1316 uses l1-types:otn-label-range-info; 1317 } 1319 augment "/te:te/te:tunnels/te:tunnel/" 1320 + "te:secondary-paths/te:secondary-path/" 1321 + "te:path-out-segment/te:label-restrictions/" 1322 + "te:label-restriction" { 1323 description 1324 "Augment TE label range information for the egress segment 1325 of the secondary path."; 1326 uses l1-types:otn-label-range-info; 1327 } 1329 augment "/te:te/te:tunnels/te:tunnel/" 1330 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1331 + "te:path-in-segment/te:label-restrictions/" 1332 + "te:label-restriction" { 1333 description 1334 "Augment TE label range information for the ingress segment 1335 of the secondary reverse path."; 1337 uses l1-types:otn-label-range-info; 1338 } 1340 augment "/te:te/te:tunnels/te:tunnel/" 1341 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1342 + "te:path-out-segment/te:label-restrictions/" 1343 + "te:label-restriction" { 1344 description 1345 "Augment TE label range information for the egress segment 1346 of the secondary reverse path."; 1347 uses l1-types:otn-label-range-info; 1348 } 1350 /* 1351 * Augment TE label. 1352 */ 1354 augment "/te:te/te:globals/te:named-path-constraints/" 1355 + "te:named-path-constraint/" 1356 + "te:explicit-route-objects-always/" 1357 + "te:route-object-exclude-always/te:type/te:label/" 1358 + "te:label-hop/te:te-label/te:technology" { 1359 description 1360 "Augment TE label hop for the explicit route objects always 1361 excluded by the path computation with the named path 1362 constraint."; 1363 case otn { 1364 uses l1-types:otn-label-hop; 1365 } 1366 } 1368 augment "/te:te/te:globals/te:named-path-constraints/" 1369 + "te:named-path-constraint/" 1370 + "te:explicit-route-objects-always/" 1371 + "te:route-object-include-exclude/te:type/te:label/" 1372 + "te:label-hop/te:te-label/te:technology" { 1373 description 1374 "Augment TE label hop for the explicit route objects included 1375 or excluded by the path computation with the named path 1376 constraint."; 1377 case otn { 1378 uses l1-types:otn-label-hop; 1379 } 1380 } 1382 augment "/te:te/te:globals/te:named-path-constraints/" 1383 + "te:named-path-constraint/te:path-in-segment/" 1384 + "te:label-restrictions/" 1385 + "te:label-restriction/te:label-start/" 1386 + "te:te-label/te:technology" { 1387 description 1388 "Augment TE label range start for the ingress segment 1389 of the named path constraint."; 1390 case otn { 1391 uses l1-types:otn-label-start-end; 1392 } 1393 } 1395 augment "/te:te/te:globals/te:named-path-constraints/" 1396 + "te:named-path-constraint/te:path-in-segment/" 1397 + "te:label-restrictions/" 1398 + "te:label-restriction/te:label-end/" 1399 + "te:te-label/te:technology" { 1400 description 1401 "Augment TE label range end for the ingress segment 1402 of the named path constraint."; 1403 case otn { 1404 uses l1-types:otn-label-start-end; 1405 } 1406 } 1408 augment "/te:te/te:globals/te:named-path-constraints/" 1409 + "te:named-path-constraint/te:path-in-segment/" 1410 + "te:label-restrictions/te:label-restriction/" 1411 + "te:label-step/te:technology" { 1412 description 1413 "Augment TE label range step for the ingress segment 1414 of the named path constraint."; 1415 case otn { 1416 uses l1-types:otn-label-step; 1417 } 1418 } 1420 augment "/te:te/te:globals/te:named-path-constraints/" 1421 + "te:named-path-constraint/te:path-out-segment/" 1422 + "te:label-restrictions/" 1423 + "te:label-restriction/te:label-start/" 1424 + "te:te-label/te:technology" { 1425 description 1426 "Augment TE label range start for the egress segment 1427 of the named path constraint."; 1428 case otn { 1429 uses l1-types:otn-label-start-end; 1430 } 1431 } 1432 augment "/te:te/te:globals/te:named-path-constraints/" 1433 + "te:named-path-constraint/te:path-out-segment/" 1434 + "te:label-restrictions/" 1435 + "te:label-restriction/te:label-end/" 1436 + "te:te-label/te:technology" { 1437 description 1438 "Augment TE label range end for the egress segment 1439 of the named path constraint."; 1440 case otn { 1441 uses l1-types:otn-label-start-end; 1442 } 1443 } 1445 augment "/te:te/te:globals/te:named-path-constraints/" 1446 + "te:named-path-constraint/te:path-out-segment/" 1447 + "te:label-restrictions/te:label-restriction/" 1448 + "te:label-step/te:technology" { 1449 description 1450 "Augment TE label range step for the egress segment 1451 of the named path constraint."; 1452 case otn { 1453 uses l1-types:otn-label-step; 1454 } 1455 } 1457 augment "/te:te/te:tunnels/te:tunnel/" 1458 + "te:primary-paths/te:primary-path/" 1459 + "te:optimizations/te:algorithm/te:metric/" 1460 + "te:optimization-metric/te:explicit-route-exclude-objects/" 1461 + "te:route-object-exclude-object/te:type/te:label/" 1462 + "te:label-hop/te:te-label/te:technology" { 1463 description 1464 "Augment TE label hop for the optimization of the explicit 1465 route objects excluded by the path computation of the primary 1466 path."; 1467 case otn { 1468 uses l1-types:otn-label-hop; 1469 } 1470 } 1472 augment "/te:te/te:tunnels/te:tunnel/" 1473 + "te:primary-paths/te:primary-path/" 1474 + "te:optimizations/te:algorithm/te:metric/" 1475 + "te:optimization-metric/te:explicit-route-include-objects/" 1476 + "te:route-object-include-object/te:type/te:label/" 1477 + "te:label-hop/te:te-label/te:technology" { 1478 description 1479 "Augment TE label hop for the optimization of the explicit 1480 route objects included by the path computation of the primary 1481 path."; 1482 case otn { 1483 uses l1-types:otn-label-hop; 1484 } 1485 } 1487 augment "/te:te/te:tunnels/te:tunnel/" 1488 + "te:primary-paths/te:primary-path/" 1489 + "te:explicit-route-objects-always/" 1490 + "te:route-object-exclude-always/te:type/te:label/" 1491 + "te:label-hop/te:te-label/te:technology" { 1492 description 1493 "Augment TE label hop for the explicit route objects always 1494 excluded by the path computation of the primary path."; 1495 case otn { 1496 uses l1-types:otn-label-hop; 1497 } 1498 } 1500 augment "/te:te/te:tunnels/te:tunnel/" 1501 + "te:primary-paths/te:primary-path/" 1502 + "te:explicit-route-objects-always/" 1503 + "te:route-object-include-exclude/te:type/te:label/" 1504 + "te:label-hop/te:te-label/te:technology" { 1505 description 1506 "Augment TE label hop for the explicit route objects included 1507 or excluded by the path computation of the primary path."; 1508 case otn { 1509 uses l1-types:otn-label-hop; 1510 } 1511 } 1513 augment "/te:te/te:tunnels/te:tunnel/" 1514 + "te:primary-paths/te:primary-path/" 1515 + "te:path-in-segment/te:label-restrictions/" 1516 + "te:label-restriction/te:label-start/" 1517 + "te:te-label/te:technology" { 1518 description 1519 "Augment TE label range start for the ingress segment 1520 of the primay path."; 1521 case otn { 1522 uses l1-types:otn-label-start-end; 1523 } 1524 } 1526 augment "/te:te/te:tunnels/te:tunnel/" 1527 + "te:primary-paths/te:primary-path/" 1528 + "te:path-in-segment/te:label-restrictions/" 1529 + "te:label-restriction/te:label-end/" 1530 + "te:te-label/te:technology" { 1531 description 1532 "Augment TE label range end for the ingress segment 1533 of the primay path."; 1534 case otn { 1535 uses l1-types:otn-label-start-end; 1536 } 1537 } 1539 augment "/te:te/te:tunnels/te:tunnel/" 1540 + "te:primary-paths/te:primary-path/" 1541 + "te:path-in-segment/te:label-restrictions/" 1542 + "te:label-restriction/te:label-step/te:technology" { 1543 description 1544 "Augment TE label range step for the ingress segment 1545 of the primay path."; 1546 case otn { 1547 uses l1-types:otn-label-step; 1548 } 1549 } 1551 augment "/te:te/te:tunnels/te:tunnel/" 1552 + "te:primary-paths/te:primary-path/" 1553 + "te:path-out-segment/te:label-restrictions/" 1554 + "te:label-restriction/te:label-start/" 1555 + "te:te-label/te:technology" { 1556 description 1557 "Augment TE label range start for the egress segment 1558 of the primay path."; 1559 case otn { 1560 uses l1-types:otn-label-start-end; 1561 } 1562 } 1564 augment "/te:te/te:tunnels/te:tunnel/" 1565 + "te:primary-paths/te:primary-path/" 1566 + "te:path-out-segment/te:label-restrictions/" 1567 + "te:label-restriction/te:label-end/" 1568 + "te:te-label/te:technology" { 1569 description 1570 "Augment TE label range end for the egress segment 1571 of the primay path."; 1572 case otn { 1573 uses l1-types:otn-label-start-end; 1574 } 1575 } 1576 augment "/te:te/te:tunnels/te:tunnel/" 1577 + "te:primary-paths/te:primary-path/" 1578 + "te:path-out-segment/te:label-restrictions/" 1579 + "te:label-restriction/te:label-step/te:technology" { 1580 description 1581 "Augment TE label range end for the egress segment 1582 of the primay path."; 1583 case otn { 1584 uses l1-types:otn-label-step; 1585 } 1586 } 1588 augment "/te:te/te:tunnels/te:tunnel/" 1589 + "te:primary-paths/te:primary-path/" 1590 + "te:computed-paths-properties/" 1591 + "te:computed-path-properties/te:path-properties/" 1592 + "te:path-route-objects/te:path-route-object/" 1593 + "te:type/te:label/" 1594 + "te:label-hop/te:te-label/te:technology" { 1595 description 1596 "Augment TE label hop for the route object of the computed 1597 primary path."; 1598 case otn { 1599 uses l1-types:otn-label-hop; 1600 } 1601 } 1603 augment "/te:te/te:tunnels/te:tunnel/" 1604 + "te:primary-paths/te:primary-path/" 1605 + "te:primary-reverse-path/" 1606 + "te:optimizations/te:algorithm/te:metric/" 1607 + "te:optimization-metric/te:explicit-route-exclude-objects/" 1608 + "te:route-object-exclude-object/te:type/te:label/" 1609 + "te:label-hop/te:te-label/te:technology" { 1610 description 1611 "Augment TE label hop for the optimization of the explicit 1612 route objects excluded by the path computation of the primary 1613 reverse path."; 1614 case otn { 1615 uses l1-types:otn-label-hop; 1616 } 1617 } 1619 augment "/te:te/te:tunnels/te:tunnel/" 1620 + "te:primary-paths/te:primary-path/" 1621 + "te:primary-reverse-path/" 1622 + "te:optimizations/te:algorithm/te:metric/" 1623 + "te:optimization-metric/te:explicit-route-include-objects/" 1624 + "te:route-object-include-object/te:type/te:label/" 1625 + "te:label-hop/te:te-label/te:technology" { 1626 description 1627 "Augment TE label hop for the optimization of the explicit 1628 route objects included by the path computation of the primary 1629 reverse path."; 1630 case otn { 1631 uses l1-types:otn-label-hop; 1632 } 1633 } 1635 augment "/te:te/te:tunnels/te:tunnel/" 1636 + "te:primary-paths/te:primary-path/" 1637 + "te:primary-reverse-path/" 1638 + "te:explicit-route-objects-always/" 1639 + "te:route-object-exclude-always/" 1640 + "te:type/te:label/" 1641 + "te:label-hop/te:te-label/te:technology" { 1642 description 1643 "Augment TE label hop for the explicit route objects always 1644 excluded by the path computation of the primary reverse 1645 path."; 1646 case otn { 1647 uses l1-types:otn-label-hop; 1648 } 1649 } 1651 augment "/te:te/te:tunnels/te:tunnel/" 1652 + "te:primary-paths/te:primary-path/" 1653 + "te:primary-reverse-path/" 1654 + "te:explicit-route-objects-always/" 1655 + "te:route-object-include-exclude/" 1656 + "te:type/te:label/" 1657 + "te:label-hop/te:te-label/te:technology" { 1658 description 1659 "Augment TE label hop for the explicit route objects included 1660 or excluded by the path computation of the primary reverse 1661 path."; 1662 case otn { 1663 uses l1-types:otn-label-hop; 1664 } 1665 } 1667 augment "/te:te/te:tunnels/te:tunnel/" 1668 + "te:primary-paths/te:primary-path/" 1669 + "te:primary-reverse-path/" 1670 + "te:path-in-segment/te:label-restrictions/" 1671 + "te:label-restriction/te:label-start/" 1672 + "te:te-label/te:technology" { 1673 description 1674 "Augment TE label range start for the ingress segment 1675 of the primay reverse path."; 1676 case otn { 1677 uses l1-types:otn-label-start-end; 1678 } 1679 } 1681 augment "/te:te/te:tunnels/te:tunnel/" 1682 + "te:primary-paths/te:primary-path/" 1683 + "te:primary-reverse-path/" 1684 + "te:path-in-segment/te:label-restrictions/" 1685 + "te:label-restriction/te:label-end/" 1686 + "te:te-label/te:technology" { 1687 description 1688 "Augment TE label range end for the ingress segment 1689 of the primay reverse path."; 1690 case otn { 1691 uses l1-types:otn-label-start-end; 1692 } 1693 } 1695 augment "/te:te/te:tunnels/te:tunnel/" 1696 + "te:primary-paths/te:primary-path/" 1697 + "te:primary-reverse-path/" 1698 + "te:path-in-segment/te:label-restrictions/" 1699 + "te:label-restriction/te:label-step/te:technology" { 1700 description 1701 "Augment TE label range step for the ingress segment 1702 of the primay reverse path."; 1703 case otn { 1704 uses l1-types:otn-label-step; 1705 } 1706 } 1708 augment "/te:te/te:tunnels/te:tunnel/" 1709 + "te:primary-paths/te:primary-path/" 1710 + "te:primary-reverse-path/" 1711 + "te:path-out-segment/te:label-restrictions/" 1712 + "te:label-restriction/te:label-start/" 1713 + "te:te-label/te:technology" { 1714 description 1715 "Augment TE label range start for the egress segment 1716 of the primay reverse path."; 1717 case otn { 1718 uses l1-types:otn-label-start-end; 1719 } 1721 } 1723 augment "/te:te/te:tunnels/te:tunnel/" 1724 + "te:primary-paths/te:primary-path/" 1725 + "te:primary-reverse-path/" 1726 + "te:path-out-segment/te:label-restrictions/" 1727 + "te:label-restriction/te:label-end/" 1728 + "te:te-label/te:technology" { 1729 description 1730 "Augment TE label range end for the egress segment 1731 of the primay reverse path."; 1732 case otn { 1733 uses l1-types:otn-label-start-end; 1734 } 1735 } 1737 augment "/te:te/te:tunnels/te:tunnel/" 1738 + "te:primary-paths/te:primary-path/" 1739 + "te:primary-reverse-path/" 1740 + "te:path-out-segment/te:label-restrictions/" 1741 + "te:label-restriction/te:label-step/te:technology" { 1742 description 1743 "Augment TE label range step for the egress segment 1744 of the primay reverse path."; 1745 case otn { 1746 uses l1-types:otn-label-step; 1747 } 1748 } 1750 augment "/te:te/te:tunnels/te:tunnel/" 1751 + "te:primary-paths/te:primary-path/" 1752 + "te:primary-reverse-path/" 1753 + "te:computed-paths-properties/te:computed-path-properties/" 1754 + "te:path-properties/te:path-route-objects/" 1755 + "te:path-route-object/te:type/te:label/" 1756 + "te:label-hop/te:te-label/te:technology" { 1757 description 1758 "Augment TE label hop for the route object of the computed 1759 primary reverse path."; 1760 case otn { 1761 uses l1-types:otn-label-hop; 1762 } 1763 } 1765 augment "/te:te/te:tunnels/te:tunnel/" 1766 + "te:secondary-paths/te:secondary-path/" 1767 + "te:optimizations/te:algorithm/te:metric/" 1768 + "te:optimization-metric/te:explicit-route-exclude-objects/" 1769 + "te:route-object-exclude-object/te:type/te:label/" 1770 + "te:label-hop/te:te-label/te:technology" { 1771 description 1772 "Augment TE label hop for the optimization of the explicit 1773 route objects excluded by the path computation of the 1774 secondary path."; 1775 case otn { 1776 uses l1-types:otn-label-hop; 1777 } 1778 } 1780 augment "/te:te/te:tunnels/te:tunnel/" 1781 + "te:secondary-paths/te:secondary-path/" 1782 + "te:optimizations/te:algorithm/te:metric/" 1783 + "te:optimization-metric/te:explicit-route-include-objects/" 1784 + "te:route-object-include-object/te:type/te:label/" 1785 + "te:label-hop/te:te-label/te:technology" { 1786 description 1787 "Augment TE label hop for the optimization of the explicit 1788 route objects included by the path computation of the 1789 secondary path."; 1790 case otn { 1791 uses l1-types:otn-label-hop; 1792 } 1793 } 1795 augment "/te:te/te:tunnels/te:tunnel/" 1796 + "te:secondary-paths/te:secondary-path/" 1797 + "te:explicit-route-objects-always/" 1798 + "te:route-object-exclude-always/te:type/te:label/" 1799 + "te:label-hop/te:te-label/te:technology" { 1800 description 1801 "Augment TE label hop for the explicit route objects always 1802 excluded by the path computation of the secondary path."; 1803 case otn { 1804 uses l1-types:otn-label-hop; 1805 } 1806 } 1808 augment "/te:te/te:tunnels/te:tunnel/" 1809 + "te:secondary-paths/te:secondary-path/" 1810 + "te:explicit-route-objects-always/" 1811 + "te:route-object-include-exclude/te:type/te:label/" 1812 + "te:label-hop/te:te-label/te:technology" { 1813 description 1814 "Augment TE label hop for the explicit route objects included 1815 or excluded by the path computation of the secondary path."; 1816 case otn { 1817 uses l1-types:otn-label-hop; 1818 } 1819 } 1821 augment "/te:te/te:tunnels/te:tunnel/" 1822 + "te:secondary-paths/te:secondary-path/" 1823 + "te:path-in-segment/te:label-restrictions/" 1824 + "te:label-restriction/te:label-start/" 1825 + "te:te-label/te:technology" { 1826 description 1827 "Augment TE label range start for the ingress segment 1828 of the secondary path."; 1829 case otn { 1830 uses l1-types:otn-label-start-end; 1831 } 1832 } 1834 augment "/te:te/te:tunnels/te:tunnel/" 1835 + "te:secondary-paths/te:secondary-path/" 1836 + "te:path-in-segment/te:label-restrictions/" 1837 + "te:label-restriction/te:label-end/" 1838 + "te:te-label/te:technology" { 1839 description 1840 "Augment TE label range end for the ingress segment 1841 of the secondary path."; 1842 case otn { 1843 uses l1-types:otn-label-start-end; 1844 } 1845 } 1846 augment "/te:te/te:tunnels/te:tunnel/" 1847 + "te:secondary-paths/te:secondary-path/" 1848 + "te:path-in-segment/te:label-restrictions/" 1849 + "te:label-restriction/te:label-step/te:technology" { 1850 description 1851 "Augment TE label range step for the ingress segment 1852 of the secondary path."; 1853 case otn { 1854 uses l1-types:otn-label-step; 1855 } 1856 } 1858 augment "/te:te/te:tunnels/te:tunnel/" 1859 + "te:secondary-paths/te:secondary-path/" 1860 + "te:path-out-segment/te:label-restrictions/" 1861 + "te:label-restriction/te:label-start/" 1862 + "te:te-label/te:technology" { 1863 description 1864 "Augment TE label range start for the egress segment 1865 of the secondary path."; 1866 case otn { 1867 uses l1-types:otn-label-start-end; 1868 } 1869 } 1871 augment "/te:te/te:tunnels/te:tunnel/" 1872 + "te:secondary-paths/te:secondary-path/" 1873 + "te:path-out-segment/te:label-restrictions/" 1874 + "te:label-restriction/te:label-end/" 1875 + "te:te-label/te:technology" { 1876 description 1877 "Augment TE label range end for the egress segment 1878 of the secondary path."; 1879 case otn { 1880 uses l1-types:otn-label-start-end; 1881 } 1882 } 1884 augment "/te:te/te:tunnels/te:tunnel/" 1885 + "te:secondary-paths/te:secondary-path/" 1886 + "te:path-out-segment/te:label-restrictions/" 1887 + "te:label-restriction/te:label-step/te:technology" { 1888 description 1889 "Augment TE label range step for the egress segment 1890 of the secondary path."; 1891 case otn { 1892 uses l1-types:otn-label-step; 1893 } 1894 } 1896 augment "/te:te/te:tunnels/te:tunnel/" 1897 + "te:secondary-paths/te:secondary-path/" 1898 + "te:computed-paths-properties/" 1899 + "te:computed-path-properties/" 1900 + "te:path-properties/te:path-route-objects/" 1901 + "te:path-route-object/te:type/te:label/" 1902 + "te:label-hop/te:te-label/te:technology" { 1903 description 1904 "Augment TE label hop for the route object of the computed 1905 secondary path."; 1906 case otn { 1907 uses l1-types:otn-label-hop; 1908 } 1909 } 1911 augment "/te:te/te:tunnels/te:tunnel/" 1912 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1913 + "te:optimizations/te:algorithm/te:metric/" 1914 + "te:optimization-metric/te:explicit-route-exclude-objects/" 1915 + "te:route-object-exclude-object/te:type/te:label/" 1916 + "te:label-hop/te:te-label/te:technology" { 1917 description 1918 "Augment TE label hop for the optimization of the explicit 1919 route objects excluded by the path computation of the 1920 secondary reverse path."; 1921 case otn { 1922 uses l1-types:otn-label-hop; 1923 } 1924 } 1926 augment "/te:te/te:tunnels/te:tunnel/" 1927 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1928 + "te:optimizations/te:algorithm/te:metric/" 1929 + "te:optimization-metric/te:explicit-route-include-objects/" 1930 + "te:route-object-include-object/te:type/te:label/" 1931 + "te:label-hop/te:te-label/te:technology" { 1932 description 1933 "Augment TE label hop for the optimization of the explicit 1934 route objects included by the path computation of the 1935 secondary reverse path."; 1936 case otn { 1937 uses l1-types:otn-label-hop; 1938 } 1939 } 1941 augment "/te:te/te:tunnels/te:tunnel/" 1942 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1943 + "te:explicit-route-objects-always/" 1944 + "te:route-object-exclude-always/te:type/te:label/" 1945 + "te:label-hop/te:te-label/te:technology" { 1946 description 1947 "Augment TE label hop for the explicit route objects always 1948 excluded by the path computation of the secondary reverse 1949 path."; 1950 case otn { 1951 uses l1-types:otn-label-hop; 1952 } 1953 } 1955 augment "/te:te/te:tunnels/te:tunnel/" 1956 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1957 + "te:explicit-route-objects-always/" 1958 + "te:route-object-include-exclude/te:type/te:label/" 1959 + "te:label-hop/te:te-label/te:technology" { 1960 description 1961 "Augment TE label hop for the explicit route objects included 1962 or excluded by the path computation of the secondary reverse 1963 path."; 1964 case otn { 1965 uses l1-types:otn-label-hop; 1966 } 1967 } 1969 augment "/te:te/te:tunnels/te:tunnel/" 1970 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1971 + "te:path-in-segment/te:label-restrictions/" 1972 + "te:label-restriction/te:label-start/" 1973 + "te:te-label/te:technology" { 1974 description 1975 "Augment TE label range start for the ingress segment 1976 of the secondary reverse path."; 1977 case otn { 1978 uses l1-types:otn-label-start-end; 1979 } 1980 } 1982 augment "/te:te/te:tunnels/te:tunnel/" 1983 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1984 + "te:path-in-segment/te:label-restrictions/" 1985 + "te:label-restriction/te:label-end/" 1986 + "te:te-label/te:technology" { 1987 description 1988 "Augment TE label range end for the ingress segment 1989 of the secondary reverse path."; 1990 case otn { 1991 uses l1-types:otn-label-start-end; 1992 } 1993 } 1995 augment "/te:te/te:tunnels/te:tunnel/" 1996 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 1997 + "te:path-in-segment/te:label-restrictions/" 1998 + "te:label-restriction/te:label-step/te:technology" { 1999 description 2000 "Augment TE label range step for the ingress segment 2001 of the secondary reverse path."; 2002 case otn { 2003 uses l1-types:otn-label-step; 2004 } 2005 } 2007 augment "/te:te/te:tunnels/te:tunnel/" 2008 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 2009 + "te:path-out-segment/te:label-restrictions/" 2010 + "te:label-restriction/te:label-start/" 2011 + "te:te-label/te:technology" { 2012 description 2013 "Augment TE label range start for the egress segment 2014 of the secondary reverse path."; 2015 case otn { 2016 uses l1-types:otn-label-start-end; 2017 } 2018 } 2020 augment "/te:te/te:tunnels/te:tunnel/" 2021 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 2022 + "te:path-out-segment/te:label-restrictions/" 2023 + "te:label-restriction/te:label-end/" 2024 + "te:te-label/te:technology" { 2025 description 2026 "Augment TE label range end for the egress segment 2027 of the secondary reverse path."; 2028 case otn { 2029 uses l1-types:otn-label-start-end; 2030 } 2031 } 2033 augment "/te:te/te:tunnels/te:tunnel/" 2034 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 2035 + "te:path-out-segment/te:label-restrictions/" 2036 + "te:label-restriction/te:label-step/te:technology" { 2037 description 2038 "Augment TE label range step for the egress segment 2039 of the secondary reverse path."; 2040 case otn { 2041 uses l1-types:otn-label-step; 2042 } 2043 } 2045 augment "/te:te/te:tunnels/te:tunnel/" 2046 + "te:secondary-reverse-paths/te:secondary-reverse-path/" 2047 + "te:computed-paths-properties/" 2048 + "te:computed-path-properties/" 2049 + "te:path-properties/te:path-route-objects/" 2050 + "te:path-route-object/te:type/te:label/" 2051 + "te:label-hop/te:te-label/te:technology" { 2052 description 2053 "Augment TE label hop for the route object of the computed 2054 secondary reverse path."; 2055 case otn { 2056 uses l1-types:otn-label-hop; 2058 } 2059 } 2061 augment "/te:te/te:lsps/" 2062 + "te:lsp/te:lsp-record-route-information/" 2063 + "te:lsp-record-route-information/te:type/te:label/" 2064 + "te:label-hop/te:te-label/te:technology" { 2065 description 2066 "Augment TE label hop for the record route of the LSP."; 2067 case otn { 2068 uses l1-types:otn-label-hop; 2069 } 2070 } 2071 } 2072 2074 5. Security Considerations 2076 The YANG module specified in this document defines a schema for data 2077 that is designed to be accessed via network management protocols such 2078 as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer 2079 is the secure transport layer, and the mandatory-to-implement secure 2080 transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer 2081 is HTTPS, and the mandatory-to-implement secure transport is TLS 2082 [RFC8446]. 2084 The NETCONF access control model [RFC8341] provides the means to 2085 restrict access for particular NETCONF or RESTCONF users to a 2086 preconfigured subset of all available NETCONF or RESTCONF protocol 2087 operations and content. 2089 There are a number of data nodes defined in this YANG module that are 2090 writable/creatable/deletable (i.e., config true, which is the 2091 default). These data nodes may be considered sensitive or vulnerable 2092 in some network environments. Write operations (e.g., edit-config) 2093 to these data nodes without proper protection can have a negative 2094 effect on network operations. Considerations in Section 10 of 2095 [I-D.ietf-teas-yang-te]are also applicable to their subtrees in the 2096 module defined in this document. 2098 Some of the readable data nodes in this YANG module may be considered 2099 sensitive or vulnerable in some network environments. It is thus 2100 important to control read access (e.g., via get, get-config, or 2101 notification) to these data nodes. Considerations in Section 10 of 2102 [I-D.ietf-teas-yang-te]are also applicable to their subtrees in the 2103 module defined in this document. 2105 6. IANA Considerations 2107 It is proposed that IANA should assign new URIs from the "IETF XML 2108 Registry" [RFC3688] as follows: 2110 URI: urn:ietf:params:xml:ns:yang:ietf-otn-tunnel 2111 Registrant Contact: The IESG 2112 XML: N/A; the requested URI is an XML namespace. 2114 This document registers following YANG modules in the YANG Module 2115 Names registry [RFC7950]. 2117 name: ietf-otn-tunnel 2118 namespace: urn:ietf:params:xml:ns:yang:ietf-otn-tunnel 2119 prefix: otn-tnl 2120 reference: RFC XXXX 2122 RFC Editor Note: Please replace XXXX with the number assigned to the 2123 RFC once this draft becomes an RFC. 2125 7. Acknowledgements 2127 TBD. 2129 8. Contributors 2131 Aihua Guo Futurewei Email: aihuaguo.ietf@gmail.com 2133 Anurag Sharma Google Email: ansha@google.com 2135 Rajan Rao Infinera Email: rrao@infinera.com 2137 Yunbo Li China Mobile Email: liyunbo@chinamobile.com 2139 Dieter Beller Nokia Email: dieter.beller@nokia.com 2141 Yanlei Zheng China Unicom Email: zhengyanlei@chinaunicom.cn 2143 Xian Zhang Huawei Technologies Email: zhang.xian@huawei.com 2145 Lei Wang China Mobile Email: wangleiyj@chinamobile.com 2147 Oscar Gonzalez de Dios Telefonica Email: 2148 oscar.gonzalezdedios@telefonica.com 2150 9. References 2152 9.1. Normative References 2154 [I-D.ietf-ccamp-layer1-types] 2155 Zheng, H. and I. Busi, "A YANG Data Model for Layer 1 2156 Types", Work in Progress, Internet-Draft, draft-ietf- 2157 ccamp-layer1-types-13, 8 April 2022, 2158 . 2161 [I-D.ietf-ccamp-otn-topo-yang] 2162 Zheng, H., Busi, I., Liu, X., Belotti, S., and O. G. D. 2163 Dios, "A YANG Data Model for Optical Transport Network 2164 Topology", Work in Progress, Internet-Draft, draft-ietf- 2165 ccamp-otn-topo-yang-14, 7 March 2022, 2166 . 2169 [I-D.ietf-teas-yang-te] 2170 Saad, T., Gandhi, R., Liu, X., Beeram, V. P., Bryskin, I., 2171 and O. G. D. Dios, "A YANG Data Model for Traffic 2172 Engineering Tunnels, Label Switched Paths and Interfaces", 2173 Work in Progress, Internet-Draft, draft-ietf-teas-yang-te- 2174 29, 7 February 2022, . 2177 [ITU-Tg709] 2178 International Telecommunication Union, "Interfaces for the 2179 optical transport network", ITU-T G.709, March 2020. 2181 [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, 2182 DOI 10.17487/RFC3688, January 2004, 2183 . 2185 [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., 2186 and A. Bierman, Ed., "Network Configuration Protocol 2187 (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, 2188 . 2190 [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure 2191 Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, 2192 . 2194 [RFC7139] Zhang, F., Ed., Zhang, G., Belotti, S., Ceccarelli, D., 2195 and K. Pithewan, "GMPLS Signaling Extensions for Control 2196 of Evolving G.709 Optical Transport Networks", RFC 7139, 2197 DOI 10.17487/RFC7139, March 2014, 2198 . 2200 [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", 2201 RFC 7950, DOI 10.17487/RFC7950, August 2016, 2202 . 2204 [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF 2205 Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, 2206 . 2208 [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration 2209 Access Control Model", STD 91, RFC 8341, 2210 DOI 10.17487/RFC8341, March 2018, 2211 . 2213 [RFC8342] Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K., 2214 and R. Wilton, "Network Management Datastore Architecture 2215 (NMDA)", RFC 8342, DOI 10.17487/RFC8342, March 2018, 2216 . 2218 [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol 2219 Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, 2220 . 2222 9.2. Informative References 2224 [I-D.ietf-ccamp-transport-nbi-app-statement] 2225 Busi, I., King, D., Zheng, H., and Y. Xu, "Transport 2226 Northbound Interface Applicability Statement", Work in 2227 Progress, Internet-Draft, draft-ietf-ccamp-transport-nbi- 2228 app-statement-14, 25 March 2022, 2229 . 2232 [I-D.ietf-teas-actn-yang] 2233 Lee, Y., Zheng, H., Ceccarelli, D., Yoon, B. Y., and S. 2234 Belotti, "Applicability of YANG models for Abstraction and 2235 Control of Traffic Engineered Networks", Work in Progress, 2236 Internet-Draft, draft-ietf-teas-actn-yang-09, 7 March 2237 2022, . 2240 [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", 2241 BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, 2242 . 2244 Authors' Addresses 2246 Haomian Zheng 2247 Huawei Technologies 2248 H1, Huawei Xiliu Beipo Village, Songshan Lake 2249 Dongguan 2250 Guangdong, 523808 2251 China 2252 Email: zhenghaomian@huawei.com 2254 Italo Busi 2255 Huawei Technologies 2256 HUAWEI TECHNOLOGIES ITALIA Srl Centro Direzionale Milano 2 2257 20090 Milan Milan 2258 Italy 2259 Email: Italo.Busi@huawei.com 2261 Sergio Belotti 2262 Nokia 2263 Email: sergio.belotti@nokia.com 2265 Victor Lopez 2266 Nokia 2267 Email: victor.lopez@nokia.com 2269 Yunbin Xu 2270 CAICT 2271 Email: xuyunbin@caict.ac.cn