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 2018-11-30;
10 import org-openroadm-common-link-types {
11 prefix org-openroadm-common-link-types;
12 revision-date 2018-11-30;
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.";
67 "Version 2.0.1 - added revision-date to imports";
74 grouping amplifier-node-attributes {
76 "Defines the group of amplifier attributes";
78 type org-openroadm-common-amplifier-types:amplifier-types;
85 type org-openroadm-common-amplifier-types:amplifier-gain-range;
88 "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
89 gain-range-1 for standard amplifiers";
91 leaf ingress-span-loss-aging-margin {
92 type org-openroadm-common-link-types:ratio-dB;
95 "Span-loss margin used to set optical amplifier gain and output-voa
96 extracted from corresponding device OTS interface container, optional
97 since it concerns only line facing amp";
100 type org-openroadm-common-link-types:ratio-dB;
104 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation
105 retrieved from operational value (PM)";
107 leaf initially-planned-gain {
108 type org-openroadm-common-link-types:ratio-dB;
111 "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation:
112 value coming from planning tool initial design";
115 type org-openroadm-common-link-types:ratio-dB;
118 "Tilt of smart EDFA retrieved from operational value (PM)";
120 leaf initially-planned-tilt {
121 type org-openroadm-common-link-types:ratio-dB;
125 value coming from planning tool initial design";
128 type org-openroadm-common-link-types:ratio-dB;
131 "output VOA attenuation";
133 leaf initially-planned-out-voa-att {
134 type org-openroadm-common-link-types:ratio-dB;
137 "output VOA attenuation: value coming from planning tool initial design.
138 As in R2.0, output VOA can not be configured by controller, this parameter may be used by the controller
139 to check that value set by amplifiers is in the range of calculated value and take relevant decision if not";
141 leaf eol-max-load-pIn {
142 type org-openroadm-common-link-types:power-dBm;
145 "End Of Life Total input power at maximum load used for amplifier and VOA setting
146 extracted from corresponding device OTS interface container";