1 module org-openroadm-xponder {
2 namespace "http://org/openroadm/xponder";
7 revision-date 2015-06-08;
9 import ietf-network-topology {
11 revision-date 2015-06-08;
13 import org-openroadm-network-types {
14 prefix org-openroadm-network-types;
15 revision-date 2017-09-29;
17 import org-openroadm-common-types {
18 prefix org-openroadm-common-types;
19 revision-date 2017-09-29;
21 import org-openroadm-otn-common-types {
22 prefix org-openroadm-otn-common-types;
23 revision-date 2017-09-29;
31 "YANG definitions for xponder
33 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
34 AT&T Intellectual Property. All other rights reserved.
36 Redistribution and use in source and binary forms, with or without modification,
37 are permitted provided that the following conditions are met:
39 * Redistributions of source code must retain the above copyright notice, this
40 list of conditions and the following disclaimer.
41 * Redistributions in binary form must reproduce the above copyright notice,
42 this list of conditions and the following disclaimer in the documentation and/or
43 other materials provided with the distribution.
44 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
45 contributors may be used to endorse or promote products derived from this software
46 without specific prior written permission.
48 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
49 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
50 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
51 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
52 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
53 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
54 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
55 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
56 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
57 POSSIBILITY OF SUCH DAMAGE.";
65 "Version 2.0.1 - added revision-date to imports";
76 grouping xpdr-node-attributes {
80 "Owner of the xponder";
84 grouping xpdr-topo-node-attributes {
90 grouping xpdr-connection-attributes {
96 base org-openroadm-common-types:och-rate-identity;
101 leaf modulation-format {
102 type org-openroadm-common-types:modulation-format;
105 type org-openroadm-common-types:optic-types;
108 type org-openroadm-common-types:state;
110 "A xponder can be in one of the following
115 grouping xpdr-port-connection-attributes {
116 container wavelength {
117 uses org-openroadm-network-types:wavelengths;
119 leaf tail-equipment {
122 leaf tail-equipment-id {
130 grouping xpdr-otn-tail-attributes {
136 path "/nd:network/nd:network-id";
139 "Used to reference a network, for example an underlay
144 path "/nd:network[nd:network-id=current()/../network-ref]"+
145 "/nd:node/nd:node-id";
148 "Used to reference a node.
149 Nodes are identified relative to the network they are
154 grouping xpdr-otn-tp-attributes {
157 base org-openroadm-otn-common-types:odu-rate-identity;
160 "rate identity of the ODU. 'identityref' is used
161 to allow to extend for future higher rates";
167 base org-openroadm-otn-common-types:odtu-type-identity;
170 "ODTU type, part of the MSI (Multiplex Structure Identifier)";
175 "Tributary Port Number (0-based), part of the MSI";
181 "Timeslots used by port";