Update Renderer Module
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-degree@2017-12-15.yang
1 module org-openroadm-degree {
2   namespace "http://org/openroadm/degree";
3   prefix dgr;
4
5   import org-openroadm-common-types {
6     prefix org-openroadm-common-types;
7     revision-date 2017-12-15;
8   }
9   import org-openroadm-network-types {
10     prefix org-openroadm-network-types;
11     revision-date 2017-12-15;
12   }
13
14   organization
15     "Open ROADM MSA";
16   contact
17     "OpenROADM.org.";
18   description
19     "YANG definitions for a Degree in Network Model
20
21
22      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
23      AT&T Intellectual Property.  All other rights reserved.
24
25      Redistribution and use in source and binary forms, with or without modification,
26      are permitted provided that the following conditions are met:
27
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.
36
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.";
47
48   revision 2017-12-15 {
49     description
50       "Version 2.2";
51   }
52   revision 2017-09-29 {
53     description
54       "Version 2.1";
55   }
56   revision 2017-07-28 {
57     description
58       "Version 2.0.1 - added revision-date to imports";
59   }
60   revision 2017-06-26 {
61     description
62       "Version 2.0";
63   }
64   revision 2016-10-14 {
65     description
66       "Version 1.2";
67   }
68
69   grouping degree-used-wavelengths {
70     description
71       "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
72        index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
73        will hold list of used spectrums";
74     list used-wavelengths {
75       key "index";
76       uses org-openroadm-network-types:wavelengths;
77     }
78   }
79
80   grouping degree-node-attributes {
81     description
82       "Defines the group of degree attributes";
83     leaf degree-number {
84       type uint16;
85     }
86     leaf max-wavelengths {
87       type uint32;
88       description
89         "maximum # of wavelengths";
90     }
91     list available-wavelengths {
92       key "index";
93       description
94         "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
95          index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
96          will hold list of available spectrums";
97       uses org-openroadm-network-types:wavelengths;
98     }
99     leaf ingress-span-loss-aging-margin {
100       type org-openroadm-common-types:ratio-dB;
101       config true;
102       description
103         "Span-loss margin extracted from corresponding device OTS interface container, optional";
104     }
105     leaf eol-max-load-pIn {
106       type org-openroadm-common-types:power-dBm;
107       config true;
108       description
109         "End Of Life Total input power at maximum load extracted from corresponding device OTS interface container";
110     }
111   }
112 }