1 module org-openroadm-link {
3 namespace "http://org/openroadm/link";
8 revision-date 2018-02-26;
10 import org-openroadm-equipment-states-types {
11 prefix org-openroadm-equipment-states-types;
12 revision-date 2019-11-29;
14 import org-openroadm-common-link-types {
15 prefix org-openroadm-common-link-types;
16 revision-date 2019-11-29;
18 import org-openroadm-common-node-types {
19 prefix org-openroadm-common-node-types;
20 revision-date 2021-05-28;
22 import org-openroadm-amplifier {
23 prefix org-openroadm-amplifier;
24 revision-date 2021-09-24;
26 import org-openroadm-network-types {
27 prefix org-openroadm-network-types;
28 revision-date 2021-12-10;
30 import org-openroadm-common-network {
32 revision-date 2021-12-10;
40 "YANG definitions for an amplifier in Network Model
43 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
44 All other rights reserved.
46 Redistribution and use in source and binary forms, with or without modification,
47 are permitted provided that the following conditions are met:
49 * Redistributions of source code must retain the above copyright notice, this
50 list of conditions and the following disclaimer.
51 * Redistributions in binary form must reproduce the above copyright notice,
52 this list of conditions and the following disclaimer in the documentation and/or
53 other materials provided with the distribution.
54 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
55 contributors may be used to endorse or promote products derived from this software
56 without specific prior written permission.
58 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
59 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
60 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
61 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
62 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
63 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
64 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
65 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
66 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
67 POSSIBILITY OF SUCH DAMAGE.";
101 revision 2019-09-27 {
105 revision 2019-05-31 {
109 revision 2019-03-29 {
113 revision 2018-11-30 {
117 revision 2018-09-28 {
121 revision 2018-03-30 {
125 revision 2017-12-15 {
129 revision 2017-09-29 {
133 revision 2017-07-28 {
135 "Version 2.0.1 - added revision-date to imports";
137 revision 2017-06-17 {
142 grouping span-attributes {
147 "Flag to enable/disable automatic spanloss measurement";
150 type org-openroadm-common-link-types:ratio-dB;
152 "Baseline ROADM span loss measured and accepted during
153 degree turn-up. May be re-set to current value after a fiber repair or change.";
155 leaf spanloss-current {
156 type org-openroadm-common-link-types:ratio-dB;
158 "Current ROADM span loss measured and accepted during
159 degree turn-up. Updated periodically if auto-spanloss is enabled.";
161 leaf spanloss-last-measured {
162 type org-openroadm-common-link-types:ratio-dB;
164 "Last measured ROADM span loss, may or may not have been accepted and pushed to the NE.";
166 leaf engineered-spanloss {
167 type org-openroadm-common-link-types:ratio-dB;
169 "ROADM span loss provided by an external system";
171 uses org-openroadm-network-types:link-concatenation {
172 augment link-concatenation {
198 "TRUEWAVE Reduced Slope";
213 "Ultra Low Loss (ULL)";
218 type org-openroadm-common-link-types:fiber-pmd;
222 leaf subject-to-high-SOP-changes {
225 "identifies fibers that may experience high polarization rotation rates
226 and which might be inadequate for some modulation format";
230 uses org-openroadm-network-types:future-SRLGs {
231 augment "future-SRLGs" {
234 path "/nd:networks/nd:network/cnet:SRLG-list/cnet:SRLG-Id";
240 grouping amplified-link-attributes {
241 list amplified-link {
242 key "section-elt-number";
244 "defines the spans and the amplifier blocks of the amplified lines";
245 leaf section-elt-number {
248 "Id of the section element (whether it's a Span or an Amp)";
250 container section-element {
251 choice section-element {
254 uses org-openroadm-amplifier:amplifier-node-attributes;
255 uses org-openroadm-network-types:type-variety-grp;
257 type org-openroadm-common-node-types:node-id-type;
260 "Node id corresponding to the amplifier ";
262 leaf administrative-state {
263 type org-openroadm-equipment-states-types:admin-states;
269 uses link:span-attributes;
270 leaf administrative-state {
271 type org-openroadm-equipment-states-types:admin-states;