1 module org-openroadm-amplifier {
3 namespace "http://org/openroadm/amplifier";
6 import org-openroadm-common-amplifier-types {
7 prefix org-openroadm-common-amplifier-types;
8 revision-date 2019-11-29;
10 import org-openroadm-common-link-types {
11 prefix org-openroadm-common-link-types;
12 revision-date 2019-11-29;
20 "YANG definitions for an amplifier in Network Model
23 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
24 All other rights reserved.
26 Redistribution and use in source and binary forms, with or without modification,
27 are permitted provided that the following conditions are met:
29 * Redistributions of source code must retain the above copyright notice, this
30 list of conditions and the following disclaimer.
31 * Redistributions in binary form must reproduce the above copyright notice,
32 this list of conditions and the following disclaimer in the documentation and/or
33 other materials provided with the distribution.
34 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
35 contributors may be used to endorse or promote products derived from this software
36 without specific prior written permission.
38 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
39 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
40 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
41 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
42 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
43 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
44 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
45 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
47 POSSIBILITY OF SUCH DAMAGE.";
79 "Version 2.0.1 - added revision-date to imports";
86 grouping amplifier-node-attributes {
88 "Defines the group of amplifier attributes";
90 type org-openroadm-common-amplifier-types:amplifier-types;
97 type org-openroadm-common-amplifier-types:amplifier-gain-range;
100 "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
101 gain-range-1 for standard amplifiers";
103 leaf ingress-span-loss-aging-margin {
104 type org-openroadm-common-link-types:ratio-dB;
107 "Span-loss margin used to set optical amplifier gain and output-voa
108 extracted from corresponding device OTS interface container, optional
109 since it concerns only line facing amp";
112 type org-openroadm-common-link-types:ratio-dB;
116 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation
117 retrieved from operational value (PM)";
119 leaf initially-planned-gain {
120 type org-openroadm-common-link-types:ratio-dB;
123 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation:
124 value coming from planning tool initial design";
127 type org-openroadm-common-link-types:ratio-dB;
130 "Tilt of smart EDFA retrieved from operational value (PM)";
132 leaf initially-planned-tilt {
133 type org-openroadm-common-link-types:ratio-dB;
137 value coming from planning tool initial design";
140 type org-openroadm-common-link-types:ratio-dB;
143 "output VOA attenuation";
145 leaf initially-planned-out-voa-att {
146 type org-openroadm-common-link-types:ratio-dB;
149 "output VOA attenuation: value coming from planning tool initial design.
150 As in R2.0, output VOA can not be configured by controller, this parameter may be used by the controller
151 to check that value set by amplifiers is in the range of calculated value and take relevant decision if not";
153 leaf eol-max-load-pIn {
154 type org-openroadm-common-link-types:power-dBm;
157 "End Of Life Total input power at maximum load used for amplifier and VOA setting
158 extracted from corresponding device OTS interface container";
160 leaf egress-average-channel-power {
161 type org-openroadm-common-link-types:power-dBm;
164 "Based upon the total max power across the 4.8 THz passband.";
166 leaf-list supported-operational-modes {
170 "defines the supported openroadm specifications";