1 module org-openroadm-equipment-states-types {
2 namespace "http://org/openroadm/equipment/states/types";
3 prefix org-openroadm-equipment-states-types;
5 organization "Open ROADM MSA";
9 "YANG definitions for types of states of equipment (slot/subslot).
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 typedef admin-states {
58 enum "reserved-for-facility-planned" {
61 "equipment is planned for use by a service";
63 enum "not-reserved-planned" {
66 "equipment is planned by not reserved for any purpose";
68 enum "reserved-for-maintenance-planned" {
71 "equipment is planned for use as a maintenance spare";
73 enum "reserved-for-facility-unvalidated" {
76 "equipment is reserved for use by a service but not
77 validated against planned equipment";
79 enum "not-reserved-unvalidated" {
82 "equipment is not reserved for any purpose and
83 not validated against planned equipment";
85 enum "unknown-unvalidated" {
88 "unknown equipment not validated against planned equipment";
90 enum "reserved-for-maintenance-unvalidated" {
93 "equipment is to be used for use as a maintenance spare
94 but not validated against planned equipment";
96 enum "reserved-for-facility-available" {
99 "reserved for use by a service and available";
101 enum "not-reserved-available" {
104 "not reserved for use by a service and available";
106 enum "reserved-for-maintenance-available" {
109 "reserved as a maintenance spare and available";
111 enum "reserved-for-reversion-inuse" {
114 "equipiment that is reserved as part of a home path
115 for a service that has been temporarily re-routed";
117 enum "not-reserved-inuse" {
120 "equipment in use for a service";
122 enum "reserved-for-maintenance-inuse" {
125 "maintenance spare equipment that is in use as a