5f9b6d8e4ecfa28faca721ded1d5c1b9ffddd9ae
[transportpce.git] / ordmodels / network / src / main / yang / org-openroadm-external-pluggable@2017-09-29.yang
1 module org-openroadm-external-pluggable {
2   namespace "http://org/openroadm/external/pluggable";
3   prefix plg;
4
5   import org-openroadm-common-types {
6     prefix org-openroadm-common-types;
7     revision-date 2017-09-29;
8   }
9
10   organization
11     "OPEN ROADM MSA";
12   contact
13     "OpenROADM.org.";
14   description
15     "YANG definitions for External Pluggable
16
17
18      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
19      AT&T Intellectual Property.  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 2017-09-29 {
45     description
46       "Version 2.1";
47   }
48   revision 2017-07-28 {
49     description
50       "Version 2.0.1 - added revision-date to imports";
51   }
52   revision 2017-06-26 {
53     description
54       "Version 2.0";
55   }
56   revision 2016-10-14 {
57     description
58       "Version 1.2";
59   }
60
61   grouping pluggable-node-attributes {
62     leaf pluggable-id {
63       type string;
64       description
65         "Network-wide unique identifier for a pluggable";
66     }
67     leaf customer-code {
68       type string;
69       description
70         "Owner of the pluggable";
71     }
72     container tail {
73       leaf client-equipment {
74         type string;
75       }
76       leaf client-equipment-id {
77         type string;
78       }
79       leaf clfi {
80         type string;
81       }
82     }
83   }
84
85   grouping pluggable-tp-attributes {
86     leaf rate {
87       type identityref {
88         base org-openroadm-common-types:och-rate-identity;
89       }
90       description
91         "rate";
92     }
93     leaf modulation-format {
94       type org-openroadm-common-types:modulation-format;
95     }
96     leaf optic {
97       type org-openroadm-common-types:optic-types;
98     }
99     leaf state {
100       type org-openroadm-common-types:state;
101       description
102         "A xponder can be in one of the following
103                states";
104     }
105   }
106 }