1 module org-openroadm-link {
3 namespace "http://org/openroadm/link";
6 import org-openroadm-equipment-states-types {
7 prefix org-openroadm-equipment-states-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;
14 import org-openroadm-common-node-types {
15 prefix org-openroadm-common-node-types;
16 revision-date 2019-11-29;
18 import org-openroadm-amplifier {
19 prefix org-openroadm-amplifier;
20 revision-date 2019-11-29;
22 import org-openroadm-network-types {
23 prefix org-openroadm-network-types;
24 revision-date 2020-05-29;
32 "YANG definitions for an amplifier in Network Model
35 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
36 All other rights reserved.
38 Redistribution and use in source and binary forms, with or without modification,
39 are permitted provided that the following conditions are met:
41 * Redistributions of source code must retain the above copyright notice, this
42 list of conditions and the following disclaimer.
43 * Redistributions in binary form must reproduce the above copyright notice,
44 this list of conditions and the following disclaimer in the documentation and/or
45 other materials provided with the distribution.
46 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
47 contributors may be used to endorse or promote products derived from this software
48 without specific prior written permission.
50 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
51 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
52 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
54 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
55 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
56 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
57 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
58 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
59 POSSIBILITY OF SUCH DAMAGE.";
101 revision 2017-09-29 {
105 revision 2017-07-28 {
107 "Version 2.0.1 - added revision-date to imports";
109 revision 2017-06-17 {
114 grouping span-attributes {
119 "Flag to enable/disable automatic spanloss measurement";
122 type org-openroadm-common-link-types:ratio-dB;
124 "Baseline ROADM span loss measured and accepted during
125 degree turn-up. May be re-set to current value after a fiber repair or change.";
127 leaf spanloss-current {
128 type org-openroadm-common-link-types:ratio-dB;
130 "Current ROADM span loss measured and accepted during
131 degree turn-up. Updated periodically if auto-spanloss is enabled.";
133 leaf spanloss-last-measured {
134 type org-openroadm-common-link-types:ratio-dB;
136 "Last measured ROADM span loss, may or may not have been accepted and pushed to the NE.";
138 leaf engineered-spanloss {
139 type org-openroadm-common-link-types:ratio-dB;
141 "ROADM span loss provided by an external system";
143 list link-concatenation {
148 "unique identifier for SRLG";
175 "TRUEWAVE Reduced Slope";
190 "Ultra Low Loss (ULL)";
197 "fiber length in meters";
200 type org-openroadm-common-link-types:fiber-pmd;
207 grouping amplified-link-attributes {
208 list amplified-link {
209 key "section-elt-number";
211 "defines the spans and the amplifier blocks of the amplified lines";
212 leaf section-elt-number {
215 "Id of the section element (whether it's a Span or an Amp)";
217 container section-element {
218 choice section-element {
221 uses org-openroadm-amplifier:amplifier-node-attributes;
222 uses org-openroadm-network-types:type-variety-grp;
224 type org-openroadm-common-node-types:node-id-type;
227 "Node id corresponding to the amplifier ";
229 leaf administrative-state {
230 type org-openroadm-equipment-states-types:admin-states;
236 uses link:span-attributes;
237 leaf administrative-state {
238 type org-openroadm-equipment-states-types:admin-states;