blob: 77f5a8b55f52c41afd77a89fb4cd4c81d18fe407 [file] [log] [blame]
hirokid8fd7862018-10-09 15:24:24 +09001module tapi-dsr {
2 namespace "urn:onf:otcc:yang:tapi-dsr";
3 prefix tapi-dsr;
4 import tapi-common {
5 prefix tapi-common;
6 }
7 organization "ONF OTCC (Open Transport Configuration & Control) Project";
8 contact "
9 Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
10 Project List: <mailto:transport-api@opennetworking.org>
11 Editor: Karthik Sethuraman
12 <mailto:karthik.sethuraman@necam.com>";
hiroki96ab3c22018-12-11 14:10:52 -080013 description "
14 This module contains TAPI DSR Model definitions.
15 Source: TapiDsr.uml
16 - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
17 - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
18 <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
19 and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
20 <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
21 - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
22 As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
23 - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
24 The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
25 YANG models included in this release may not be backward compatible with previous TAPI releases.
26 Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
27 License: This module is distributed under the Apache License 2.0";
28 revision 2018-12-10 {
29 description "ONF Transport API version 2.1.1.
30 Changes included in this TAPI release (v2.1.1) are listed in
31 <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
32 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
33 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
34 }
hirokid8fd7862018-10-09 15:24:24 +090035 revision 2018-10-16 {
36 description "ONF Transport API version 2.1.0.
hiroki96ab3c22018-12-11 14:10:52 -080037 Changes included in this TAPI release (v2.1.0) are listed in
38 <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
Ai Hamano06163902018-12-06 09:18:20 +090039 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
hirokid8fd7862018-10-09 15:24:24 +090040 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
41 }
42 revision 2018-03-07 {
Ai Hamano06163902018-12-06 09:18:20 +090043 description "ONF Transport API version 2.0.2
44 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090045 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
Ai Hamano06163902018-12-06 09:18:20 +090046 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
hirokid8fd7862018-10-09 15:24:24 +090047 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
48 }
49 revision 2018-02-16 {
Ai Hamano06163902018-12-06 09:18:20 +090050 description "ONF Transport API version 2.0.1
51 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090052 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
Ai Hamano06163902018-12-06 09:18:20 +090053 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
hirokid8fd7862018-10-09 15:24:24 +090054 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
55 }
56 revision 2018-01-02 {
Ai Hamano06163902018-12-06 09:18:20 +090057 description "ONF Transport API version 2.0.0
58 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090059 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
Ai Hamano06163902018-12-06 09:18:20 +090060 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
hirokid8fd7862018-10-09 15:24:24 +090061 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
62 }
hirokid8fd7862018-10-09 15:24:24 +090063
Ai Hamano06163902018-12-06 09:18:20 +090064 /**************************
65 * package type-definitions
66 **************************/
67 identity DIGITAL_SIGNAL_TYPE {
68 base tapi-common:LAYER_PROTOCOL_QUALIFIER;
69 description "none";
70 }
71 identity DIGITAL_SIGNAL_TYPE_GigE {
72 base DIGITAL_SIGNAL_TYPE;
73 description "none";
74 }
75 identity DIGITAL_SIGNAL_TYPE_10_GigE_LAN {
76 base DIGITAL_SIGNAL_TYPE;
77 description "none";
78 }
79 identity DIGITAL_SIGNAL_TYPE_10_GigE_WAN {
80 base DIGITAL_SIGNAL_TYPE;
81 description "none";
82 }
83 identity DIGITAL_SIGNAL_TYPE_40_GigE {
84 base DIGITAL_SIGNAL_TYPE;
85 description "none";
86 }
87 identity DIGITAL_SIGNAL_TYPE_100_GigE {
88 base DIGITAL_SIGNAL_TYPE;
89 description "none";
90 }
91 identity DIGITAL_SIGNAL_TYPE_FC_100 {
92 base DIGITAL_SIGNAL_TYPE;
93 description "none";
94 }
95 identity DIGITAL_SIGNAL_TYPE_FC_200 {
96 base DIGITAL_SIGNAL_TYPE;
97 description "none";
98 }
99 identity DIGITAL_SIGNAL_TYPE_FC_400 {
100 base DIGITAL_SIGNAL_TYPE;
101 description "none";
102 }
103 identity DIGITAL_SIGNAL_TYPE_FC_800 {
104 base DIGITAL_SIGNAL_TYPE;
105 description "none";
106 }
107 identity DIGITAL_SIGNAL_TYPE_FC_1200 {
108 base DIGITAL_SIGNAL_TYPE;
109 description "none";
110 }
111 identity DIGITAL_SIGNAL_TYPE_FC_1600 {
112 base DIGITAL_SIGNAL_TYPE;
113 description "none";
114 }
115 identity DIGITAL_SIGNAL_TYPE_FC_3200 {
116 base DIGITAL_SIGNAL_TYPE;
117 description "none";
118 }
119 identity DIGITAL_SIGNAL_TYPE_STM_1 {
120 base DIGITAL_SIGNAL_TYPE;
121 description "none";
122 }
123 identity DIGITAL_SIGNAL_TYPE_STM_4 {
124 base DIGITAL_SIGNAL_TYPE;
125 description "none";
126 }
127 identity DIGITAL_SIGNAL_TYPE_STM_16 {
128 base DIGITAL_SIGNAL_TYPE;
129 description "none";
130 }
131 identity DIGITAL_SIGNAL_TYPE_STM_64 {
132 base DIGITAL_SIGNAL_TYPE;
133 description "none";
134 }
135 identity DIGITAL_SIGNAL_TYPE_STM_256 {
136 base DIGITAL_SIGNAL_TYPE;
137 description "none";
138 }
139 identity DIGITAL_SIGNAL_TYPE_OC_3 {
140 base DIGITAL_SIGNAL_TYPE;
141 description "none";
142 }
143 identity DIGITAL_SIGNAL_TYPE_OC_12 {
144 base DIGITAL_SIGNAL_TYPE;
145 description "none";
146 }
147 identity DIGITAL_SIGNAL_TYPE_OC_48 {
148 base DIGITAL_SIGNAL_TYPE;
149 description "none";
150 }
151 identity DIGITAL_SIGNAL_TYPE_OC_192 {
152 base DIGITAL_SIGNAL_TYPE;
153 description "none";
154 }
155 identity DIGITAL_SIGNAL_TYPE_OC_768 {
156 base DIGITAL_SIGNAL_TYPE;
157 description "none";
158 }
159 identity DIGITAL_SIGNAL_TYPE_OTU_1 {
160 base DIGITAL_SIGNAL_TYPE;
161 description "none";
162 }
163 identity DIGITAL_SIGNAL_TYPE_OTU_2 {
164 base DIGITAL_SIGNAL_TYPE;
165 description "none";
166 }
167 identity DIGITAL_SIGNAL_TYPE_OTU_2E {
168 base DIGITAL_SIGNAL_TYPE;
169 description "none";
170 }
171 identity DIGITAL_SIGNAL_TYPE_OTU_3 {
172 base DIGITAL_SIGNAL_TYPE;
173 description "none";
174 }
175 identity DIGITAL_SIGNAL_TYPE_OTU_4 {
176 base DIGITAL_SIGNAL_TYPE;
177 description "none";
178 }
179 identity DIGITAL_SIGNAL_TYPE_GPON {
180 base DIGITAL_SIGNAL_TYPE;
181 description "none";
182 }
183 identity DIGITAL_SIGNAL_TYPE_XGPON {
184 base DIGITAL_SIGNAL_TYPE;
185 description "none";
186 }
187 identity DIGITAL_SIGNAL_TYPE_IB_SDR {
188 base DIGITAL_SIGNAL_TYPE;
189 description "none";
190 }
191 identity DIGITAL_SIGNAL_TYPE_IB_DDR {
192 base DIGITAL_SIGNAL_TYPE;
193 description "none";
194 }
195 identity DIGITAL_SIGNAL_TYPE_IB_QDR {
196 base DIGITAL_SIGNAL_TYPE;
197 description "none";
198 }
199 identity DIGITAL_SIGNAL_TYPE_SBCON_ESCON {
200 base DIGITAL_SIGNAL_TYPE;
201 description "none";
202 }
203 identity DIGITAL_SIGNAL_TYPE_DVB_ASI {
204 base DIGITAL_SIGNAL_TYPE;
205 description "none";
206 }
207 identity DIGITAL_SIGNAL_TYPE_SDI {
208 base DIGITAL_SIGNAL_TYPE;
209 description "none";
210 }
211 identity DIGITAL_SIGNAL_TYPE_SDI_1G5 {
212 base DIGITAL_SIGNAL_TYPE;
213 description "none";
214 }
215 identity DIGITAL_SIGNAL_TYPE_SDI_3G {
216 base DIGITAL_SIGNAL_TYPE;
217 description "none";
218 }
219 typedef digital-signal-type {
220 type identityref {
221 base DIGITAL_SIGNAL_TYPE;
222 }
223 description "none";
224 }
hirokid8fd7862018-10-09 15:24:24 +0900225}