idnits 2.17.1 draft-ietf-ccamp-wson-yang-02.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 33 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 107 has weird spacing: '...pool-id uin...' == Line 117 has weird spacing: '... module ietf...' -- The document date (July 8, 2016) is 2847 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 8, 2017 July 8, 2016 16 A Yang Data Model for WSON Optical Networks 18 draft-ietf-ccamp-wson-yang-02.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 October 8, 2016. 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-attributes/tet:connectivity-matrix: 97 +--rw wson-matrix 98 +--rw device-type? devicetype 99 +--rw dir? directionality 100 +--rw matrix-interface* [in-port-id] 101 +--rw in-port-id wson-interface-ref 102 +--rw out-port-id? wson-interface-ref 103 augment /nd:networks/nd:network/lnk:link/tet:te/tet:config: 104 +--rw wavelength-available-bitmap* boolean 105 augment /nd:networks/nd:network/nd:node/tet:te/tet:config: 106 +--rw resource-pool* [resource-pool-id] 107 +--rw resource-pool-id uint32 108 +--rw pool-state? boolean 109 +--rw matrix-interface* [in-port-id] 110 +--rw in-port-id wson-interface-ref 111 +--rw out-port-id? wson-interface-ref 113 3. WSON-RWA YANG Model 115 file "ietf-wson-topology@2016-07-08.yang" 117 module ietf-wson-topology { 118 namespace "urn:ietf:params:xml:ns:yang:ietf-wson-topology"; 120 prefix wson; 122 import ietf-network { 123 prefix "nd"; 124 } 126 import ietf-network-topology { 127 prefix "lnk"; 128 } 130 import ietf-inet-types { 131 prefix "inet"; 132 } 134 import ietf-te-topology { 135 prefix "tet"; 136 } 138 organization 139 "IETF CCAMP Working Group"; 141 contact 142 "Editor: Young Lee "; 144 description 145 "This module contains a collection of YANG definitions for 146 RWA WSON. 148 Copyright (c) 2015 IETF Trust and the persons identified as 149 authors of the code. All rights reserved. 151 Redistribution and use in source and binary forms, with or 152 without modification, is permitted pursuant to, and subject 153 to the license terms contained in, the Simplified BSD 154 License set forth in Section 4.c of the IETF Trust's Legal 155 Provisions Relating to IETF Documents 156 (http://trustee.ietf.org/license-info)."; 158 revision 2015-10-14 { 159 description 160 "version 2."; 162 reference 163 "RFC XXX: A Yang Data Model for WSON Optical Networks "; 164 } 166 typedef wson-topology-id { 167 type inet:uri; 168 description 169 "The WSON Topology ID"; 170 } 172 typedef wson-node-id { 173 type inet:ip-address; 174 description 175 "The WSON Node ID"; 176 } 178 typedef devicetype { 179 type enumeration { 180 enum adm { 181 value 1; 182 description 183 "Device is ADM"; 184 } 186 enum roadm { 187 value 2; 188 description 189 "Device is ROAMD/OXC"; 190 } 192 } 193 description 194 "device type: fixed (ADM) or switched (ROADM/OXC)"; 195 } 197 typedef directionality { 198 type enumeration { 199 enum bidir { 200 value 0; 201 description 202 "bi-directional"; 203 } 204 enum input { 205 value 1; 206 description 207 "input direction"; 208 } 209 enum output { 210 value 2; 211 description 212 "output direction"; 213 } 214 } 215 description 216 "The directionality of link set"; 217 } 219 typedef wson-interface-ref { 220 type leafref { 221 path "/nd:networks/nd:network/lnk:link/lnk:link-id"; 222 } 223 description 224 "This type is used by data models that need to 225 reference WSON interface."; 226 } 228 grouping wson-topology-type { 229 description 230 "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/tet:te- 240 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"; 348 } 350 leaf out-port-id { 351 type wson-interface-ref; 352 description 353 "The reference to out-interface"; 354 } 355 } 356 } 357 } 358 } 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