idnits 2.17.1 draft-ietf-ccamp-wson-yang-03.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 : ---------------------------------------------------------------------------- ** There is 1 instance of too long lines in the document, the longest one being 6 characters in excess of 72. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == Line 108 has weird spacing: '...pool-id uin...' == Line 118 has weird spacing: '... module ietf...' -- The document date (July 20, 2016) is 2837 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: 'H1-2A-245' is mentioned on line 411, but not defined ** Downref: Normative reference to an Informational RFC: RFC 7446 Summary: 2 errors (**), 0 flaws (~~), 4 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 1 CCAMP Working Group Y. Lee (Editor) 2 D. Dhody 3 X. Zhang 4 Internet Draft Huawei 5 Intended status: Standard Track A. Guo 6 Huawei 7 V. Lopez 8 Telefonica 9 D. King 10 U. of Lancaster 11 B. Yoon 12 ETRI 14 Expires: January 20, 2017 July 20, 2016 16 A Yang Data Model for WSON Optical Networks 18 draft-ietf-ccamp-wson-yang-03.txt 20 Abstract 22 This document provides a YANG data model for the routing and 23 wavelength assignment (RWA) TE topology in wavelength switched 24 optical networks (WSONs). 26 Status of this Memo 28 This Internet-Draft is submitted to IETF in full conformance with 29 the provisions of BCP 78 and BCP 79. 31 Internet-Drafts are working documents of the Internet Engineering 32 Task Force (IETF), its areas, and its working groups. Note that 33 other groups may also distribute working documents as Internet- 34 Drafts. 36 Internet-Drafts are draft documents valid for a maximum of six 37 months and may be updated, replaced, or obsoleted by other documents 38 at any time. It is inappropriate to use Internet-Drafts as 39 reference material or to cite them other than as "work in progress." 41 The list of current Internet-Drafts can be accessed at 42 http://www.ietf.org/ietf/1id-abstracts.txt 44 The list of Internet-Draft Shadow Directories can be accessed at 45 http://www.ietf.org/shadow.html 47 This Internet-Draft will expire on January 20, 2017. 49 Copyright Notice 50 Copyright (c) 2016 IETF Trust and the persons identified as the 51 document authors. All rights reserved. 53 This document is subject to BCP 78 and the IETF Trust's Legal 54 Provisions Relating to IETF Documents 55 (http://trustee.ietf.org/license-info) in effect on the date of 56 publication of this document. Please review these documents 57 carefully, as they describe your rights and restrictions with 58 respect to this document. Code Components extracted from this 59 document must include Simplified BSD License text as described in 60 Section 4.e of the Trust Legal Provisions and are provided without 61 warranty as described in the Simplified BSD License. 63 Table of Contents 65 1. Introduction...................................................2 66 2. YANG Model (Tree Structure)....................................3 67 3. WSON-RWA YANG Model............................................4 68 4. Security Considerations.......................................10 69 5. IANA Considerations...........................................10 70 6. Acknowledgments...............................................10 71 7. References....................................................11 72 7.1. Normative References.....................................11 73 7.2. Informative References...................................11 74 8. Contributors..................................................11 75 Authors' Addresses...............................................11 77 1. Introduction 79 This document provides a YANG data model for the routing and 80 wavelength assignment (RWA) Traffic Engineering (TE) topology in 81 wavelength switched optical networks (WSONs). The YANG model 82 described in this document is a WSON technology-specific Yang model 83 based on the information model developed in [RFC7446] and the two 84 encoding documents [RFC7581] and [RFC7579] that developed protocol 85 independent encodings based on [RFC7446]. This document augments the 86 generic TE topology draft [TE-TOPO]. 88 What is not in scope of this document is both impairment-aware WSON 89 and flex-grid. 91 2. YANG Model (Tree Structure) 93 module: ietf-wson-topology 94 augment /nd:networks/nd:network/nd:network-types/tet:te-topology: 95 +--rw wson-topology! 96 augment /nd:networks/nd:network/nd:node/tet:te/tet:config/tet:te-node-attribut 97 es/tet:connectivity-matrix: 98 +--rw wson-matrix 99 +--rw device-type? devicetype 100 +--rw dir? directionality 101 +--rw matrix-interface* [in-port-id] 102 +--rw in-port-id wson-interface-ref 103 +--rw out-port-id? wson-interface-ref 104 augment /nd:networks/nd:network/lnk:link/tet:te/tet:config: 105 +--rw wavelength-available-bitmap* boolean 106 augment /nd:networks/nd:network/nd:node/tet:te/tet:config: 107 +--rw resource-pool* [resource-pool-id] 108 +--rw resource-pool-id uint32 109 +--rw pool-state? boolean 110 +--rw matrix-interface* [in-port-id] 111 +--rw in-port-id wson-interface-ref 112 +--rw out-port-id? wson-interface-ref 114 3. WSON-RWA YANG Model 116 file "ietf-wson-topology@2016-07-09.yang" 118 module ietf-wson-topology { 119 namespace "urn:ietf:params:xml:ns:yang:ietf-wson-topology"; 121 prefix wson; 123 import ietf-network { 124 prefix "nd"; 125 } 127 import ietf-network-topology { 128 prefix "lnk"; 129 } 131 import ietf-inet-types { 132 prefix "inet"; 133 } 135 import ietf-te-topology { 136 prefix "tet"; 137 } 139 organization 140 "IETF CCAMP Working Group"; 142 contact 143 "Editor: Young Lee "; 145 description 146 "This module contains a collection of YANG definitions for 147 RWA WSON. 149 Copyright (c) 2016 IETF Trust and the persons identified as 150 authors of the code. All rights reserved. 152 Redistribution and use in source and binary forms, with or 153 without modification, is permitted pursuant to, and subject 154 to the license terms contained in, the Simplified BSD 155 License set forth in Section 4.c of the IETF Trust's Legal 156 Provisions Relating to IETF Documents 157 (http://trustee.ietf.org/license-info)."; 159 revision 2016-07-09 { 160 description 161 "Version 3"; 163 reference 164 "RFC XXX: A Yang Data Model for WSON Optical Networks "; 165 } 167 typedef wson-topology-id { 168 type inet:uri; 169 description 170 "The WSON Topology ID"; 171 } 173 typedef wson-node-id { 174 type inet:ip-address; 175 description 176 "The WSON Node ID"; 177 } 179 typedef devicetype { 180 type enumeration { 181 enum adm { 182 value 1; 183 description 184 "Device is ADM"; 186 } 188 enum roadm { 189 value 2; 190 description 191 "Device is ROAMD/OXC"; 192 } 193 } 194 description 195 "device type: fixed (ADM) or switched (ROADM/OXC)"; 196 } 198 typedef directionality { 199 type enumeration { 200 enum bidir { 201 value 0; 202 description 203 "bi-directional"; 204 } 205 enum input { 206 value 1; 207 description 208 "input direction"; 209 } 210 enum output { 211 value 2; 212 description 213 "output direction"; 214 } 215 } 216 description 217 "The directionality of link set"; 218 } 220 typedef wson-interface-ref { 221 type leafref { 222 path "/nd:networks/nd:network/lnk:link/lnk:link-id"; 223 } 224 description 225 "This type is used by data models that need to 226 reference WSON interface."; 227 } 229 grouping wson-topology-type { 230 description 231 "Identifies the wson topology type."; 232 container wson-topology { 233 presence "Indicates WSON topology."; 234 description 235 "Its presence identifies the WSON topology type."; 236 } 237 } // wson-topology-type 239 augment "/nd:networks/nd:network/nd:network-types" 240 + "/tet:te-topology" { 242 description "Augment network-types to include WSON topology"; 243 uses wson-topology-type { 244 description 245 "An empty WSON container to identify 246 the topology type."; 247 } 248 } 250 augment "/nd:networks/nd:network/nd:node/tet:te/tet:config" 251 +"/tet:te-node-attributes" 252 +"/tet:connectivity-matrix" { 253 when "nd:network-types/tet:te-topology/wson-topology" { 254 description 255 "This augment is only valid for WSON."; 256 } 257 description "WSON Connectivity Matrix augmentation."; 258 container wson-matrix{ 259 description "WSON specific Matrix."; 260 leaf device-type { 261 type devicetype; 262 description 263 "device type: fixed (ADM) or switched 264 (ROADM/OXC)"; 265 } 266 leaf dir { 267 type directionality; 268 description 269 "bi-directionality or input or output 270 of link set"; 271 } 272 list matrix-interface { 273 key "in-port-id"; 275 description 276 "matrix-interface describes input-ports 277 and out-ports around a connectivity 278 matrix"; 280 leaf in-port-id { 281 type wson-interface-ref; 282 description 283 "The reference to in-port"; 284 } 286 leaf out-port-id { 287 type wson-interface-ref; 288 description 289 "The reference to out-port"; 290 } 291 } 292 } 293 } 295 augment "/nd:networks/nd:network/lnk:link/tet:te/tet:config" { 297 when "nd:network-types/tet:te-topology/wson-topology" { 299 description 300 "This augment is only valid for WSON."; 301 } 302 description "WSON Link augmentation."; 304 leaf-list wavelength-available-bitmap { 305 type boolean; 306 description 307 "array of bits (i.e., bitmap) that indicates 308 if a wavelength is available or not on each 309 channel."; 310 } 311 } 312 augment "/nd:networks/nd:network/nd:node/tet:te/tet:config" { 313 when "nd:network-types/tet:te-topology/wson-topology" { 314 description 315 "This augment is only valid for WSON."; 316 } 317 description "WSON Node augmentation."; 319 list resource-pool { 320 key "resource-pool-id"; 321 description 322 "The resource pool list"; 324 leaf resource-pool-id { 325 type uint32; 326 description 327 "The resource pool ID"; 328 } 330 leaf pool-state { 331 type boolean; 332 description 333 "TRUE is state UP; FALSE is state down"; 334 } 336 list matrix-interface { 337 key "in-port-id"; 339 description 340 "pool is described as matrix-interface 341 with input-ports and output-ports 342 around the pool"; 344 leaf in-port-id { 345 type wson-interface-ref; 346 description 347 "The reference to in-interface"; 349 } 351 leaf out-port-id { 352 type wson-interface-ref; 353 description 354 "The reference to out-interface"; 355 } 356 } 357 } 358 } 359 } 360 362 4. Security Considerations 364 TDB 366 5. IANA Considerations 368 TDB 370 6. Acknowledgments 372 This document was prepared using 2-Word-v2.0.template.dot. 374 7. References 376 7.1. Normative References 378 [RFC7446] Y. Lee, G. Bernstein, D. Li, W. Imajuku, "Routing and 379 Wavelength Assignment Information Model for Wavelength 380 Switched Optical Networks", RFC 7446, Feburary 2015. 382 [RFC7579] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "General 383 Network Element Constraint Encoding for GMPLS Controlled 384 Networks", RFC 7579, June 2015. 386 [RFC7581] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "Routing and 387 Wavelength Assignment Information Encoding for Wavelength 388 Switched Optical Networks", RFC 7581, June 2015. 390 [TE-TOPO] X. Liu, et al., "YANG Data Model for TE Topologies", work 391 in progress: draft-ietf-teas-yang-te-topo. 393 7.2. Informative References 395 8. Contributors 397 Authors' Addresses 399 Young Lee (ed.) 400 Huawei Technologies 401 5340 Legacy Drive, Building 3 402 Plano, TX 75023 403 USA 405 Phone: (469) 277-5838 406 Email: leeyoung@huawei.com 408 Dhruv Dhody 409 Huawei Technologies India Pvt. Ltd, 410 Near EPIP Industrial Area, Kundalahalli Village, Whitefield, 411 Bangalore - 560 037 [H1-2A-245] 412 Email: dhruv.dhody@huawei.com 414 Xian Zhang 415 Huawei Technologies 417 Email: zhang.xian@huawei.com 419 Aihua Guo 420 Huawei Technologies 421 Email: aihuaguo@huawei.com 423 Victor Lopez 424 Telefonica 425 Email: victor.lopezalvarez@telefonica.com 427 Daniel King 428 University of Lancaster 429 Email: d.king@lancaster.ac.uk 431 Bin Yeong Yoon 432 ETRI 433 218 Gaijeongro, Yuseong-gu 434 Daejeon, Korea 435 Email: byyun@etri.re.kr