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;
10 revision-date 2016-10-14;
12 import org-openroadm-layerRate {
13 prefix org-openroadm-layerRate;
14 revision-date 2016-10-14;
16 import org-openroadm-pm-types {
17 prefix org-openroadm-pm-types;
18 revision-date 2016-10-14;
21 organization "Open ROADM MSA";
25 "YANG definitions of performance management.
27 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
28 AT&T Intellectual Property. All other rights reserved.
30 Redistribution and use in source and binary forms, with or without modification,
31 are permitted provided that the following conditions are met:
33 * Redistributions of source code must retain the above copyright notice, this
34 list of conditions and the following disclaimer.
35 * Redistributions in binary form must reproduce the above copyright notice,
36 this list of conditions and the following disclaimer in the documentation and/or
37 other materials provided with the distribution.
38 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
39 contributors may be used to endorse or promote products derived from this software
40 without specific prior written permission.
42 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
43 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
44 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
45 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
46 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
47 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
48 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
49 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
50 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
51 POSSIBILITY OF SUCH DAMAGE";
60 "PM Data with current values - both realtime (granularity=notApplicable) and binned (granularity=15 minute, 24h))";
67 uses org-openroadm-resource:resource;
70 uses org-openroadm-layerRate:layer-rate;
73 container measurement {
74 uses org-openroadm-pm-types:pm-measurement;
78 type yang:date-and-time;
83 type org-openroadm-pm-types:pm-granularity;
87 container currentPmlist {
89 "List of current PMs.";
97 grouping historical-pm {
99 "PM Data with historical values - binned (granularity=15 minute, 24h))";
106 uses org-openroadm-resource:resource;
108 container layerRate {
109 uses org-openroadm-layerRate:layer-rate;
116 type org-openroadm-pm-types:pm-granularity;
122 "PM Data with historical values";
131 container measurement {
132 uses org-openroadm-pm-types:pm-measurement;
135 leaf completionTime {
136 type yang:date-and-time;
142 container historicalPmlist {
144 "List of historical PM";
152 description "Command to initialize PM data";
154 uses org-openroadm-resource:resource;
168 type org-openroadm-pm-types:pm-granularity;
183 "Successful or Failed";
185 leaf status-message {
188 "Gives a more detailed reason for success / failure";