1 module org-openroadm-tca {
2 namespace "http://org/openroadm/tca";
3 prefix org-openroadm-tca;
5 import ietf-yang-types {
7 revision-date 2013-07-15;
9 import org-openroadm-common-types {
10 prefix org-openroadm-common-types;
11 revision-date 2018-10-19;
13 import org-openroadm-pm-types {
14 prefix org-openroadm-pm-types;
15 revision-date 2017-12-15;
17 import org-openroadm-resource {
18 prefix org-openroadm-resource;
19 revision-date 2018-10-19;
27 "YANG definitions of Threshold Crossing Alert types.
29 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
30 AT&T Intellectual Property. All other rights reserved.
32 Redistribution and use in source and binary forms, with or without modification,
33 are permitted provided that the following conditions are met:
35 * Redistributions of source code must retain the above copyright notice, this
36 list of conditions and the following disclaimer.
37 * Redistributions in binary form must reproduce the above copyright notice,
38 this list of conditions and the following disclaimer in the documentation and/or
39 other materials provided with the distribution.
40 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
41 contributors may be used to endorse or promote products derived from this software
42 without specific prior written permission.
44 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
45 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
46 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
47 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
48 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
49 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
50 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
51 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
52 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53 POSSIBILITY OF SUCH DAMAGE";
69 "Version 2.0.2 - added back the missing pmParameterName container";
73 "Version 2.0.1 - added revision-date to imports";
90 uses org-openroadm-resource:resource;
92 container pmParameterName {
93 uses org-openroadm-pm-types:pm-names;
96 type org-openroadm-pm-types:pm-granularity;
100 type org-openroadm-common-types:location;
104 type org-openroadm-common-types:direction;
109 grouping potential-tca {
111 leaf lowThresholdValue {
112 type org-openroadm-pm-types:pm-data-type;
114 leaf highThresholdValue {
115 type org-openroadm-pm-types:pm-data-type;
119 notification tca-notification {
121 leaf thresholdValue {
122 type org-openroadm-pm-types:pm-data-type;
138 leaf pmParameterValue {
139 type org-openroadm-pm-types:pm-data-type;
143 type yang:date-and-time;
147 container potential-tca-list {
149 "This is the set of threshold crossing alerts monitored on the device. Alerts are
150 enabled/disabled by adding/deleting the high/low threshold values from the list.";