1 module org-openroadm-network {
3 namespace "http://org/openroadm/network";
8 revision-date 2018-02-26;
10 import org-openroadm-network-types {
12 revision-date 2021-12-10;
14 import org-openroadm-roadm {
16 revision-date 2019-11-29;
18 import org-openroadm-external-pluggable {
20 revision-date 2021-12-10;
22 import org-openroadm-xponder {
24 revision-date 2021-12-10;
26 import ietf-inet-types {
28 revision-date 2013-07-15;
30 import org-openroadm-common-types {
31 prefix org-openroadm-common-types;
32 revision-date 2021-12-10;
34 import org-openroadm-common-network {
36 revision-date 2021-12-10;
44 "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
45 All other rights reserved.
47 Redistribution and use in source and binary forms, with or without modification,
48 are permitted provided that the following conditions are met:
50 * Redistributions of source code must retain the above copyright notice, this
51 list of conditions and the following disclaimer.
52 * Redistributions in binary form must reproduce the above copyright notice,
53 this list of conditions and the following disclaimer in the documentation and/or
54 other materials provided with the distribution.
55 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
56 contributors may be used to endorse or promote products derived from this software
57 without specific prior written permission.
59 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
60 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
61 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
62 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
63 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
64 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
65 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
66 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
67 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
68 POSSIBILITY OF SUCH DAMAGE.";
102 revision 2019-11-29 {
106 revision 2019-09-27 {
110 revision 2019-05-31 {
114 revision 2019-03-29 {
118 revision 2018-11-30 {
122 revision 2018-09-28 {
126 revision 2018-05-30 {
130 revision 2018-03-30 {
134 revision 2017-12-15 {
138 revision 2017-09-29 {
142 revision 2017-07-28 {
144 "Version 2.0.1 - added revision-date to imports";
146 revision 2017-06-26 {
150 revision 2016-10-14 {
155 deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
157 must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network) or
158 (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network and
159 (../cnet:node-type = 'ROADM' or ../cnet:node-type = 'XPONDER' or ../cnet:node-type = 'EXT-PLUGGABLE'))" {
160 error-message "Invalid node type for openroadm-network";
162 "The valid node types in the ROADM network are XPONDER, EXT-PLUGGABLE and ROADM.";
167 augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
169 "Introduce new network type for the Open ROADM optical network";
170 container openroadm-network {
171 presence "indicates optical network of Open ROADMs";
173 "The presence of the container node indicates Open ROADM
178 augment "/nd:networks/nd:network/nd:node" {
179 when '../nd:network-types/cnet:openroadm-common-network/net:openroadm-network';
181 "Augment the generic network node with Open ROADM attributes.";
182 leaf software-version {
185 "Vendor software version";
187 leaf openroadm-version {
188 type org-openroadm-common-types:openroadm-version-type;
190 "OpenROADM software version";
195 "Identifier of the supplier";
200 "Identifier of the supplier's equipment";
202 leaf domain-subnetwork {
205 "Specific Domain-Subnetwork in which the node resides";
208 type inet:ip-address;
210 "IP address assigned to the node";
215 "Frame Identification Code (FIC)";
220 leaf node-connection-status {
221 type nt:openroadm-node-connection-status;
223 container roadm-attributes {
224 when "../cnet:node-type = 'ROADM'";
226 "Attributes for the ROADM Node.";
227 uses roadm:roadm-node-attributes;
229 container xpdr-attributes {
230 when "../cnet:node-type = 'XPONDER'";
231 uses xpdr:xpdr-node-attributes;
233 container pluggable-attributes {
234 when "../cnet:node-type = 'EXT-PLUGGABLE'";
235 uses plg:pluggable-node-attributes;
237 container plan-due-dates {
238 uses nt:node-due-date-list;
240 container node-maintenance-schedule {
241 uses nt:node-due-date-list;