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 2018-11-30;
10 import org-openroadm-common-link-types {
11 prefix org-openroadm-common-link-types;
12 revision-date 2018-11-30;
14 import org-openroadm-common-node-types {
15 prefix org-openroadm-common-node-types;
16 revision-date 2018-11-30;
18 import org-openroadm-amplifier {
19 prefix org-openroadm-amplifier;
20 revision-date 2018-11-30;
28 "YANG definitions for an amplifier in Network Model
31 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
32 All other rights reserved.
34 Redistribution and use in source and binary forms, with or without modification,
35 are permitted provided that the following conditions are met:
37 * Redistributions of source code must retain the above copyright notice, this
38 list of conditions and the following disclaimer.
39 * Redistributions in binary form must reproduce the above copyright notice,
40 this list of conditions and the following disclaimer in the documentation and/or
41 other materials provided with the distribution.
42 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
43 contributors may be used to endorse or promote products derived from this software
44 without specific prior written permission.
46 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
47 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
48 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
49 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
50 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
51 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
52 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
53 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
54 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
55 POSSIBILITY OF SUCH DAMAGE.";
79 "Version 2.0.1 - added revision-date to imports";
86 grouping OMS-attributes {
93 grouping span-attributes {
102 "Flag to enable/disable automatic spanloss measurement";
105 type org-openroadm-common-link-types:ratio-dB;
107 "Baseline ROADM span loss measured and accepted during
108 degree turn-up. May be re-set to current value after a fiber repair or change.";
110 leaf spanloss-current {
111 type org-openroadm-common-link-types:ratio-dB;
113 "Current ROADM span loss measured and accepted during
114 degree turn-up. Updated periodically if auto-spanloss is enabled.";
116 leaf spanloss-last-measured {
117 type org-openroadm-common-link-types:ratio-dB;
119 "Last measured ROADM span loss, may or may not have been accepted and pushed to the NE.";
121 leaf engineered-spanloss {
122 type org-openroadm-common-link-types:ratio-dB;
124 "ROADM span loss provided by an external system";
126 list link-concatenation {
131 "unique identifier for SRLG";
158 "TRUEWAVE Reduced Slope";
173 "Ultra Low Loss (ULL)";
180 "fiber length in meters";
183 type org-openroadm-common-link-types:fiber-pmd;
190 grouping amplified-link-attributes {
191 list amplified-link {
192 key "section-elt-number";
194 "defines the spans and the amplifier blocks of the amplified lines";
195 leaf section-elt-number {
198 "Id of the section element (whether it's a Span or an Amp)";
200 container section-element {
201 choice section-element {
204 uses org-openroadm-amplifier:amplifier-node-attributes;
206 type org-openroadm-common-node-types:node-id-type;
209 "Node id corresponding to the amplifier ";
211 leaf administrative-state {
212 type org-openroadm-equipment-states-types:admin-states;
218 uses link:span-attributes;
219 leaf administrative-state {
220 type org-openroadm-equipment-states-types:admin-states;