1 module org-openroadm-network-types {
2 namespace "http://org/openroadm/network/types";
5 import ietf-network-topology {
7 revision-date 2015-06-08;
9 import ietf-yang-types {
11 revision-date 2013-07-15;
13 import org-openroadm-common-types {
14 prefix org-openroadm-common-types;
15 revision-date 2017-09-29;
17 import org-openroadm-port-types {
18 prefix org-openroadm-port-types;
19 revision-date 2017-09-29;
27 "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
28 AT&T Intellectual Property. All other rights reserved.
30 Redistribution and use in source and binary forms, with or without modification,
31 are permitted provided that the following conditions are met:
33 * Redistributions of source code must retain the above copyright notice, this
34 list of conditions and the following disclaimer.
35 * Redistributions in binary form must reproduce the above copyright notice,
36 this list of conditions and the following disclaimer in the documentation and/or
37 other materials provided with the distribution.
38 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
39 contributors may be used to endorse or promote products derived from this software
40 without specific prior written permission.
42 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
43 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
44 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
45 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
46 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
47 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
48 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
49 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
50 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
51 POSSIBILITY OF SUCH DAMAGE.";
59 "Version 2.0.1 - added revision-date to imports";
66 typedef openroadm-node-type {
80 enum "EXT-PLUGGABLE" {
101 typedef openroadm-tp-type {
103 enum "DEGREE-TX-TTP" {
106 enum "DEGREE-RX-TTP" {
109 enum "DEGREE-TX-CTP" {
112 enum "DEGREE-RX-CTP" {
130 enum "XPONDER-NETWORK" {
133 enum "XPONDER-CLIENT" {
136 enum "EXT-PLUGGABLE-TP" {
139 enum "DEGREE-TXRX-TTP" {
145 enum "XPONDER-PORT" {
148 enum "DEGREE-TXRX-CTP" {
154 typedef openroadm-link-type {
156 enum "EXPRESS-LINK" {
165 enum "ROADM-TO-ROADM" {
168 enum "XPONDER-INPUT" {
171 enum "XPONDER-OUTPUT" {
180 typedef openroadm-node-status {
194 typedef openroadm-node-mount-status {
205 grouping wavelengths {
214 type org-openroadm-common-types:frequency-THz;
216 "Center Frequency in THz";
220 type org-openroadm-common-types:frequency-GHz;
222 "Frequency width in GHz.";
227 grouping xpdr-tp-supported-interfaces {
228 list supported-interface-capability {
231 "Supported interface capability on the port.";
234 "Interface type/hierarchy/rate supported on this port";
236 base org-openroadm-port-types:supported-if-capability;
242 grouping xpdr-tp-bandwidth-sharing {
243 list tp-bandwidth-sharing {
251 leaf shared-bandwidth {
258 grouping xpdr-odu-switching-pools {
259 list odu-switching-pools {
260 key "switching-pool-number";
261 leaf switching-pool-number {
263 "Unique identifier for this odu-switching-pool";
266 leaf switching-pool-type {
268 enum "non-blocking" {
271 "Single non-blocking element";
276 "Multiple connected non-blocking lists";
280 list non-blocking-list {
282 "List of ports in a non-blocking switch element";
286 "Identifier for this non-blocking-list. Unique within odu-switching-pool";
289 leaf interconnect-bandwidth-unit {
291 "Switch fabric interconnect bandwidth unit rate in bits per second.
292 Represents granularity of switch fabric";
295 leaf capable-interconnect-bandwidth {
297 "Total interconnect bandwidth for a non-blocking element expressed as
298 number of inter-connect-bandwidth units";
301 leaf available-interconnect-bandwidth {
303 "Total interconnect bandwidth available for a non-blocking element can use as
304 number of inter-connect-bandwidth units";
309 "Termination point. Unique within device";
316 grouping node-due-date-list {
323 type yang:date-and-time;
325 "date and time node will begin maintenance status or date when node is planned";
328 type yang:date-and-time;
330 "date and time node will end maintenance or date when node is deployed";