1 module org-openroadm-amplifier {
2 namespace "http://org/openroadm/amplifier";
5 import org-openroadm-common-types {
6 prefix org-openroadm-common-types;
7 revision-date 2017-12-15;
15 "YANG definitions for an amplifier in Network Model
18 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
19 AT&T Intellectual Property. All other rights reserved.
21 Redistribution and use in source and binary forms, with or without modification,
22 are permitted provided that the following conditions are met:
24 * Redistributions of source code must retain the above copyright notice, this
25 list of conditions and the following disclaimer.
26 * Redistributions in binary form must reproduce the above copyright notice,
27 this list of conditions and the following disclaimer in the documentation and/or
28 other materials provided with the distribution.
29 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
30 contributors may be used to endorse or promote products derived from this software
31 without specific prior written permission.
33 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
34 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
37 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
38 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
39 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
40 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 POSSIBILITY OF SUCH DAMAGE.";
54 "Version 2.0.1 - added revision-date to imports";
61 grouping amplifier-node-attributes {
63 "Defines the group of amplifier attributes";
65 type org-openroadm-common-types:amplifier-types;
72 type org-openroadm-common-types:amplifier-gain-range;
75 "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
76 gain-range-1 for standard amplifiers";
78 leaf ingress-span-loss-aging-margin {
79 type org-openroadm-common-types:ratio-dB;
82 "Span-loss margin used to set optical amplifier gain and output-voa
83 extracted from corresponding device OTS interface container, optional
84 since it concerns only line facing amp";
87 type org-openroadm-common-types:ratio-dB;
91 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation
92 retrieved from operational value (PM)";
94 leaf initially-planned-gain {
95 type org-openroadm-common-types:ratio-dB;
98 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation:
99 value coming from planning tool initial design";
102 type org-openroadm-common-types:ratio-dB;
105 "Tilt of smart EDFA retrieved from operational value (PM)";
107 leaf initially-planned-tilt {
108 type org-openroadm-common-types:ratio-dB;
112 value coming from planning tool initial design";
115 type org-openroadm-common-types:ratio-dB;
118 "output VOA attenuation";
120 leaf initially-planned-out-voa-att {
121 type org-openroadm-common-types:ratio-dB;
124 "output VOA attenuation: value coming from planning tool initial design.
125 As in R2.0, output VOA can not be configured by controller, this parameter may be used by the controller
126 to check that value set by amplifiers is in the range of calculated value and take relevant decision if not";
128 leaf eol-max-load-pIn {
129 type org-openroadm-common-types:power-dBm;
132 "End Of Life Total input power at maximum load used for amplifier and VOA setting
133 extracted from corresponding device OTS interface container";