1 module org-openroadm-srg {
3 namespace "http://org/openroadm/srg";
6 import org-openroadm-network-types {
7 prefix org-openroadm-network-types;
8 revision-date 2018-11-30;
10 import org-openroadm-common-optical-channel-types {
11 prefix org-openroadm-common-optical-channel-types;
12 revision-date 2018-11-30;
20 "YANG definitions for an Add/Drop group in Network Model
22 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
23 All other rights reserved.
25 Redistribution and use in source and binary forms, with or without modification,
26 are permitted provided that the following conditions are met:
28 * Redistributions of source code must retain the above copyright notice, this
29 list of conditions and the following disclaimer.
30 * Redistributions in binary form must reproduce the above copyright notice,
31 this list of conditions and the following disclaimer in the documentation and/or
32 other materials provided with the distribution.
33 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
34 contributors may be used to endorse or promote products derived from this software
35 without specific prior written permission.
37 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
38 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
39 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
40 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
41 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
43 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
44 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
45 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
46 POSSIBILITY OF SUCH DAMAGE.";
74 "Version 2.0.1 - added revision-date to imports";
85 grouping srg-node-attributes {
92 "Maximum number of add/drop port pairs in an SRG";
94 leaf current-provisioned-pp {
97 "current provisioned number of port pair in a given SRG";
99 list available-wavelengths {
102 "This list is created to accommodate fix grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
103 index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
104 will hold list of available spectra";
105 uses org-openroadm-network-types:wavelengths;
107 leaf wavelength-duplication {
108 type org-openroadm-common-optical-channel-types:wavelength-duplication-type;