Update Renderer Module
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-degree@2017-09-29.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-09-29;
8   }
9   import org-openroadm-network-types {
10     prefix org-openroadm-network-types;
11     revision-date 2017-09-29;
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-09-29 {
49     description
50       "Version 2.1";
51   }
52   revision 2017-07-28 {
53     description
54       "Version 2.0.1 - added revision-date to imports";
55   }
56   revision 2017-06-26 {
57     description
58       "Version 2.0";
59   }
60   revision 2016-10-14 {
61     description
62       "Version 1.2";
63   }
64
65   grouping degree-used-wavelengths {
66     description
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 {
71       key "index";
72       uses org-openroadm-network-types:wavelengths;
73
74     }
75   }
76
77   grouping degree-node-attributes {
78     description
79       "Defines the group of degree attributes";
80     leaf degree-number {
81       type uint16;
82     }
83     leaf max-wavelengths {
84       type uint32;
85       description
86         "maximum # of wavelengths";
87     }
88     list available-wavelengths {
89       key "index";
90       uses org-openroadm-network-types:wavelengths;
91      description
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";
95     }
96     leaf ingress-span-loss-aging-margin {
97       type org-openroadm-common-types:ratio-dB;
98       description
99         "Span-loss margin extracted from corresponding device OTS interface container, optional";
100       config true;
101     }
102     leaf eol-max-load-pIn {
103       type org-openroadm-common-types:power-dBm;
104       description
105         "End Of Life Total input power at maximum load extracted from corresponding device OTS interface container";
106       config true;
107     }
108   }
109 }