594ade1e1b97d1a6546e1eb30ce8c4b4ba42c735
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-srg@2021-12-10.yang
1 module org-openroadm-srg {
2   yang-version 1.1;
3   namespace "http://org/openroadm/srg";
4   prefix srg;
5
6   import org-openroadm-common-optical-channel-types {
7     prefix org-openroadm-common-optical-channel-types;
8     revision-date 2021-12-10;
9   }
10
11   organization
12     "OPEN ROADM MSA";
13   contact
14     "OpenROADM.org.";
15   description
16     "YANG definitions for an Add/Drop group in Network Model
17
18      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
19      All other rights reserved.
20
21      Redistribution and use in source and binary forms, with or without modification,
22      are permitted provided that the following conditions are met:
23
24      * Redistributions of source code must retain the above copyright notice, this
25        list of conditions and the following disclaimer.
26      * Redistributions in binary form must reproduce the above copyright notice,
27        this list of conditions and the following disclaimer in the documentation and/or
28        other materials provided with the distribution.
29      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
30        contributors may be used to endorse or promote products derived from this software
31        without specific prior written permission.
32
33      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
34      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
37      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
38      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
39      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
40      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42      POSSIBILITY OF SUCH DAMAGE.";
43
44   revision 2021-12-10 {
45     description
46       "Version 10.1";
47   }
48   revision 2021-09-24 {
49         description
50           "Version 10.0";
51   }
52   revision 2021-03-26 {
53     description
54       "Version 9.0";
55   }
56   revision 2020-05-29 {
57     description
58       "Version 7.1.0";
59   }
60   revision 2020-03-27 {
61     description
62       "Version 7.0.0";
63   }
64   revision 2019-11-29 {
65     description
66       "Version 6.1.0";
67   }
68   revision 2019-09-27 {
69     description
70       "Version 6.0.0";
71   }
72   revision 2019-03-29 {
73     description
74       "Version 5.0.0";
75   }
76   revision 2018-11-30 {
77     description
78       "Version 4.1.0";
79   }
80   revision 2018-09-28 {
81     description
82       "Version 4.0.0";
83   }
84   revision 2018-05-30 {
85     description
86       "Version 3.1.0";
87   }
88   revision 2018-03-30 {
89     description
90       "Version 3.0.0";
91   }
92   revision 2017-12-15 {
93     description
94       "Version 2.2";
95   }
96   revision 2017-09-29 {
97     description
98       "Version 2.1";
99   }
100   revision 2017-07-28 {
101     description
102       "Version 2.0.1 - added revision-date to imports";
103   }
104   revision 2017-06-26 {
105     description
106       "Version 2.0";
107   }
108   revision 2016-10-14 {
109     description
110       "Version 1.2";
111   }
112
113   grouping srg-node-attributes {
114     leaf srg-number {
115       type uint16;
116     }
117     leaf max-pp {
118       type uint32;
119       description
120         "Maximum number of add/drop port pairs in an SRG";
121     }
122     leaf current-provisioned-pp {
123       type uint32;
124       description
125         "current provisioned number of port pair in a given SRG";
126     }
127     leaf wavelength-duplication {
128       type org-openroadm-common-optical-channel-types:wavelength-duplication-type;
129     }
130     leaf-list supported-operational-modes {
131       type string;
132       config true;
133       description
134         "defines the supported openroadm specifications";
135     }
136   }
137 }