1 module org-openroadm-otn-common-types {
2 namespace "http://org/openroadm/otn-common-types";
3 prefix org-openroadm-otn-common-types;
10 "YANG definitions for common otn related type definitions.
12 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
13 AT&T Intellectual Property. All other rights reserved.
15 Redistribution and use in source and binary forms, with or without modification,
16 are permitted provided that the following conditions are met:
18 * Redistributions of source code must retain the above copyright notice, this
19 list of conditions and the following disclaimer.
20 * Redistributions in binary form must reproduce the above copyright notice,
21 this list of conditions and the following disclaimer in the documentation and/or
22 other materials provided with the distribution.
23 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
24 contributors may be used to endorse or promote products derived from this software
25 without specific prior written permission.
27 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
28 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
31 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
32 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
33 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
34 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 POSSIBILITY OF SUCH DAMAGE.
38 Also contains code components extracted from IETF Interfaces. These code components
39 are copyrighted and licensed as follows:
41 Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
44 This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
45 to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
46 publication of this document. Please review these documents carefully, as they
47 describe your rights and restrictions with respect to this document. Code Components
48 extracted from this document must include Simplified BSD License text as described in
49 Section 4.e of the Trust Legal Provisions and are provided without warranty as
50 described in the Simplified BSD License.";
57 identity otu-rate-identity {
59 "A unique rate identification of the OTU.";
63 base otu-rate-identity;
65 "Identity for an OTU4";
69 base otu-rate-identity;
71 "Identity for an OTU3";
75 base otu-rate-identity;
77 "Identity for an OTU2";
81 base otu-rate-identity;
83 "Identity for an OTU2e";
87 base otu-rate-identity;
89 "Identity for an OTU1";
93 base otu-rate-identity;
95 "Identity for an OTU0";
99 base otu-rate-identity;
101 "Identity for an OTUflex";
104 identity odu-payload-type-identity {
106 "A unique payload type identification of the ODU.";
110 base odu-payload-type-identity;
112 "Identity for an ODU Payload 20";
116 base odu-payload-type-identity;
118 "Identity for an ODU Payload 21";
122 base odu-payload-type-identity;
124 "Identity for an ODU Payload 22";
127 identity odu-rate-identity {
129 "A unique rate identification of the ODU.";
133 base odu-rate-identity;
135 "Identity for an ODU4";
139 base odu-rate-identity;
141 "Identity for an ODU3";
145 base odu-rate-identity;
147 "Identity for an ODU2";
151 base odu-rate-identity;
153 "Identity for an ODU2e";
157 base odu-rate-identity;
159 "Identity for an ODU1";
163 base odu-rate-identity;
165 "Identity for an ODU0";
168 identity ODUflex-cbr {
169 base odu-rate-identity;
171 "Identity for an ODUflex-cbr";
174 identity ODUflex-gfp {
175 base odu-rate-identity;
177 "Identity for an ODUflex-gfp";
180 identity odtu-type-identity {
182 "A unique identification for the MSI odtu type.";
185 identity ODTU4.ts-Allocated {
186 base odtu-type-identity;
188 "OPU4 MSI - ODTU4.ts, OPU4 MSI TS is occupied/allocated.
189 Applies to all ODTU4.x mappings";
193 base odtu-type-identity;
199 base odtu-type-identity;
205 base odtu-type-identity;
211 base odtu-type-identity;
217 base odtu-type-identity;
223 base odtu-type-identity;
228 identity unallocated {
229 base odtu-type-identity;
231 "Unallocated MSI type";
234 identity odu-function-identity {
236 "A unique identification of the ODUk interface function.";
240 base odu-function-identity;
242 "ODU TTP facility facing trail termination";
246 base odu-function-identity;
248 "ODU CTP connection termination";
251 identity ODU-TTP-CTP {
252 base odu-function-identity;
254 "ODU CTP mapper level connection termination with trail termination and client adaptation";