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 2018-11-30;
10 import org-openroadm-common-equipment-types {
11 prefix org-openroadm-common-equipment-types;
12 revision-date 2018-11-30;
14 import org-openroadm-common-state-types {
15 prefix org-openroadm-common-state-types;
16 revision-date 2018-11-30;
18 import org-openroadm-common-optical-channel-types {
19 prefix org-openroadm-common-optical-channel-types;
20 revision-date 2018-11-30;
22 import org-openroadm-otn-common-types {
23 prefix org-openroadm-otn-common-types;
24 revision-date 2018-11-30;
32 "YANG definitions for xponder
34 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
35 All other rights reserved.
37 Redistribution and use in source and binary forms, with or without modification,
38 are permitted provided that the following conditions are met:
40 * Redistributions of source code must retain the above copyright notice, this
41 list of conditions and the following disclaimer.
42 * Redistributions in binary form must reproduce the above copyright notice,
43 this list of conditions and the following disclaimer in the documentation and/or
44 other materials provided with the distribution.
45 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
46 contributors may be used to endorse or promote products derived from this software
47 without specific prior written permission.
49 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
50 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
51 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
52 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
53 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
54 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
55 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
56 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
57 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
58 POSSIBILITY OF SUCH DAMAGE.";
86 "Version 2.0.1 - added revision-date to imports";
97 grouping xpdr-node-attributes {
101 "Owner of the xponder";
105 grouping xpdr-topo-node-attributes {
111 grouping xpdr-connection-attributes {
117 base org-openroadm-common-optical-channel-types:och-rate-identity;
122 leaf modulation-format {
123 type org-openroadm-common-optical-channel-types:modulation-format;
126 type org-openroadm-common-equipment-types:optic-types;
129 type org-openroadm-common-state-types:state;
131 "A xponder can be in one of the following
136 grouping xpdr-port-connection-attributes {
137 container wavelength {
138 uses org-openroadm-network-types:flex-wave;
140 leaf tail-equipment {
143 leaf tail-equipment-id {
151 grouping xpdr-otn-tp-attributes {
154 base org-openroadm-otn-common-types:odu-rate-identity;
157 "rate identity of the ODU. 'identityref' is used
158 to allow to extend for future higher rates";
164 base org-openroadm-otn-common-types:odtu-type-identity;
167 "ODTU type, part of the MSI (Multiplex Structure Identifier)";
172 "List of available Tributary Port Number (0-based), part of the MSI";
178 "List of available Tributary Slots used by port";