blob: a786acc96c8466ffc725cba207729e0a5631981c [file] [log] [blame]
Marc De Leenheerf20c7fb2017-05-05 10:24:41 -07001module org-openroadm-xponder {
2 namespace "http://org/openroadm/xponder";
3 prefix org-openroadm-xponder;
4
5 import org-openroadm-equipment-states-types {
6 prefix org-openroadm-equipment-states-types;
7 }
8 import org-openroadm-common-types {
9 prefix org-openroadm-common-types;
10 }
11 import ietf-inet-types {
12 prefix inet;
13 }
14
15 organization
16 "OPEN ROADM MSA";
17 contact
18 "OpenROADM.org.";
19 description
20 "YANG definitions for xponder
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 2016-10-14 {
49 description
50 "Version 1.2";
51 }
52
53 grouping xponder {
54 list xponders {
55 key "clli";
56 leaf clli {
57 type string;
58 description
59 "Location CLLI where the Xponder resides";
60 }
61 list ids {
62 key "node-number node-type";
63 leaf node-number {
64 type uint32;
65 description
66 "Number assigned to an Xponder base unit in a given
67 office, i.e., 1, 2..N";
68 }
69 leaf node-type {
70 type org-openroadm-common-types:node-types;
71 }
72 leaf node-id {
73 type string;
74 description
75 "Network-wide unique identifier for an Xponder";
76 }
77 leaf vendor {
78 type string;
79 description
80 "Identifier of the supplier for the xponder";
81 }
82 leaf customer-code {
83 type string;
84 description
85 "Owner of the xponder";
86 }
87 leaf domain-subnetwork {
88 type string;
89 description
90 "Specific Domain-Subnetwork in which the ROADM node resides";
91 }
92 leaf ip {
93 type inet:ip-address;
94 description
95 "IP address assigned to the ROADM node";
96 }
97 leaf relay-rack {
98 type string;
99 description
100 "Frame Identification Code (FIC)";
101 }
102 leaf shelf {
103 type uint32;
104 }
105 container input-connection {
106 leaf accumulated-bitrate {
107 type uint32;
108 }
109 list port {
110 key "port-name";
111 leaf port-name {
112 type string;
113 }
114 leaf customer-code {
115 type string;
116 description
117 "Owner of the input module";
118 }
119 leaf vendor {
120 type string;
121 description
122 "Supplier of the input module";
123 }
124 leaf local-lgx {
125 type string;
126 }
127 leaf bit-rate {
128 type uint32;
129 }
130 leaf signal-format {
131 type string;
132 }
133 leaf reach {
134 type string;
135 }
136 leaf optic {
137 type org-openroadm-common-types:optic-types;
138 }
139 leaf state {
140 type org-openroadm-equipment-states-types:states;
141 description
142 "A xponder can be in one of the following
143 states";
144 }
145 leaf tail-client-equipment {
146 type string;
147 }
148 leaf tail-client-equipmentId {
149 type string;
150 }
151 leaf tail-clfi {
152 type string;
153 }
154 }
155 }
156 container output-connection {
157 leaf clli {
158 type string;
159 }
160 leaf node-number{
161 type uint32;
162 }
163 leaf node-id {
164 type string;
165 description
166 "ROADM node ID";
167 }
168 leaf accumulated-bitrate {
169 type uint32;
170 }
171 list port {
172 key "port-name";
173 leaf port-name {
174 type string;
175 }
176 leaf vendor {
177 type string;
178 description
179 "Supplier of the output module";
180 }
181 leaf srg-number {
182 type uint16;
183 description
184 "Output module is connected to";
185 }
186 leaf pp-number {
187 type uint16;
188 }
189 leaf wavelength-number{
190 type uint32;
191 }
192 leaf local-lgx {
193 type string;
194 }
195 leaf tail-clfi{
196 type string;
197 }
198 leaf bit-rate {
199 type uint32;
200 }
201 leaf signal-format {
202 type string;
203 }
204 leaf reach {
205 type string;
206 }
207 leaf optic {
208 type org-openroadm-common-types:optic-types;
209 }
210 leaf state {
211 type org-openroadm-equipment-states-types:states;
212 description
213 "A xponder can be in one of the following
214 states";
215 }
216 }
217 }
218 }
219 }
220 }
221}