1 module org-openroadm-common-types {
2 namespace "http://org/openroadm/common-types";
3 prefix org-openroadm-common-types;
5 organization "Open ROADM MSA";
9 "YANG definitions of common types.
11 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
12 AT&T Intellectual Property. All other rights reserved.
14 Redistribution and use in source and binary forms, with or without modification,
15 are permitted provided that the following conditions are met:
17 * Redistributions of source code must retain the above copyright notice, this
18 list of conditions and the following disclaimer.
19 * Redistributions in binary form must reproduce the above copyright notice,
20 this list of conditions and the following disclaimer in the documentation and/or
21 other materials provided with the distribution.
22 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
23 contributors may be used to endorse or promote products derived from this software
24 without specific prior written permission.
26 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
27 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
30 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
31 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
32 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 POSSIBILITY OF SUCH DAMAGE";
42 grouping physical-location {
71 "3 digit identifier for node type
73 2. xpdr for Transponder, Regen";
78 "Power value in dBm.";
96 "Severity, based on X.733 perceived severity";
113 enum "indeterminate" {
132 grouping rpc-response-status {
137 "Successful or Failed";
139 leaf status-message {
142 "Gives a more detailed reason for failure";
146 typedef lifecycle-state {
170 "State that indicates whether the resource is able to provide fullfill its role - carry traffic, etc.";
175 enum "outOfService" {
184 typedef optic-types {
194 grouping equipment-type {
196 type equipment-type-enum;
202 "Populated with equipment type when enum value is set to vendorExtension";
209 typedef equipment-type-enum {
217 enum "shelfProcessor" {
220 enum "crossConnect" {
235 typedef optical-control-mode {
237 "Optical Control Mode: identifies specific algorithm related to power management and general optical control.";
249 reference "openroadm.org: Open ROADM MSA Specification.";
260 enum "bidirectional" {
266 typedef pm-direction {
274 enum "bidirectional" {
277 enum "notApplicable" {