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 2018-11-30;
14 import org-openroadm-roadm {
16 revision-date 2018-11-30;
18 import org-openroadm-external-pluggable {
20 revision-date 2018-11-30;
22 import org-openroadm-xponder {
24 revision-date 2018-11-30;
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 2018-11-30;
34 import org-openroadm-common-network {
36 revision-date 2018-11-30;
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.";
96 "Version 2.0.1 - added revision-date to imports";
102 revision 2016-10-14 {
107 deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
110 "(not /nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network) or
111 (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network and
112 (../cnet:node-type = 'ROADM' or ../cnet:node-type = 'XPONDER' or ../cnet:node-type = 'EXT-PLUGGABLE'))" {
113 error-message "Invalid node type for openroadm-network";
115 "The valid node types in the ROADM network are XPONDER, EXT-PLUGGABLE and ROADM.";
119 augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
121 "Introduce new network type for the Open ROADM optical network";
122 container openroadm-network {
123 presence "indicates optical network of Open ROADMs";
125 "The presence of the container node indicates Open ROADM
129 augment "/nd:networks/nd:network/nd:node" {
130 when "../nd:network-types/cnet:openroadm-common-network/openroadm-network";
132 "Augment the generic network node with Open ROADM attributes.";
134 type nt:openroadm-node-type;
135 must "(../node-type = 'ROADM' or ../node-type = 'XPONDER' or ../node-type = 'EXT-PLUGGABLE')" {
136 error-message "Invalid node type for openroadm-network";
140 "A component of the network topology.
141 Valid node types are XPONDER, EXT-PLUGGABLE and ROADM.
142 Once the node-type is configured, it should not be modified.";
144 leaf software-version {
147 "Vendor software version";
149 leaf openroadm-version {
150 type org-openroadm-common-types:openroadm-version-type;
152 "OpenROADM software version";
157 "Identifier of the supplier";
162 "Identifier of the supplier's equipment";
164 leaf domain-subnetwork {
167 "Specific Domain-Subnetwork in which the node resides";
170 type inet:ip-address;
172 "IP address assigned to the node";
177 "Frame Identification Code (FIC)";
183 type nt:openroadm-node-status;
186 leaf node-connection-status {
187 type nt:openroadm-node-connection-status;
189 container roadm-attributes {
190 when "../cnet:node-type = 'ROADM'";
192 "Attributes for the ROADM Node.";
193 uses roadm:roadm-node-attributes;
195 container xpdr-attributes {
196 when "../cnet:node-type = 'XPONDER'";
197 uses xpdr:xpdr-node-attributes;
199 container pluggable-attributes {
200 when "../cnet:node-type = 'EXT-PLUGGABLE'";
201 uses plg:pluggable-node-attributes;
203 container plan-due-dates {
204 uses nt:node-due-date-list;
206 container node-maintenance-schedule {
207 uses nt:node-due-date-list;