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 2017-12-15;
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 2017-12-15;
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";
65 "Version 2.0.2 - added back the missing pmParameterName container";
69 "Version 2.0.1 - added revision-date to imports";
86 uses org-openroadm-resource:resource;
88 container pmParameterName {
89 uses org-openroadm-pm-types:pm-names;
92 type org-openroadm-pm-types:pm-granularity;
96 type org-openroadm-common-types:location;
100 type org-openroadm-common-types:direction;
105 grouping potential-tca {
107 leaf lowThresholdValue {
108 type org-openroadm-pm-types:pm-data-type;
110 leaf highThresholdValue {
111 type org-openroadm-pm-types:pm-data-type;
115 notification tca-notification {
117 leaf thresholdValue {
118 type org-openroadm-pm-types:pm-data-type;
134 leaf pmParameterValue {
135 type org-openroadm-pm-types:pm-data-type;
139 type yang:date-and-time;
143 container potential-tca-list {
145 "This is the set of threshold crossing alerts monitored on the device. Alerts are
146 enabled/disabled by adding/deleting the high/low threshold values from the list.";