1 module org-openroadm-xponder {
3 namespace "http://org/openroadm/xponder";
6 import org-openroadm-network-types {
7 prefix org-openroadm-network-types;
8 revision-date 2021-12-10;
10 import org-openroadm-common-equipment-types {
11 prefix org-openroadm-common-equipment-types;
12 revision-date 2019-11-29;
14 import org-openroadm-common-state-types {
15 prefix org-openroadm-common-state-types;
16 revision-date 2019-11-29;
18 import org-openroadm-common-optical-channel-types {
19 prefix org-openroadm-common-optical-channel-types;
20 revision-date 2021-12-10;
22 import org-openroadm-otn-common-types {
23 prefix org-openroadm-otn-common-types;
24 revision-date 2021-09-24;
26 import org-openroadm-service-format {
27 prefix org-openroadm-service-format;
28 revision-date 2019-11-29;
36 "YANG definitions for xponder
38 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
39 All other rights reserved.
41 Redistribution and use in source and binary forms, with or without modification,
42 are permitted provided that the following conditions are met:
44 * Redistributions of source code must retain the above copyright notice, this
45 list of conditions and the following disclaimer.
46 * Redistributions in binary form must reproduce the above copyright notice,
47 this list of conditions and the following disclaimer in the documentation and/or
48 other materials provided with the distribution.
49 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
50 contributors may be used to endorse or promote products derived from this software
51 without specific prior written permission.
53 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
54 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
55 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
56 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
57 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
58 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
59 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
60 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
61 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
62 POSSIBILITY OF SUCH DAMAGE.";
100 revision 2019-03-29 {
104 revision 2018-11-30 {
108 revision 2018-09-28 {
112 revision 2018-05-30 {
116 revision 2018-03-30 {
120 revision 2017-12-15 {
124 revision 2017-09-29 {
128 revision 2017-07-28 {
130 "Version 2.0.1 - added revision-date to imports";
132 revision 2017-06-26 {
136 revision 2016-10-14 {
141 grouping xpdr-node-attributes {
145 "Owner of the xponder";
149 grouping xpdr-topo-node-attributes {
155 grouping xpdr-connection-attributes {
161 base org-openroadm-common-optical-channel-types:optical-rate-identity;
166 leaf modulation-format {
167 type org-openroadm-common-optical-channel-types:modulation-format;
170 type org-openroadm-common-equipment-types:optic-types;
173 type org-openroadm-common-state-types:state;
175 "A xponder can be in one of the following
180 grouping xpdr-port-connection-attributes {
181 container wavelength {
182 uses org-openroadm-network-types:flex-wave;
184 leaf tail-equipment {
187 "Type of equipment connected to the tail
188 for example packet box";
190 leaf tail-equipment-id {
193 "Identifier of equipment connected to the
194 tail for example client equipement ID";
201 grouping xpdr-otn-tp-attributes {
204 base org-openroadm-otn-common-types:odu-rate-identity;
207 "rate identity of the ODU. 'identityref' is used
208 to allow to extend for future higher rates";
214 base org-openroadm-otn-common-types:odtu-type-identity;
217 "ODTU type, part of the MSI (Multiplex Structure Identifier)";
222 "List of available Tributary Port Number (0-based), part of the MSI";
228 "List of available Tributary Slots used by port";
230 leaf-list opucn-ts-pool {
231 type org-openroadm-otn-common-types:opucn-trib-slot-def;
233 "List of available OPUCn Tributary Slots used by port";
237 grouping xpdr-mode-attributes {
238 container supported-operational-modes {
239 list operational-mode {
242 "list of supported operational modes";
246 "Optical profile operational mode identifier";
248 leaf spectral-width {
249 type org-openroadm-common-optical-channel-types:frequency-GHz;
252 "The required minimum signal spectral width of signal at -22 dbm.";
256 leaf operational-mode {
260 "The provisioned operational-mode of the equipment.";
264 grouping supported-client-services {
265 container supported-client-services {
266 list supported-client-service {
267 key "service-format";
269 "Supported Client Services";
270 leaf service-format {
271 type org-openroadm-service-format:service-format;
273 "Format of the requested service: Ethernet, OTU, etc.";
275 leaf-list service-rate {
278 "Rate of the requested service in GBps. Not used when service-format=other.";
280 leaf-list other-service-format-and-rate {
283 "Used when service-format is set to other in the bookend xponder use case.
284 The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
285 and intended to allow the controller to support non-Open ROADM service formats.
286 This value encodes both the service format and the rate supported.
287 This field should not be specified when service format != other.";
291 uses provisioned-client-service;
294 grouping provisioned-client-service {
295 leaf service-format {
296 type org-openroadm-service-format:service-format;
298 "Format of the provisioned service: Ethernet, OTU, etc.";
303 "Provisioned rate of the requested service in GBps. Not used when service-format=other.";
305 leaf other-service-format-and-rate {
308 "Used when service-format is set to other in the bookend xponder use case.
309 The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
310 and intended to allow the controller to support non-Open ROADM service formats.
311 This value encodes the provisioned service format and the rate supported.
312 This field should not be specified when service format != other.";