Sync Common folder
[transportpce.git] / ordmodels / common / src / main / yang / org-openroadm-switching-pool-types@2017-12-15.yang
1 module org-openroadm-switching-pool-types {
2   namespace "http://org/openroadm/switching-pool-types";
3   prefix org-openroadm-switching-pool-types;
4
5   organization
6     "Open ROADM MSA";
7   contact
8     "OpenROADM.org";
9   description
10     "YANG definitions of common types.
11        
12       Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, 
13       AT&T Intellectual Property.  All other rights reserved.
14       
15       Redistribution and use in source and binary forms, with or without modification, 
16       * Redistributions of source code must retain the above copyright notice, this 
17         list of conditions and the following disclaimer.
18       * Redistributions in binary form must reproduce the above copyright notice, 
19         this list of conditions and the following disclaimer in the documentation and/or 
20         other materials provided with the distribution.
21       * Neither the Members of the Open ROADM MSA Agreement nor the names of its 
22         contributors may be used to endorse or promote products derived from this software 
23         without specific prior written permission.
24       
25       THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS'' 
26       AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
27       WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
28       IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT, 
29       INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
30       NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA, 
31       OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
32       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
33       ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
34       POSSIBILITY OF SUCH DAMAGE";
35
36   revision 2017-12-15 {
37     description
38       "Version 2.2";
39   }
40
41   typedef switching-pool-types {
42     type enumeration {
43       enum "non-blocking" {
44         value 1;
45         description
46           "Single non-blocking element";
47       }
48       enum "blocking" {
49         value 2;
50         description
51           "Multiple connected non-blocking lists";
52       }
53     }
54   }
55 }