1 module org-openroadm-degree {
2 namespace "http://org/openroadm/degree";
5 import org-openroadm-common-types {
6 prefix org-openroadm-common-types;
7 revision-date 2017-09-29;
9 import org-openroadm-network-types {
10 prefix org-openroadm-network-types;
11 revision-date 2017-09-29;
19 "YANG definitions for a Degree in Network Model
22 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
23 AT&T Intellectual Property. All other rights reserved.
25 Redistribution and use in source and binary forms, with or without modification,
26 are permitted provided that the following conditions are met:
28 * Redistributions of source code must retain the above copyright notice, this
29 list of conditions and the following disclaimer.
30 * Redistributions in binary form must reproduce the above copyright notice,
31 this list of conditions and the following disclaimer in the documentation and/or
32 other materials provided with the distribution.
33 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
34 contributors may be used to endorse or promote products derived from this software
35 without specific prior written permission.
37 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
38 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
39 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
40 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
41 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
43 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
44 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
45 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
46 POSSIBILITY OF SUCH DAMAGE.";
54 "Version 2.0.1 - added revision-date to imports";
65 grouping degree-used-wavelengths {
67 "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
68 index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
69 will hold list of used spectrums";
70 list used-wavelengths {
72 uses org-openroadm-network-types:wavelengths;
77 grouping degree-node-attributes {
79 "Defines the group of degree attributes";
83 leaf max-wavelengths {
86 "maximum # of wavelengths";
88 list available-wavelengths {
90 uses org-openroadm-network-types:wavelengths;
92 "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
93 index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
94 will hold list of available spectrums";
96 leaf ingress-span-loss-aging-margin {
97 type org-openroadm-common-types:ratio-dB;
99 "Span-loss margin extracted from corresponding device OTS interface container, optional";
102 leaf eol-max-load-pIn {
103 type org-openroadm-common-types:power-dBm;
105 "End Of Life Total input power at maximum load extracted from corresponding device OTS interface container";