idnits 2.17.1 draft-ietf-ccamp-wson-yang-01.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 110 has weird spacing: '...pool-id uin...' == Line 120 has weird spacing: '... module ietf...' -- The document date (April 5, 2016) is 2936 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 399, but not defined ** Downref: Normative reference to an Informational RFC: RFC 7446 Summary: 1 error (**), 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: October 5, 2016 April 5, 2016 16 A Yang Data Model for WSON Optical Networks 18 draft-ietf-ccamp-wson-yang-01.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 5, 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........................................9 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 /tet:te-topologies/tet:topology/tet:topology-types/tet:te- 95 topology: 96 +--rw wson-topology 97 augment /tet:te-topologies/tet:topology/tet:node/tet:te-node- 98 attributes/tet:connectivity-matrix: 99 +--rw wson-matrix 100 +--rw device-type? devicetype 101 +--rw dir? directionality 102 +--rw matrix-interface* [in-port-id] 103 +--rw in-port-id wson-interface-ref 104 +--rw out-port-id? wson-interface-ref 105 augment /tet:te-topologies/tet:topology/tet:node/tet:te-node- 106 attributes/tet:te-link: 107 +--rw wavelength-available-bitmap* boolean 108 augment /tet:te-topologies/tet:topology/tet:node: 109 +--rw resource-pool* [resource-pool-id] 110 +--rw resource-pool-id uint32 111 +--rw pool-state? boolean 112 +--rw matrix-interface* [in-port-id] 113 +--rw in-port-id wson-interface-ref 114 +--rw out-port-id? wson-interface-ref 116 3. WSON-RWA YANG Model 118 file "ietf-wson-topology@2015-10-14.yang" 120 module ietf-wson-topology { 121 namespace "urn:ietf:params:xml:ns:yang:ietf-wson-topology"; 123 prefix wson; 125 import ietf-inet-types { 126 prefix inet; 127 } 129 import ietf-te-topology { 130 prefix "tet"; 131 } 133 organization 134 "IETF CCAMP Working Group"; 136 contact 137 "Editor: Young Lee "; 139 description 140 "This module contains a collection of YANG definitions for 141 RWA WSON. 143 Copyright (c) 2015 IETF Trust and the persons identified as 144 authors of the code. All rights reserved. 146 Redistribution and use in source and binary forms, with or 147 without modification, is permitted pursuant to, and subject 148 to the license terms contained in, the Simplified BSD 149 License set forth in Section 4.c of the IETF Trust's Legal 150 Provisions Relating to IETF Documents 151 (http://trustee.ietf.org/license-info)."; 153 revision 2015-10-14 { 154 description 155 "version 2."; 157 reference 158 "RFC XXX: A Yang Data Model for WSON Optical Networks "; 159 } 161 typedef wson-topology-id { 162 type inet:uri; 163 description 164 "The WSON Topology ID"; 165 } 167 typedef wson-node-id { 168 type inet:ip-address; 169 description 170 "The WSON Node ID"; 171 } 173 typedef devicetype { 174 type enumeration { 175 enum adm { 176 value 1; 177 description 178 "Device is ADM"; 179 } 181 enum roadm { 182 value 2; 183 description 184 "Device is ROAMD/OXC"; 185 } 186 } 187 description 188 "device type: fixed (ADM) or switched (ROADM/OXC)"; 189 } 191 typedef directionality { 192 type enumeration { 193 enum bidir { 194 value 0; 195 description 196 "bi-directional"; 197 } 198 enum input { 199 value 1; 200 description 201 "input direction"; 202 } 203 enum output { 204 value 2; 205 description 206 "output direction"; 207 } 208 } 209 description 210 "The directionality of link set"; 211 } 213 typedef wson-interface-ref { 214 type leafref { 215 path "/tet:te-topologies/tet:topology/tet:node" 216 + "/tet:te-node-attributes/tet:te-link" 217 + "/tet:te-link-id"; 218 } 219 description 220 "This type is used by data models that need to 221 reference WSON interface."; 222 } 224 augment "/tet:te-topologies/tet:topology/tet:topology-types" 225 + "/tet:te-topology" { 226 description "WSON augmentation."; 227 container wson-topology{ 228 description 229 "An empty WSON container to identify 230 the topology type."; 231 } 232 } 233 augment "/tet:te-topologies/tet:topology/tet:node" 234 +"/tet:te-node-attributes" 235 +"/tet:connectivity-matrix" { 236 when "/tet:te-topologies/tet:topology/tet:topology-types" 237 +"/tet:te-topology/wson-topology" { 238 description 239 "This augment is only valid for WSON."; 240 } 241 description "WSON Connectivity Matrix augmentation."; 242 container wson-matrix{ 243 description "WSON specific Matrix."; 244 leaf device-type { 245 type devicetype; 246 description 247 "device type: fixed (ADM) or switched 248 (ROADM/OXC)"; 249 } 250 leaf dir { 251 type directionality; 252 description 253 "bi-directionality or input or output 254 of link set"; 255 } 257 list matrix-interface { 258 key "in-port-id"; 260 description 261 "matrix-interface describes input-ports 262 and out-ports around a connectivity 263 matrix"; 265 leaf in-port-id { 266 type wson-interface-ref; 267 description 268 "The reference to in-port"; 269 } 271 leaf out-port-id { 272 type wson-interface-ref; 273 description 274 "The reference to out-port"; 275 } 276 } 277 } 278 } 280 augment "/tet:te-topologies/tet:topology/tet:node" 281 + "/tet:te-node-attributes/tet:te-link" { 283 when "/tet:te-topologies/tet:topology/tet:topology-types" 284 +"/tet:te-topology/wson-topology" { 285 description 286 "This augment is only valid for WSON."; 287 } 288 description "WSON Link augmentation."; 290 leaf-list wavelength-available-bitmap { 291 type boolean; 292 description 293 "array of bits (i.e., bitmap) that indicates 294 if a wavelength is available or not on each 295 channel."; 296 } 297 } 299 augment "/tet:te-topologies/tet:topology/tet:node" { 300 when "/tet:te-topologies/tet:topology/tet:topology-types" 301 +"/tet:te-topology/wson-topology" { 302 description 303 "This augment is only valid for WSON."; 304 } 305 description "WSON Node augmentation."; 307 list resource-pool { 308 key "resource-pool-id"; 309 description 310 "The resource pool list"; 312 leaf resource-pool-id { 313 type uint32; 314 description 315 "The resource pool ID"; 316 } 318 leaf pool-state { 319 type boolean; 320 description 321 "TRUE is state UP; FALSE is state down"; 322 } 324 list matrix-interface { 325 key "in-port-id"; 327 description 328 "pool is described as matrix-interface 329 with input-ports and output-ports 330 around the pool"; 332 leaf in-port-id { 333 type wson-interface-ref; 334 description 335 "The reference to in-interface"; 336 } 338 leaf out-port-id { 339 type wson-interface-ref; 340 description 341 "The reference to out-interface"; 342 } 343 } 344 } 345 } 346 } 348 350 4. Security Considerations 352 TDB 354 5. IANA Considerations 356 TDB 358 6. Acknowledgments 360 This document was prepared using 2-Word-v2.0.template.dot. 362 7. References 364 7.1. Normative References 366 [RFC7446] Y. Lee, G. Bernstein, D. Li, W. Imajuku, "Routing and 367 Wavelength Assignment Information Model for Wavelength 368 Switched Optical Networks", RFC 7446, Feburary 2015. 370 [RFC7579] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "General 371 Network Element Constraint Encoding for GMPLS Controlled 372 Networks", RFC 7579, June 2015. 374 [RFC7581] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "Routing and 375 Wavelength Assignment Information Encoding for Wavelength 376 Switched Optical Networks", RFC 7581, June 2015. 378 [TE-TOPO] X. Liu, et al., "YANG Data Model for TE Topologies", work 379 in progress: draft-ietf-teas-yang-te-topo. 381 7.2. Informative References 383 8. Contributors 385 Authors' Addresses 387 Young Lee (ed.) 388 Huawei Technologies 389 5340 Legacy Drive, Building 3 390 Plano, TX 75023 391 USA 393 Phone: (469) 277-5838 394 Email: leeyoung@huawei.com 396 Dhruv Dhody 397 Huawei Technologies India Pvt. Ltd, 398 Near EPIP Industrial Area, Kundalahalli Village, Whitefield, 399 Bangalore - 560 037 [H1-2A-245] 400 Email: dhruv.dhody@huawei.com 402 Xian Zhang 403 Huawei Technologies 405 Email: zhang.xian@huawei.com 407 Aihua Guo 408 Huawei Technologies 409 Email: aihuaguo@huawei.com 411 Victor Lopez 412 Telefonica 413 Email: victor.lopezalvarez@telefonica.com 415 Daniel King 416 University of Lancaster 417 Email: d.king@lancaster.ac.uk 419 Bin Yeong Yoon 420 ETRI 421 218 Gaijeongro, Yuseong-gu 422 Daejeon, Korea 423 Email: byyun@etri.re.kr