Update Renderer Module
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-srg@2017-09-29.yang
1 module org-openroadm-srg {
2   namespace "http://org/openroadm/srg";
3   prefix srg;
4
5   import org-openroadm-network-types {
6     prefix org-openroadm-network-types;
7     revision-date 2017-09-29;
8   }
9   import org-openroadm-common-types {
10     prefix org-openroadm-common-types;
11     revision-date 2017-09-29;
12   }
13
14   organization
15     "OPEN ROADM MSA";
16   contact
17     "OpenROADM.org.";
18   description
19     "YANG definitions for an Add/Drop group in Network Model
20
21      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
22      AT&T Intellectual Property.  All other rights reserved.
23
24      Redistribution and use in source and binary forms, with or without modification,
25      are permitted provided that the following conditions are met:
26
27      * Redistributions of source code must retain the above copyright notice, this
28        list of conditions and the following disclaimer.
29      * Redistributions in binary form must reproduce the above copyright notice,
30        this list of conditions and the following disclaimer in the documentation and/or
31        other materials provided with the distribution.
32      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
33        contributors may be used to endorse or promote products derived from this software
34        without specific prior written permission.
35
36      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
37      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
38      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
39      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
40      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
41      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
42      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
43      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
45      POSSIBILITY OF SUCH DAMAGE.";
46
47   revision 2017-09-29 {
48     description
49       "Version 2.1";
50   }
51   revision 2017-07-28 {
52     description
53       "Version 2.0.1 - added revision-date to imports";
54   }
55   revision 2017-06-26 {
56     description
57       "Version 2.0";
58   }
59   revision 2016-10-14 {
60     description
61       "Version 1.2";
62   }
63
64   grouping srg-node-attributes {
65     leaf srg-number {
66       type uint16;
67     }
68     leaf max-pp {
69       type uint32;
70       description
71         "Maximum number of add/drop port pairs in an SRG";
72     }
73     leaf current-provisioned-pp {
74       type uint32;
75       description
76         "current provisioned number of port pair in a given SRG";
77     }
78     list available-wavelengths {
79       key "index";
80       uses org-openroadm-network-types:wavelengths;
81      description
82         "This list is created to accommodate fix grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
83       index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
84       will hold list of available spectrums";
85     }
86     leaf wavelength-duplication {
87       type org-openroadm-common-types:wavelength-duplication-type;
88     }
89   }
90 }