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