1 module org-openroadm-common-network {
3 namespace "http://org/openroadm/common/network";
8 revision-date 2018-02-26;
10 import ietf-network-topology {
12 revision-date 2018-02-26;
14 import org-openroadm-network-types {
15 prefix org-openroadm-network-types;
16 revision-date 2018-11-30;
18 import org-openroadm-common-state-types {
19 prefix org-openroadm-common-state-types;
20 revision-date 2018-11-30;
22 import org-openroadm-equipment-states-types {
23 prefix org-openroadm-equipment-states-types;
24 revision-date 2018-11-30;
32 "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
33 All other rights reserved.
35 Redistribution and use in source and binary forms, with or without modification,
36 are permitted provided that the following conditions are met:
38 * Redistributions of source code must retain the above copyright notice, this
39 list of conditions and the following disclaimer.
40 * Redistributions in binary form must reproduce the above copyright notice,
41 this list of conditions and the following disclaimer in the documentation and/or
42 other materials provided with the distribution.
43 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
44 contributors may be used to endorse or promote products derived from this software
45 without specific prior written permission.
47 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
48 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
49 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
50 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
51 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
52 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
53 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
54 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
55 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
56 POSSIBILITY OF SUCH DAMAGE.";
75 augment "/nd:networks/nd:network/nd:network-types" {
77 "Introduce new network type for the Open ROADM common network";
78 container openroadm-common-network {
79 presence "indicates common network of Open ROADMs";
81 "The presence of the container node indicates Open ROADM common network";
84 augment "/nd:networks/nd:network/nd:node" {
85 when "../nd:network-types/openroadm-common-network";
87 "Augment the generic network node with Open ROADM common attributes.";
89 type org-openroadm-network-types:openroadm-node-type;
91 "A component of the network topology. Once the node-type is configured, it should not be modified.";
94 type org-openroadm-network-types:openroadm-node-status;
97 leaf lifecycle-state {
98 type org-openroadm-common-state-types:lifecycle-state;
100 "Lifecycle State of a node. Whether it is planned, deployed, in maintenance, etc.";
103 augment "/nd:networks/nd:network/nd:node/nwt:termination-point" {
104 when "../../nd:network-types/openroadm-common-network";
106 type org-openroadm-network-types:openroadm-tp-type;
108 "The type of a termination point in the ROADM topology.";
113 "Shared Risk Group identifier. All ports in a circuit-pack will have same srg-id";
115 leaf lifecycle-state {
116 type org-openroadm-common-state-types:lifecycle-state;
118 "Lifecycle State of a termination point. Whether it is planned, deployed, in maintenance, etc.";
121 augment "/nd:networks/nd:network/nwt:link" {
122 when "../nd:network-types/openroadm-common-network";
124 "This augmentation defines common link attributes in the Open ROADM common network";
126 type org-openroadm-network-types:openroadm-link-type;
133 path "../../nwt:link/nwt:link-id";
136 "optional - pointer to reverse link in case of bidirectional link. Supersedes opposite-link
137 originally defined in OMS-attributes container, to apply to any kind of link in the topology";
152 "defines a Traffic Engineering metric which could be used for any type of link.
153 Supersedes TE-metric originally defined in OMS-attributes grouping";
155 list link-concatenation {
160 "unique identifier for SRLG";
165 "fiber length in meters";
168 leaf administrative-group {
171 "according to RFC 3630 definition";
173 leaf operational-state {
174 type org-openroadm-common-state-types:state;
176 leaf administrative-state {
177 type org-openroadm-equipment-states-types:admin-states;
179 leaf lifecycle-state {
180 type org-openroadm-common-state-types:lifecycle-state;
182 "Lifecycle State of a link. Whether it is planned, deployed, in maintenance, etc.";