1 module org-openroadm-degree {
3 namespace "http://org/openroadm/degree";
6 import org-openroadm-common-link-types {
7 prefix org-openroadm-common-link-types;
8 revision-date 2019-11-29;
10 import org-openroadm-network-types {
11 prefix org-openroadm-network-types;
12 revision-date 2020-05-29;
20 "YANG definitions for a Degree in Network Model
23 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
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.";
99 "Version 2.0.1 - added revision-date to imports";
101 revision 2017-06-26 {
105 revision 2016-10-14 {
110 grouping degree-used-wavelengths {
112 "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
113 index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
114 will hold list of used spectra";
115 list used-wavelengths {
117 uses org-openroadm-network-types:wavelengths;
121 grouping degree-node-attributes {
123 "Defines the group of degree attributes";
127 leaf max-wavelengths {
130 "maximum # of wavelengths";
132 leaf ingress-span-loss-aging-margin {
133 type org-openroadm-common-link-types:ratio-dB;
136 "Span-loss margin extracted from corresponding device OTS interface container, optional";
138 leaf eol-max-load-pIn {
139 type org-openroadm-common-link-types:power-dBm;
142 "End Of Life Total input power at maximum load extracted from corresponding device OTS interface container";
144 leaf egress-average-channel-power {
145 type org-openroadm-common-link-types:power-dBm;
148 "Based upon the total max power across the 4.8 THz passband.";