blob: a439963792a10a2133d8a0133c5e3f04af346020 [file] [log] [blame]
Marc De Leenheerf20c7fb2017-05-05 10:24:41 -07001module org-openroadm-degree {
2 namespace "http://org/openroadm/degree";
3 prefix org-openroadm-degree;
4
5 import org-openroadm-common-types {
6 prefix org-openroadm-common-types;
7 }
8 organization
9 "Open ROADM MSA";
10 contact
11 "OpenROADM.org.";
12 description
13 "YANG definitions for a Degree in Network Model
14
15
16 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
17 AT&T Intellectual Property. All other rights reserved.
18
19 Redistribution and use in source and binary forms, with or without modification,
20 are permitted provided that the following conditions are met:
21
22 * Redistributions of source code must retain the above copyright notice, this
23 list of conditions and the following disclaimer.
24 * Redistributions in binary form must reproduce the above copyright notice,
25 this list of conditions and the following disclaimer in the documentation and/or
26 other materials provided with the distribution.
27 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
28 contributors may be used to endorse or promote products derived from this software
29 without specific prior written permission.
30
31 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
32 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
34 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
35 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
36 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
37 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
38 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
40 POSSIBILITY OF SUCH DAMAGE.";
41
42 revision 2016-10-14 {
43 description
44 "Version 1.2";
45 }
46
47 grouping roadm-degree {
48 list degrees {
49 key "degree-number";
50 leaf degree-number {
51 type uint16;
52 description
53 "Identifier for each direction/degree";
54 }
55 container external {
56 leaf clli {
57 type string;
58 description
59 "Location CLLI where ROADM resides";
60 }
61 leaf node-number{
62 type uint32;
63 description
64 "Number assigned to a ROADM node in a
65 given office";
66 }
67 leaf node-id {
68 type string;
69 description
70 "Identifier of the ROADM";
71 }
72 leaf degree-number {
73 type uint16;
74 description
75 "Identifier for direction/degree in far-end ROADM";
76 }
77 leaf oms-clfi {
78 type string;
79 description
80 "Unique facility name given to the OMS tails";
81 }
82 leaf-list facility-routing-subpath {
83 type string;
84 description
85 "";
86 }
87 leaf max-wavelengths {
88 type uint32;
89 description
90 "Numeric value specifies the maximum # of wavelengths supported by the OMS";
91 }
92 leaf-list available-wavelengths {
93 type uint32;
94 description
95 "list of wavelengths that are supported by the degree";
96 }
97 leaf distance {
98 type decimal64 {
99 fraction-digits 1;
100 }
101 description
102 "Span distance measured in km.";
103 units "km";
104 }
105 leaf spanloss-base {
106 description
107 "Baseline ROADM span loss measured and accepted during degree turn-up.";
108 type org-openroadm-common-types:ratio-dB;
109 }
110 leaf spanloss-current {
111 description
112 "Current ROADM span loss captured by the controller.";
113 type org-openroadm-common-types:ratio-dB;
114 }
115 container oms-ttp-tx {
116 leaf-list wavelength-number {
117 type uint32;
118 description
119 "The wavelength # assigned by PCE to a service/circuit";
120 }
121 }
122 container oms-ttp-rx {
123 leaf-list wavelength-number {
124 type uint32;
125 description
126 "The wavelength # assigned by PCE to a service/circuit";
127 }
128 }
129 }
130 container ctp-tx {
131 leaf-list wavelength-number {
132 type uint32;
133 description
134 "The wavelength # assigned by PCE to a service/circuit";
135 }
136 }
137 container ctp-rx {
138 leaf-list wavelength-number {
139 type uint32;
140 description
141 "The wavelength # assigned by PCE to a service/circuit";
142 }
143 }
144 }
145 }
146}