1 module org-openroadm-equipment-states-types {
2 namespace "http://org/openroadm/equipment/states/types";
3 prefix org-openroadm-equipment-states-types;
10 "YANG definitions for types of states of equipment (slot/subslot).
12 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
13 All other rights reserved.
15 Redistribution and use in source and binary forms, with or without modification,
16 are permitted provided that the following conditions are met:
18 * Redistributions of source code must retain the above copyright notice, this
19 list of conditions and the following disclaimer.
20 * Redistributions in binary form must reproduce the above copyright notice,
21 this list of conditions and the following disclaimer in the documentation and/or
22 other materials provided with the distribution.
23 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
24 contributors may be used to endorse or promote products derived from this software
25 without specific prior written permission.
27 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
28 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
31 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
32 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
33 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
34 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 POSSIBILITY OF SUCH DAMAGE.";
55 typedef admin-states {
71 enum "reserved-for-facility-planned" {
74 "equipment is planned for use by a service";
76 enum "not-reserved-planned" {
79 "equipment is planned by not reserved for any purpose";
81 enum "reserved-for-maintenance-planned" {
84 "equipment is planned for use as a maintenance spare";
86 enum "reserved-for-facility-unvalidated" {
89 "equipment is reserved for use by a service but not
90 validated against planned equipment";
92 enum "not-reserved-unvalidated" {
95 "equipment is not reserved for any purpose and
96 not validated against planned equipment";
98 enum "unknown-unvalidated" {
101 "unknown equipment not validated against planned equipment";
103 enum "reserved-for-maintenance-unvalidated" {
106 "equipment is to be used for use as a maintenance spare
107 but not validated against planned equipment";
109 enum "reserved-for-facility-available" {
112 "reserved for use by a service and available";
114 enum "not-reserved-available" {
117 "not reserved for use by a service and available";
119 enum "reserved-for-maintenance-available" {
122 "reserved as a maintenance spare and available";
124 enum "reserved-for-reversion-inuse" {
127 "equipment that is reserved as part of a home path
128 for a service that has been temporarily re-routed";
130 enum "not-reserved-inuse" {
133 "equipment in use for a service";
135 enum "reserved-for-maintenance-inuse" {
138 "maintenance spare equipment that is in use as a