6dbd262d70a80c9e910e07e5072bcb6aaa17ea59
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-clli-network@2017-06-26.yang
1 module org-openroadm-clli-network {
2   namespace "http://org/openroadm/clli/network";
3   prefix cn;
4
5   import ietf-network {
6     prefix nd;
7     revision-date 2015-06-08;
8   }
9
10   organization
11     "Open ROADM MSA";
12   contact
13     "OpenROADM.org.";
14   description
15     "YANG definitions for a CLLI Network
16
17      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
18      AT&T Intellectual Property.  All other rights reserved.
19
20      Redistribution and use in source and binary forms, with or without modification,
21      are permitted provided that the following conditions are met:
22
23      * Redistributions of source code must retain the above copyright notice, this
24        list of conditions and the following disclaimer.
25      * Redistributions in binary form must reproduce the above copyright notice,
26        this list of conditions and the following disclaimer in the documentation and/or
27        other materials provided with the distribution.
28      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
29        contributors may be used to endorse or promote products derived from this software
30        without specific prior written permission.
31
32      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
33      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
36      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
38      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
39      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41      POSSIBILITY OF SUCH DAMAGE.";
42
43   revision 2017-06-26 {
44     description
45       "Version 2.0";
46   }
47
48   augment "/nd:network/nd:network-types" {
49     description
50       "Introduce new network type for the Open ROADM optical network";
51     container clli-network {
52       presence "indicates optical network of Open ROADMs";
53       description
54         "The presence of the container node indicates Open ROADM
55          network";
56     }
57   }
58   augment "/nd:network/nd:node" {
59     when "../nd:network-types/clli-network";
60     description
61       "Augment the generic network node with Open ROADM attributes.";
62     leaf clli {
63       type string;
64       description
65         "CLLI identifier";
66     }
67   }
68 }