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 2020-05-29;
14 import org-openroadm-roadm {
16 revision-date 2019-11-29;
18 import org-openroadm-external-pluggable {
20 revision-date 2020-05-29;
22 import org-openroadm-xponder {
24 revision-date 2020-05-29;
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 2020-05-29;
34 import org-openroadm-common-network {
36 revision-date 2020-05-29;
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 2018-05-30 {
106 revision 2018-03-30 {
110 revision 2017-12-15 {
114 revision 2017-09-29 {
118 revision 2017-07-28 {
120 "Version 2.0.1 - added revision-date to imports";
122 revision 2017-06-26 {
126 revision 2016-10-14 {
131 deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
133 must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network) or
134 (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network and
135 (../cnet:node-type = 'ROADM' or ../cnet:node-type = 'XPONDER' or ../cnet:node-type = 'EXT-PLUGGABLE'))" {
136 error-message "Invalid node type for openroadm-network";
138 "The valid node types in the ROADM network are XPONDER, EXT-PLUGGABLE and ROADM.";
143 augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
145 "Introduce new network type for the Open ROADM optical network";
146 container openroadm-network {
147 presence "indicates optical network of Open ROADMs";
149 "The presence of the container node indicates Open ROADM
154 augment "/nd:networks/nd:network/nd:node" {
155 when '../nd:network-types/cnet:openroadm-common-network/net:openroadm-network';
157 "Augment the generic network node with Open ROADM attributes.";
158 leaf software-version {
161 "Vendor software version";
163 leaf openroadm-version {
164 type org-openroadm-common-types:openroadm-version-type;
166 "OpenROADM software version";
171 "Identifier of the supplier";
176 "Identifier of the supplier's equipment";
178 leaf domain-subnetwork {
181 "Specific Domain-Subnetwork in which the node resides";
184 type inet:ip-address;
186 "IP address assigned to the node";
191 "Frame Identification Code (FIC)";
196 leaf node-connection-status {
197 type nt:openroadm-node-connection-status;
199 container roadm-attributes {
200 when "../cnet:node-type = 'ROADM'";
202 "Attributes for the ROADM Node.";
203 uses roadm:roadm-node-attributes;
205 container xpdr-attributes {
206 when "../cnet:node-type = 'XPONDER'";
207 uses xpdr:xpdr-node-attributes;
209 container pluggable-attributes {
210 when "../cnet:node-type = 'EXT-PLUGGABLE'";
211 uses plg:pluggable-node-attributes;
213 container plan-due-dates {
214 uses nt:node-due-date-list;
216 container node-maintenance-schedule {
217 uses nt:node-due-date-list;