1 module org-openroadm-network-types {
3 namespace "http://org/openroadm/network/types";
6 import ietf-yang-types {
8 revision-date 2013-07-15;
10 import org-openroadm-common-optical-channel-types {
11 prefix org-openroadm-common-optical-channel-types;
12 revision-date 2018-11-30;
14 import org-openroadm-port-types {
15 prefix org-openroadm-port-types;
16 revision-date 2018-11-30;
24 "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
25 All other rights reserved.
27 Redistribution and use in source and binary forms, with or without modification,
28 are permitted provided that the following conditions are met:
30 * Redistributions of source code must retain the above copyright notice, this
31 list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above copyright notice,
33 this list of conditions and the following disclaimer in the documentation and/or
34 other materials provided with the distribution.
35 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
36 contributors may be used to endorse or promote products derived from this software
37 without specific prior written permission.
39 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
40 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
41 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
42 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
43 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
45 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
46 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 POSSIBILITY OF SUCH DAMAGE.";
76 "Version 2.0.1 - added revision-date to imports";
83 typedef openroadm-node-type {
97 enum "EXT-PLUGGABLE" {
118 typedef openroadm-tp-type {
120 enum "DEGREE-TX-TTP" {
123 enum "DEGREE-RX-TTP" {
126 enum "DEGREE-TX-CTP" {
129 enum "DEGREE-RX-CTP" {
147 enum "XPONDER-NETWORK" {
150 enum "XPONDER-CLIENT" {
153 enum "EXT-PLUGGABLE-TP" {
156 enum "DEGREE-TXRX-TTP" {
162 enum "XPONDER-PORT" {
165 enum "DEGREE-TXRX-CTP" {
171 typedef openroadm-link-type {
173 enum "EXPRESS-LINK" {
182 enum "ROADM-TO-ROADM" {
185 enum "XPONDER-INPUT" {
188 enum "XPONDER-OUTPUT" {
197 typedef openroadm-node-status {
211 typedef openroadm-node-connection-status {
219 enum "UNABLE-TO-CONNECT" {
225 grouping wavelengths {
234 type org-openroadm-common-optical-channel-types:frequency-THz;
237 "Center Frequency in THz";
240 type org-openroadm-common-optical-channel-types:frequency-GHz;
243 "Frequency width in GHz.";
247 grouping xpdr-tp-supported-interfaces {
248 list supported-interface-capability {
251 "Supported interface capability on the port.";
254 base org-openroadm-port-types:supported-if-capability;
257 "Interface type/hierarchy/rate supported on this port";
262 grouping node-due-date-list {
269 type yang:date-and-time;
271 "date and time node will begin maintenance status or date when node is planned";
274 type yang:date-and-time;
276 "date and time node will end maintenance or date when node is deployed";