1 module org-openroadm-pm {
2 namespace "http://org/openroadm/pm";
3 prefix org-openroadm-pm;
5 import ietf-yang-types {
8 import org-openroadm-resource {
9 prefix org-openroadm-resource;
11 import org-openroadm-layerRate {
12 prefix org-openroadm-layerRate;
14 import org-openroadm-pm-types {
15 prefix org-openroadm-pm-types;
18 organization "Open ROADM MSA";
22 "YANG definitions of performance management.
24 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
25 AT&T Intellectual Property. 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";
57 "PM Data with current values - both realtime (granularity=notApplicable) and binned (granularity=15 minute, 24h))";
64 uses org-openroadm-resource:resource;
67 uses org-openroadm-layerRate:layer-rate;
70 container measurement {
71 uses org-openroadm-pm-types:pm-measurement;
75 type yang:date-and-time;
80 type org-openroadm-pm-types:pm-granularity;
84 container currentPmlist {
86 "List of current PMs.";
94 grouping historical-pm {
96 "PM Data with historical values - binned (granularity=15 minute, 24h))";
103 uses org-openroadm-resource:resource;
105 container layerRate {
106 uses org-openroadm-layerRate:layer-rate;
113 type org-openroadm-pm-types:pm-granularity;
119 "PM Data with historical values";
128 container measurement {
129 uses org-openroadm-pm-types:pm-measurement;
132 leaf completionTime {
133 type yang:date-and-time;
139 container historicalPmlist {
141 "List of historical PM";
149 description "Command to initialize PM data";
151 uses org-openroadm-resource:resource;
165 type org-openroadm-pm-types:pm-granularity;
180 "Successful or Failed";
182 leaf status-message {
185 "Gives a more detailed reason for success / failure";