blob: 5ae8fe1c008fa9e9066e03a39d14907a16305016 [file] [log] [blame]
hirokid8fd7862018-10-09 15:24:24 +09001module tapi-photonic-media {
2 namespace "urn:onf:otcc:yang:tapi-photonic-media";
3 prefix tapi-photonic-media;
4 import tapi-common {
5 prefix tapi-common;
6 }
7 import tapi-connectivity {
8 prefix tapi-connectivity;
9 }
10 import tapi-topology {
11 prefix tapi-topology;
12 }
13 organization "ONF OTCC (Open Transport Configuration & Control) Project";
14 contact "
15 Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
16 Project List: <mailto:transport-api@opennetworking.org>
17 Editor: Karthik Sethuraman
18 <mailto:karthik.sethuraman@necam.com>";
19 description "
20 This module contains TAPI PhotonicMedia Model definitions.
21 Source: TapiPhotonicMedia.uml
22 Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
23 License: This module is distributed under the Apache License 2.0";
24 revision 2018-10-16 {
25 description "ONF Transport API version 2.1.0.
26 - The TAPI YANG models included in this TAPI release (v2.1.0) are a *normative* part of the TAPI SDK.
27 - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
28 <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
29 and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
30 <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
31 - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
32 As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
33 - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
34 The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
35 YANG models included in this release are not backward compatible with previous TAPI releases.
36 - Changes included in this TAPI release (v2.1.0) are listed in
37 <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
Ai Hamano06163902018-12-06 09:18:20 +090038 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 +090039 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
40 }
41 revision 2018-03-07 {
Ai Hamano06163902018-12-06 09:18:20 +090042 description "ONF Transport API version 2.0.2
43 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090044 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 +090045 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 +090046 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
47 }
48 revision 2018-02-16 {
Ai Hamano06163902018-12-06 09:18:20 +090049 description "ONF Transport API version 2.0.1
50 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090051 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 +090052 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 +090053 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
54 }
55 revision 2018-01-02 {
Ai Hamano06163902018-12-06 09:18:20 +090056 description "ONF Transport API version 2.0.0
57 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
hirokid8fd7862018-10-09 15:24:24 +090058 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 +090059 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 +090060 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
61 }
62 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
63 container otsi-connection-end-point-spec {
64 uses otsi-connection-end-point-spec;
65 description "Augments the base LayerProtocol information in ConnectionEndPoint with OCH-specific information";
66 }
67 description "Augments the base LayerProtocol information in ConnectionEndPoint with OCH-specific information";
68 }
69 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
70 container media-channel-node-edge-point-spec {
71 uses media-channel-node-edge-point-spec;
72 description "Augments the base LayerProtocol information in NodeEdgePoint with OCH-specific information";
73 }
74 description "Augments the base LayerProtocol information in NodeEdgePoint with OCH-specific information";
75 }
76 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
77 container otsi-assembly-connection-end-point-spec {
78 uses otsi-assembly-connection-end-point-spec;
79 description "none";
80 }
81 description "none";
82 }
83 augment "/tapi-common:context/tapi-common:service-interface-point" {
84 container otsi-service-interface-point-spec {
85 uses otsi-service-interface-point-spec;
86 description "none";
87 }
88 description "none";
89 }
90 augment "/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
91 container otsi-connectivity-service-end-point-spec {
92 uses otsi-connectivity-service-end-point-spec;
93 description "none";
94 }
95 description "none";
96 }
97 augment "/tapi-common:context/tapi-common:service-interface-point" {
98 container media-channel-service-interface-point-spec {
99 uses media-channel-service-interface-point-spec;
100 description "none";
101 }
102 description "none";
103 }
104 augment "/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
105 container media-channel-service-interface-point-spec {
106 uses media-channel-service-interface-point-spec;
107 description "none";
108 }
109 description "none";
110 }
111 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
112 container media-channel-connection-end-point-spec {
113 uses media-channel-connection-end-point-spec;
114 description "none";
115 }
116 description "none";
117 }
118 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
119 container ots-connection-end-point-spec {
120 uses ots-connection-end-point-spec;
121 description "none";
122 }
123 description "none";
124 }
125 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
126 container media-channel-assembly-spec {
127 uses media-channel-assembly-spec;
128 description "none";
129 }
130 description "none";
131 }
Ai Hamano933b0fe2018-11-30 11:22:37 +0900132 augment "/tapi-common:get-service-interface-point-list/tapi-common:output/tapi-common:sip" {
133 container otsi-service-interface-point-spec {
134 uses otsi-service-interface-point-spec;
135 description "none";
136 }
137 description "none";
138 }
139 augment "/tapi-common:get-service-interface-point-details/tapi-common:output/tapi-common:sip" {
140 container otsi-service-interface-point-spec {
141 uses otsi-service-interface-point-spec;
142 description "none";
143 }
144 description "none";
145 }
146 augment "/tapi-topology:get-node-edge-point-details/tapi-topology:output/tapi-topology:node-edge-point" {
147 container media-channel-node-edge-point-spec {
148 uses media-channel-node-edge-point-spec;
149 description "none";
150 }
151 description "none";
152 }
153 augment "/tapi-connectivity:get-connectivity-service-list/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
154 container otsi-connectivity-service-end-point-spec {
155 uses otsi-connectivity-service-end-point-spec;
156 description "none";
157 }
158 description "none";
159 }
160 augment "/tapi-connectivity:get-connectivity-service-details/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
161 container otsi-connectivity-service-end-point-spec {
162 uses otsi-connectivity-service-end-point-spec;
163 description "none";
164 }
165 description "none";
166 }
167 augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
168 container media-channel-connectivity-service-end-point-spec {
169 uses media-channel-connectivity-service-end-point-spec;
170 description "none";
171 }
172 description "none";
173 }
174 augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
175 container media-channel-connectivity-service-end-point-spec {
176 uses media-channel-connectivity-service-end-point-spec;
177 description "none";
178 }
179 description "none";
180 }
181 augment "/tapi-connectivity:get-connectivity-service-details/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
182 container media-channel-connectivity-service-end-point-spec {
183 uses media-channel-connectivity-service-end-point-spec;
184 description "none";
185 }
186 description "none";
187 }
188 augment "/tapi-connectivity:get-connectivity-service-list/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
189 container media-channel-connectivity-service-end-point-spec {
190 uses media-channel-connectivity-service-end-point-spec;
191 description "none";
192 }
193 description "none";
194 }
195 augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
196 container otsi-connectivity-service-end-point-spec {
197 uses otsi-connectivity-service-end-point-spec;
198 description "none";
199 }
200 description "none";
201 }
202 augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
203 container otsi-connectivity-service-end-point-spec {
204 uses otsi-connectivity-service-end-point-spec;
205 description "none";
206 }
207 description "none";
208 }
209 augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
210 container media-channel-connectivity-service-end-point-spec {
211 uses media-channel-connectivity-service-end-point-spec;
212 description "none";
213 }
214 description "none";
215 }
216 augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
217 container otsi-connectivity-service-end-point-spec {
218 uses otsi-connectivity-service-end-point-spec;
219 description "none";
220 }
221 description "none";
222 }
223 augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
224 container media-channel-connectivity-service-end-point-spec {
225 uses media-channel-connectivity-service-end-point-spec;
226 description "none";
227 }
228 description "none";
229 }
230 augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
231 container otsi-connectivity-service-end-point-spec {
232 uses otsi-connectivity-service-end-point-spec;
233 description "none";
234 }
235 description "none";
236 }
237 augment "/tapi-common:get-service-interface-point-details/tapi-common:output/tapi-common:sip" {
238 container media-channel-service-interface-point-spec {
239 uses media-channel-service-interface-point-spec;
240 description "none";
241 }
242 description "none";
243 }
244 augment "/tapi-common:get-service-interface-point-list/tapi-common:output/tapi-common:sip" {
245 container media-channel-service-interface-point-spec {
246 uses media-channel-service-interface-point-spec;
247 description "none";
248 }
249 description "none";
250 }
251 augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
252 container media-channel-connection-end-point-spec {
253 uses media-channel-connection-end-point-spec;
254 description "none";
255 }
256 description "none";
257 }
258 augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
259 container otsi-assembly-connection-end-point-spec {
260 uses otsi-assembly-connection-end-point-spec;
261 description "none";
262 }
263 description "none";
264 }
265 augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
266 container otsi-connection-end-point-spec {
267 uses otsi-connection-end-point-spec;
268 description "none";
269 }
270 description "none";
271 }
Ai Hamano06163902018-12-06 09:18:20 +0900272
273 /**************************
hirokid8fd7862018-10-09 15:24:24 +0900274 * package object-classes
Ai Hamano06163902018-12-06 09:18:20 +0900275 **************************/
276 grouping otsi-gserver-adaptation-pac {
277 leaf number-of-otsi {
278 type uint64;
279 config false;
hirokid8fd7862018-10-09 15:24:24 +0900280 description "none";
281 }
Ai Hamano06163902018-12-06 09:18:20 +0900282 description "none";
283 }
284 grouping otsi-connection-end-point-spec {
285 container otsi-termination {
286 config false;
287 uses otsi-termination-pac;
hirokid8fd7862018-10-09 15:24:24 +0900288 description "none";
289 }
Ai Hamano06163902018-12-06 09:18:20 +0900290 description "none";
291 }
292 grouping otsi-termination-pac {
293 container selected-central-frequency {
294 config false;
295 uses central-frequency;
hirokid8fd7862018-10-09 15:24:24 +0900296 description "none";
297 }
Ai Hamano06163902018-12-06 09:18:20 +0900298 container selected-application-identifier {
299 config false;
300 uses application-identifier;
301 description "This attribute indicates the selected Application Identifier that is used by the OCh trail termination function. The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
302 }
303 leaf selected-modulation {
304 type modulation-technique;
305 default "UNDEFINED";
306 config false;
307 description "This parameter defines the modulation used at the source";
308 }
309 container selected-spectrum {
310 config false;
311 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900312 description "none";
313 }
Ai Hamano06163902018-12-06 09:18:20 +0900314 container transmited-power {
315 config false;
316 uses power-properties-pac;
317 description "Measured power at the Transmitter.";
318 }
319 container received-power {
320 uses power-properties-pac;
hirokid8fd7862018-10-09 15:24:24 +0900321 description "none";
322 }
Ai Hamano06163902018-12-06 09:18:20 +0900323 container laser-properties {
324 config false;
325 uses laser-properties-pac;
326 description "Laser properties.";
327 }
328 description "Provides status information only.";
329 }
330 grouping media-channel-pool-capability-pac {
331 list supportable-spectrum {
332 key 'upper-frequency lower-frequency';
333 config false;
334 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900335 description "none";
336 }
Ai Hamano06163902018-12-06 09:18:20 +0900337 list available-spectrum {
338 key 'upper-frequency lower-frequency';
339 config false;
340 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900341 description "none";
342 }
Ai Hamano06163902018-12-06 09:18:20 +0900343 list occupied-spectrum {
344 key 'upper-frequency lower-frequency';
345 config false;
346 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900347 description "none";
348 }
Ai Hamano06163902018-12-06 09:18:20 +0900349 description "none";
350 }
351 grouping media-channel-node-edge-point-spec {
352 container mc-pool {
353 config false;
354 uses media-channel-pool-capability-pac;
hirokid8fd7862018-10-09 15:24:24 +0900355 description "none";
356 }
Ai Hamano06163902018-12-06 09:18:20 +0900357 description "none";
358 }
359 grouping otsi-routing-spec {
360 leaf optical-routing-strategy {
361 type optical-routing-strategy;
hirokid8fd7862018-10-09 15:24:24 +0900362 description "none";
363 }
Ai Hamano06163902018-12-06 09:18:20 +0900364 description "none";
365 }
366 grouping media-channel-properties-pac {
367 container occupied-spectrum {
368 config false;
369 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900370 description "none";
371 }
Ai Hamano06163902018-12-06 09:18:20 +0900372 container measured-power-ingress {
373 config false;
374 uses power-properties-pac;
hirokid8fd7862018-10-09 15:24:24 +0900375 description "none";
376 }
Ai Hamano06163902018-12-06 09:18:20 +0900377 container measured-power-egress {
378 uses power-properties-pac;
hirokid8fd7862018-10-09 15:24:24 +0900379 description "none";
380 }
Ai Hamano06163902018-12-06 09:18:20 +0900381 description "none";
382 }
383 grouping otsi-assembly-connection-end-point-spec {
384 container otsi-adapter {
385 config false;
386 uses otsi-gserver-adaptation-pac;
hirokid8fd7862018-10-09 15:24:24 +0900387 description "none";
388 }
Ai Hamano06163902018-12-06 09:18:20 +0900389 container fec-parameters {
390 config false;
391 uses fec-properties-pac;
hirokid8fd7862018-10-09 15:24:24 +0900392 description "none";
393 }
Ai Hamano06163902018-12-06 09:18:20 +0900394 description "none";
395 }
396 grouping otsi-capability-pac {
397 list supportable-lower-central-frequency {
398 key 'central-frequency';
399 config false;
400 uses central-frequency;
401 description "The lower frequency of the channel spectrum";
402 }
403 list supportable-upper-central-frequency {
404 key 'central-frequency';
405 config false;
406 uses central-frequency;
407 description "The Upper frequency of the channel spectrum";
408 }
409 list supportable-application-identifier {
410 key 'application-code';
411 config false;
412 uses application-identifier;
413 description "The list of supportable ApplicationIdentifiers.";
414 }
415 leaf-list supportable-modulation {
416 type modulation-technique;
417 config false;
418 description "This parameter defines the modulation used at the source";
419 }
420 container total-power-warn-threshold {
421 config false;
422 uses total-power-threshold-pac;
hirokid8fd7862018-10-09 15:24:24 +0900423 description "none";
424 }
Ai Hamano06163902018-12-06 09:18:20 +0900425 description "Can read the status of the warning for the upper value that the power can reach.";
426 }
427 grouping otsi-service-interface-point-spec {
428 container otsi-capability {
429 config false;
430 uses otsi-capability-pac;
hirokid8fd7862018-10-09 15:24:24 +0900431 description "none";
432 }
Ai Hamano06163902018-12-06 09:18:20 +0900433 description "none";
434 }
435 grouping otsi-connectivity-service-end-point-spec {
436 container otsi-config {
437 uses otsi-termination-config-pac;
hirokid8fd7862018-10-09 15:24:24 +0900438 description "none";
439 }
Ai Hamano06163902018-12-06 09:18:20 +0900440 description "none";
441 }
442 grouping otsi-termination-config-pac {
443 container central-frequency {
444 uses central-frequency;
445 description "The central frequency of the laser. It is the oscillation frequency of the corresponding electromagnetic wave";
hirokid8fd7862018-10-09 15:24:24 +0900446 }
Ai Hamano06163902018-12-06 09:18:20 +0900447 container spectrum {
448 uses spectrum-band;
hirokid8fd7862018-10-09 15:24:24 +0900449 description "none";
450 }
Ai Hamano06163902018-12-06 09:18:20 +0900451 container application-identifier {
452 uses application-identifier;
453 description "This attribute indicates the selected Application Identifier.";
454 }
455 leaf modulation {
456 type modulation-technique;
457 description "The modulation techniqu selected at the source.";
458 }
459 leaf laser-control {
460 type laser-control-type;
461 description "Laser control can be FORCED-ON, FORCED-OFF or LASER-SHUTDOWN";
462 }
463 container transmit-power {
464 uses power-properties-pac;
465 description "Transmit power as requested.";
466 }
467 leaf total-power-warn-threshold-upper {
468 type decimal64 {
469 fraction-digits 7;
470 }
471 description "Allows to configure the Upper power threshold which is expected to be different from Default, but within the Min and Max values specified as OTSi SIP capability.";
472 }
473 leaf total-power-warn-threshold-lower {
474 type decimal64 {
475 fraction-digits 7;
476 }
477 description "Allows to configure the Lowerpower threshold which is expected to be different from Default, but within the Min and Max values specified as OTSi SIP capability.";
478 }
479 description "none";
480 }
481 grouping fec-properties-pac {
482 leaf pre-fec-ber {
483 type uint64;
484 config false;
485 description "counter: bit error rate before correction by FEC";
486 }
487 leaf post-fec-ber {
488 type uint64;
489 config false;
490 description "counter: bit error rate after correction by FEC";
491 }
492 leaf corrected-bytes {
493 type uint64;
494 config false;
495 description "Bytes corrected between those that were received corrupted";
496 }
497 leaf corrected-bits {
498 type uint64;
499 config false;
500 description "Bits corrected between those that were received corrupted";
501 }
502 leaf uncorrectable-bytes {
503 type uint64;
504 config false;
505 description "Bytes that could not be corrected by FEC";
506 }
507 leaf uncorrectable-bits {
508 type uint64;
509 config false;
510 description "Bits that could not be corrected by FEC";
511 }
512 description "none";
513 }
514 grouping media-channel-service-interface-point-spec {
515 container mc-pool {
516 config false;
517 uses media-channel-pool-capability-pac;
518 description "none";
519 }
520 description "none";
521 }
522 grouping media-channel-connectivity-service-end-point-spec {
523 container mc-config {
524 uses media-channel-config-pac;
525 description "none";
526 }
527 description "none";
528 }
529 grouping media-channel-config-pac {
530 container spectrum {
531 uses spectrum-band;
532 description "none";
533 }
534 description "none";
535 }
536 grouping media-channel-connection-end-point-spec {
537 container media-channel {
538 config false;
539 uses media-channel-properties-pac;
540 description "none";
541 }
542 description "none";
543 }
544 grouping ots-connection-end-point-spec {
545 container ots-media-channel {
546 config false;
547 uses media-channel-properties-pac;
548 description "none";
549 }
550 description "none";
551 }
552 grouping media-channel-assembly-spec {
553 description "none";
554 }
555 grouping laser-properties-pac {
556 leaf laser-status {
557 type laser-control-status-type;
558 config false;
559 description "none";
560 }
561 leaf laser-application-type {
562 type laser-type;
563 config false;
564 description "The type of laser, its operational wavelengths, and its applications. String size 255.";
565 }
566 leaf laser-bias-current {
567 type decimal64 {
568 fraction-digits 7;
569 }
570 config false;
571 description "The Bias current of the laser that is the medium polarization current of the laser.";
572 }
573 leaf laser-temperature {
574 type decimal64 {
575 fraction-digits 7;
576 }
577 config false;
578 description "The temperature of the laser";
579 }
580 description "none";
581 }
582 grouping power-properties-pac {
583 leaf total-power {
584 type decimal64 {
585 fraction-digits 7;
586 }
587 description "The total power at any point in a channel specified in dBm.";
588 }
589 leaf power-spectral-density {
590 type decimal64 {
591 fraction-digits 7;
592 }
593 config false;
594 description "This describes how power of a signal is distributed over frequency specified in nW/MHz";
595 }
596 description "Indication with severity warning raised when a total power value measured is above the threshold.";
597 }
598 grouping total-power-threshold-pac {
599 leaf total-power-upper-warn-threshold-default {
600 type decimal64 {
601 fraction-digits 7;
602 }
603 description "Can read the value of the default threshold that was set";
604 }
605 leaf total-power-upper-warn-threshold-min {
606 type decimal64 {
607 fraction-digits 7;
608 }
609 description "Can read the value of the lower threshold that was set";
610 }
611 leaf total-power-upper-warn-threshold-max {
612 type decimal64 {
613 fraction-digits 7;
614 }
615 description "Can read the value of the upper threshold that was set";
616 }
617 leaf total-power-lower-warn-threshold-default {
618 type decimal64 {
619 fraction-digits 7;
620 }
621 description "Can read the value of the default threshold that was set";
622 }
623 leaf total-power-lower-warn-threshold-max {
624 type decimal64 {
625 fraction-digits 7;
626 }
627 description "Can read the value of the upper threshold that was set";
628 }
629 leaf total-power-lower-warn-threshold-min {
630 type decimal64 {
631 fraction-digits 7;
632 }
633 description "Can read the value of the lower threshold that was set";
634 }
635 description "none";
636 }
hirokid8fd7862018-10-09 15:24:24 +0900637
Ai Hamano06163902018-12-06 09:18:20 +0900638 /**************************
hirokid8fd7862018-10-09 15:24:24 +0900639 * package type-definitions
Ai Hamano06163902018-12-06 09:18:20 +0900640 **************************/
641 identity PHOTONIC_LAYER_QUALIFIER {
642 base tapi-common:LAYER_PROTOCOL_QUALIFIER;
643 description "none";
644 }
645 identity PHOTONIC_LAYER_QUALIFIER_OTSi {
646 base PHOTONIC_LAYER_QUALIFIER;
647 description "none";
648 }
649 identity PHOTONIC_LAYER_QUALIFIER_OTSiA {
650 base PHOTONIC_LAYER_QUALIFIER;
651 description "none";
652 }
653 identity PHOTONIC_LAYER_QUALIFIER_OTSiG {
654 base PHOTONIC_LAYER_QUALIFIER;
655 description "none";
656 }
657 identity PHOTONIC_LAYER_QUALIFIER_NMC {
658 base PHOTONIC_LAYER_QUALIFIER;
659 description "none";
660 }
661 identity PHOTONIC_LAYER_QUALIFIER_NMCA {
662 base PHOTONIC_LAYER_QUALIFIER;
663 description "none";
664 }
665 identity PHOTONIC_LAYER_QUALIFIER_SMC {
666 base PHOTONIC_LAYER_QUALIFIER;
667 description "none";
668 }
669 identity PHOTONIC_LAYER_QUALIFIER_SMCA {
670 base PHOTONIC_LAYER_QUALIFIER;
671 description "none";
672 }
673 identity PHOTONIC_LAYER_QUALIFIER_OCH {
674 base PHOTONIC_LAYER_QUALIFIER;
675 description "none";
676 }
677 identity PHOTONIC_LAYER_QUALIFIER_OMS {
678 base PHOTONIC_LAYER_QUALIFIER;
679 description "none";
680 }
681 identity PHOTONIC_LAYER_QUALIFIER_OTS {
682 base PHOTONIC_LAYER_QUALIFIER;
683 description "none";
684 }
685 grouping application-identifier {
686 leaf application-identifier-type {
687 type application-identifier-type;
688 description "The ITU-T recommendation which defines the application code format.";
689 }
690 leaf application-code {
691 type string;
hirokid8fd7862018-10-09 15:24:24 +0900692 description "none";
693 }
Ai Hamano06163902018-12-06 09:18:20 +0900694 description "The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
695 }
696 grouping central-frequency {
697 container frequency-constraint {
698 uses frequency-constraint;
hirokid8fd7862018-10-09 15:24:24 +0900699 description "none";
700 }
Ai Hamano06163902018-12-06 09:18:20 +0900701 leaf central-frequency {
702 type uint64;
703 description "The central frequency of the laser specified in MHz. It is the oscillation frequency of the corresponding electromagnetic wave. ";
hirokid8fd7862018-10-09 15:24:24 +0900704 }
Ai Hamano06163902018-12-06 09:18:20 +0900705 description "This data-type holds the central frequency information as well frequency constraints in terms of GridType ( FIXED grid (DWDM or CWDM) or FLEX grid) and AdjustmentGranularity.";
706 }
707 typedef optical-routing-strategy {
708 type enumeration {
709 enum OPTIMAL_OSNR {
hirokid8fd7862018-10-09 15:24:24 +0900710 description "none";
711 }
Ai Hamano06163902018-12-06 09:18:20 +0900712 enum NO_RELAY {
hirokid8fd7862018-10-09 15:24:24 +0900713 description "none";
714 }
Ai Hamano06163902018-12-06 09:18:20 +0900715 enum MIN_RELAY {
hirokid8fd7862018-10-09 15:24:24 +0900716 description "none";
717 }
Ai Hamano06163902018-12-06 09:18:20 +0900718 enum PREFERRED_NO_CHANGE_WAVELENGTH_AS_RESTORE {
719 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900720 }
Ai Hamano06163902018-12-06 09:18:20 +0900721 enum PREFERRED_NO_SKIPPING_WAVELENGTH {
722 description "none";
723 }
724 }
725 description "none";
726 }
727 typedef application-identifier-type {
728 type enumeration {
729 enum PROPRIETARY {
730 description "none";
731 }
732 enum ITUT_G959_1 {
733 description "none";
734 }
735 enum ITUT_G698_1 {
736 description "none";
737 }
738 enum ITUT_G698_2 {
739 description "none";
740 }
741 enum ITUT_G696_1 {
742 description "none";
743 }
744 enum ITUT_G695 {
745 description "none";
746 }
747 }
748 description "none";
749 }
750 typedef grid-type {
751 type enumeration {
752 enum DWDM {
753 description "Fixed frequency grid in C & L bands as specified in ITU-T G.694.1
754 ";
755 }
756 enum CWDM {
757 description "Fixed frequency grid as specified in ITU-T G.694.2";
758 }
759 enum FLEX {
760 description "Flexible frequency grid as specified in ITU-T G.694.1. In this case,
761 - the allowed frequency slots have a nominal central frequency (in THz) defined by:
762 193.1 + n × 0.00625 where n is a positive or negative integer including 0 and 0.00625 is the nominal central frequency granularity in THz
763 - and a slot width defined by:
764 12.5 × m where m is a positive integer and 12.5 is the slot width granularity in GHz.
765 Any combination of frequency slots is allowed as long as no two frequency slots overlap.";
766 }
767 enum GRIDLESS {
768 description "none";
769 }
770 enum UNSPECIFIED {
771 description "Unspecified/proprietary frequency grid";
772 }
773 }
774 description "The frequency grid standard that specify reference set of frequencies used to denote allowed nominal central frequencies that may be used for defining applications.";
775 }
776 typedef adjustment-granularity {
777 type enumeration {
778 enum G_100GHZ {
779 description "100000 MHz";
780 }
781 enum G_50GHZ {
782 description "50000 MHz";
783 }
784 enum G_25GHZ {
785 description "25000 MHz";
786 }
787 enum G_12_5GHZ {
788 description "12500 MHz";
789 }
790 enum G_6_25GHZ {
791 description "6250 MHz";
792 }
793 enum G_3_125GHZ {
794 description "3125 MHz";
795 }
796 enum UNCONSTRAINED {
797 description "none";
798 }
799 }
800 description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency";
801 }
802 grouping spectrum-band {
803 leaf upper-frequency {
804 type uint64;
805 description "The upper frequency bound of the media channel spectrum specified in MHz";
806 }
807 leaf lower-frequency {
808 type uint64;
809 description "The lower frequency bound of the media channel spectrum specified in MHz";
810 }
811 container frequency-constraint {
812 uses frequency-constraint;
hirokid8fd7862018-10-09 15:24:24 +0900813 description "none";
814 }
Ai Hamano06163902018-12-06 09:18:20 +0900815 description "This data-type holds the spectrum information in termsof upper/lower frequency directly or optionally the information to determin this in terms of the nominal central frequency and spectral width for a FIXED grid (DWDM or CWDM) and FLEX grid type systems.";
816 }
817 typedef modulation-technique {
818 type enumeration {
819 enum RZ {
820 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900821 }
Ai Hamano06163902018-12-06 09:18:20 +0900822 enum NRZ {
823 description "none";
824 }
825 enum BPSK {
826 description "none";
827 }
828 enum DPSK {
829 description "none";
830 }
831 enum QPSK {
832 description "none";
833 }
834 enum 8QAM {
835 description "none";
836 }
837 enum 16QAM {
838 description "none";
839 }
840 enum PAM4 {
841 description "none";
842 }
843 enum PAM8 {
844 description "none";
845 }
846 enum UNDEFINED {
847 description "none";
848 }
hirokid8fd7862018-10-09 15:24:24 +0900849 }
Ai Hamano06163902018-12-06 09:18:20 +0900850 description "none";
851 }
852 typedef laser-type {
853 type enumeration {
854 enum PUMP {
855 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900856 }
Ai Hamano06163902018-12-06 09:18:20 +0900857 enum MODULATED {
858 description "none";
859 }
860 enum PULSE {
861 description "none";
862 }
hirokid8fd7862018-10-09 15:24:24 +0900863 }
Ai Hamano06163902018-12-06 09:18:20 +0900864 description "none";
865 }
866 typedef photonic-layer-qualifier {
867 type identityref {
868 base PHOTONIC_LAYER_QUALIFIER;
hirokid8fd7862018-10-09 15:24:24 +0900869 }
Ai Hamano06163902018-12-06 09:18:20 +0900870 description "none";
871 }
872 typedef laser-control-type {
873 type enumeration {
874 enum FORCED-ON {
875 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900876 }
Ai Hamano06163902018-12-06 09:18:20 +0900877 enum FORCED-OFF {
878 description "none";
879 }
880 enum AUTOMATIC-LASER-SHUTDOWN {
881 description "none";
882 }
883 enum UNDEFINED {
884 description "none";
885 }
hirokid8fd7862018-10-09 15:24:24 +0900886 }
Ai Hamano06163902018-12-06 09:18:20 +0900887 description "none";
888 }
889 typedef laser-control-status-type {
890 type enumeration {
891 enum ON {
892 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900893 }
Ai Hamano06163902018-12-06 09:18:20 +0900894 enum OFF {
895 description "none";
hirokid8fd7862018-10-09 15:24:24 +0900896 }
Ai Hamano06163902018-12-06 09:18:20 +0900897 enum PULSING {
898 description "none";
899 }
900 enum UNDEFINED {
901 description "none";
902 }
hirokid8fd7862018-10-09 15:24:24 +0900903 }
Ai Hamano06163902018-12-06 09:18:20 +0900904 description "none";
905 }
906 grouping frequency-constraint {
907 leaf adjustment-granularity {
908 type adjustment-granularity;
909 description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency (in THz)";
910 }
911 leaf grid-type {
912 type grid-type;
913 description "Specifies the frequency grid standard used to determine the nominal central frequency and frequency slot width";
914 }
915 description "This data-type holds the frequency constraint information in terms of GridType ( FIXED grid (DWDM or CWDM) or FLEX grid) and AdjustmentGranularity.";
916 }
hirokid8fd7862018-10-09 15:24:24 +0900917}