blob: 545f5855d109ee080940444a6093ef7d78909a03 [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>";
13 description "none";
14 revision 2018-10-16 {
15 description "ONF Transport API version 2.1.0.
16 - The TAPI YANG models included in this TAPI release (v2.1.0) 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 are not backward compatible with previous TAPI releases.
26 - Changes included in this TAPI release (v2.1.0) are listed in
27 <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
Ai Hamano06163902018-12-06 09:18:20 +090028 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 +090029 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
30 }
31 revision 2018-03-07 {
Ai Hamano06163902018-12-06 09:18:20 +090032 description "ONF Transport API version 2.0.2
33 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090034 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 +090035 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 +090036 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
37 }
38 revision 2018-02-16 {
Ai Hamano06163902018-12-06 09:18:20 +090039 description "ONF Transport API version 2.0.1
40 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090041 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 +090042 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 +090043 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
44 }
45 revision 2018-01-02 {
Ai Hamano06163902018-12-06 09:18:20 +090046 description "ONF Transport API version 2.0.0
47 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090048 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 +090049 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 +090050 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
51 }
hirokid8fd7862018-10-09 15:24:24 +090052
Ai Hamano06163902018-12-06 09:18:20 +090053 /**************************
54 * package type-definitions
55 **************************/
56 identity DIGITAL_SIGNAL_TYPE {
57 base tapi-common:LAYER_PROTOCOL_QUALIFIER;
58 description "none";
59 }
60 identity DIGITAL_SIGNAL_TYPE_GigE {
61 base DIGITAL_SIGNAL_TYPE;
62 description "none";
63 }
64 identity DIGITAL_SIGNAL_TYPE_10_GigE_LAN {
65 base DIGITAL_SIGNAL_TYPE;
66 description "none";
67 }
68 identity DIGITAL_SIGNAL_TYPE_10_GigE_WAN {
69 base DIGITAL_SIGNAL_TYPE;
70 description "none";
71 }
72 identity DIGITAL_SIGNAL_TYPE_40_GigE {
73 base DIGITAL_SIGNAL_TYPE;
74 description "none";
75 }
76 identity DIGITAL_SIGNAL_TYPE_100_GigE {
77 base DIGITAL_SIGNAL_TYPE;
78 description "none";
79 }
80 identity DIGITAL_SIGNAL_TYPE_FC_100 {
81 base DIGITAL_SIGNAL_TYPE;
82 description "none";
83 }
84 identity DIGITAL_SIGNAL_TYPE_FC_200 {
85 base DIGITAL_SIGNAL_TYPE;
86 description "none";
87 }
88 identity DIGITAL_SIGNAL_TYPE_FC_400 {
89 base DIGITAL_SIGNAL_TYPE;
90 description "none";
91 }
92 identity DIGITAL_SIGNAL_TYPE_FC_800 {
93 base DIGITAL_SIGNAL_TYPE;
94 description "none";
95 }
96 identity DIGITAL_SIGNAL_TYPE_FC_1200 {
97 base DIGITAL_SIGNAL_TYPE;
98 description "none";
99 }
100 identity DIGITAL_SIGNAL_TYPE_FC_1600 {
101 base DIGITAL_SIGNAL_TYPE;
102 description "none";
103 }
104 identity DIGITAL_SIGNAL_TYPE_FC_3200 {
105 base DIGITAL_SIGNAL_TYPE;
106 description "none";
107 }
108 identity DIGITAL_SIGNAL_TYPE_STM_1 {
109 base DIGITAL_SIGNAL_TYPE;
110 description "none";
111 }
112 identity DIGITAL_SIGNAL_TYPE_STM_4 {
113 base DIGITAL_SIGNAL_TYPE;
114 description "none";
115 }
116 identity DIGITAL_SIGNAL_TYPE_STM_16 {
117 base DIGITAL_SIGNAL_TYPE;
118 description "none";
119 }
120 identity DIGITAL_SIGNAL_TYPE_STM_64 {
121 base DIGITAL_SIGNAL_TYPE;
122 description "none";
123 }
124 identity DIGITAL_SIGNAL_TYPE_STM_256 {
125 base DIGITAL_SIGNAL_TYPE;
126 description "none";
127 }
128 identity DIGITAL_SIGNAL_TYPE_OC_3 {
129 base DIGITAL_SIGNAL_TYPE;
130 description "none";
131 }
132 identity DIGITAL_SIGNAL_TYPE_OC_12 {
133 base DIGITAL_SIGNAL_TYPE;
134 description "none";
135 }
136 identity DIGITAL_SIGNAL_TYPE_OC_48 {
137 base DIGITAL_SIGNAL_TYPE;
138 description "none";
139 }
140 identity DIGITAL_SIGNAL_TYPE_OC_192 {
141 base DIGITAL_SIGNAL_TYPE;
142 description "none";
143 }
144 identity DIGITAL_SIGNAL_TYPE_OC_768 {
145 base DIGITAL_SIGNAL_TYPE;
146 description "none";
147 }
148 identity DIGITAL_SIGNAL_TYPE_OTU_1 {
149 base DIGITAL_SIGNAL_TYPE;
150 description "none";
151 }
152 identity DIGITAL_SIGNAL_TYPE_OTU_2 {
153 base DIGITAL_SIGNAL_TYPE;
154 description "none";
155 }
156 identity DIGITAL_SIGNAL_TYPE_OTU_2E {
157 base DIGITAL_SIGNAL_TYPE;
158 description "none";
159 }
160 identity DIGITAL_SIGNAL_TYPE_OTU_3 {
161 base DIGITAL_SIGNAL_TYPE;
162 description "none";
163 }
164 identity DIGITAL_SIGNAL_TYPE_OTU_4 {
165 base DIGITAL_SIGNAL_TYPE;
166 description "none";
167 }
168 identity DIGITAL_SIGNAL_TYPE_GPON {
169 base DIGITAL_SIGNAL_TYPE;
170 description "none";
171 }
172 identity DIGITAL_SIGNAL_TYPE_XGPON {
173 base DIGITAL_SIGNAL_TYPE;
174 description "none";
175 }
176 identity DIGITAL_SIGNAL_TYPE_IB_SDR {
177 base DIGITAL_SIGNAL_TYPE;
178 description "none";
179 }
180 identity DIGITAL_SIGNAL_TYPE_IB_DDR {
181 base DIGITAL_SIGNAL_TYPE;
182 description "none";
183 }
184 identity DIGITAL_SIGNAL_TYPE_IB_QDR {
185 base DIGITAL_SIGNAL_TYPE;
186 description "none";
187 }
188 identity DIGITAL_SIGNAL_TYPE_SBCON_ESCON {
189 base DIGITAL_SIGNAL_TYPE;
190 description "none";
191 }
192 identity DIGITAL_SIGNAL_TYPE_DVB_ASI {
193 base DIGITAL_SIGNAL_TYPE;
194 description "none";
195 }
196 identity DIGITAL_SIGNAL_TYPE_SDI {
197 base DIGITAL_SIGNAL_TYPE;
198 description "none";
199 }
200 identity DIGITAL_SIGNAL_TYPE_SDI_1G5 {
201 base DIGITAL_SIGNAL_TYPE;
202 description "none";
203 }
204 identity DIGITAL_SIGNAL_TYPE_SDI_3G {
205 base DIGITAL_SIGNAL_TYPE;
206 description "none";
207 }
208 typedef digital-signal-type {
209 type identityref {
210 base DIGITAL_SIGNAL_TYPE;
211 }
212 description "none";
213 }
hirokid8fd7862018-10-09 15:24:24 +0900214}