1 module org-openroadm-network-types {
2 namespace "http://org/openroadm/network/types";
5 import ietf-yang-types {
7 revision-date 2013-07-15;
9 import org-openroadm-common-types {
10 prefix org-openroadm-common-types;
11 revision-date 2017-12-15;
13 import org-openroadm-port-types {
14 prefix org-openroadm-port-types;
15 revision-date 2017-12-15;
23 "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
24 AT&T Intellectual Property. All other rights reserved.
26 Redistribution and use in source and binary forms, with or without modification,
27 are permitted provided that the following conditions are met:
29 * Redistributions of source code must retain the above copyright notice, this
30 list of conditions and the following disclaimer.
31 * Redistributions in binary form must reproduce the above copyright notice,
32 this list of conditions and the following disclaimer in the documentation and/or
33 other materials provided with the distribution.
34 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
35 contributors may be used to endorse or promote products derived from this software
36 without specific prior written permission.
38 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
39 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
40 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
41 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
42 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
43 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
44 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
45 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
47 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 grouping wavelengths {
203 type org-openroadm-common-types:frequency-THz;
206 "Center Frequency in THz";
209 type org-openroadm-common-types:frequency-GHz;
212 "Frequency width in GHz.";
216 grouping xpdr-tp-supported-interfaces {
217 list supported-interface-capability {
220 "Supported interface capability on the port.";
223 base org-openroadm-port-types:supported-if-capability;
226 "Interface type/hierarchy/rate supported on this port";
231 grouping node-due-date-list {
238 type yang:date-and-time;
240 "date and time node will begin maintenance status or date when node is planned";
243 type yang:date-and-time;
245 "date and time node will end maintenance or date when node is deployed";