1 module transportpce-common-types {
2 namespace "http://org/transportpce/common-types";
3 prefix org-transportpce-common-types;
5 import org-openroadm-resource-types {
6 prefix org-openroadm-resource-types;
7 revision-date 2016-10-14;
9 import org-openroadm-pm-types {
10 prefix org-openroadm-pm-types;
11 revision-date 2016-10-14;
13 import org-openroadm-otn-common-types {
14 prefix org-openroadm-otn-common-types;
15 revision-date 2018-11-30;
17 import org-openroadm-common-types {
18 prefix org-openroadm-common-types;
19 revision-date 2018-10-19;
24 "Updated grouping olm-renderer-input to enable support for flex-grid";
28 "Add necessary parameters to consolidate OTN and address ONAP
29 MDONS use case, including grouping otn-renderer-input";
33 "Add grouping otn-renderer-input";
37 "Initial revision of TransportPCE common-types";
40 typedef pm-names-enum {
42 enum vendorExtension {
50 "Bit error rate (BER)";
52 enum opticalPowerOutput {
55 "Optical Power Output (OPOUT-OTS, OPOUT-OMS, OPT-OCH). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
57 enum opticalReturnLoss {
60 "Optical Return Loss (ORL-OTS) - at MW port(s) B";
62 enum opticalPowerInput {
65 "Optical Power Input (OPIN-OTS, OPIN-OMS, OPR-OCH). Total optical power";
70 "Code Violations (CV)";
75 "Errored Seconds (ES)";
77 enum severelyErroredSeconds {
80 "Severely Errored Seconds (SES)";
82 enum unavailableSeconds {
85 "Unavailable Seconds (UAS)";
90 "In frames (INFRAMES-E)";
92 enum inFramesErrored {
95 "In frames errored (INFRAMESERR-E)";
100 "Out frames (OUTFRAMES-E)";
102 enum erroredSecondsEthernet {
105 "Errored Seconds Ethernet (ES-E)";
107 enum severelyErroredSecondsEthernet {
110 "Severly Errored Seconds, Ethernet (SES-E)";
112 enum unavailableSecondsEthernet {
115 "Unavailable Seconds, Ethernet (UAS-E)";
117 enum erroredBlockCount {
120 "Errored block count";
125 "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
130 "Defect Seconds (DS)";
132 enum backwardIncomingAlignmentError {
135 "Backward Incoming Alignment Error (BIAE)";
137 enum incomingAlignmentError {
140 "Incoming Alignment Error (IAE)";
142 enum opticalPowerOutputMin {
145 "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
147 enum opticalPowerOutputMax {
150 "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
152 enum opticalPowerOutputAvg {
155 "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
157 enum opticalPowerInputMin {
160 "Minimum Optical Power Input (OPIN-OTS). Total optical power";
162 enum opticalPowerInputMax {
165 "Maximum Optical Power Input (OPIN-OTS). Total optical power";
167 enum opticalPowerInputAvg {
170 "Average Optical Power Input (OPIN-OTS). Total optical power";
172 enum opticalPowerOutputOSC {
175 "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
177 enum opticalPowerOutputOSCMin {
180 "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
182 enum opticalPowerOutputOSCMax {
185 "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
187 enum opticalPowerOutputOSCAvg {
190 "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
192 enum opticalPowerInputOSC {
195 "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
197 enum opticalPowerInputOSCMin {
200 "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
202 enum opticalPowerInputOSCMax {
205 "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
207 enum opticalPowerInputOSCAvg {
210 "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
212 enum preFECCorrectedErrors {
215 "pFEC corrected Errors";
217 enum totalOpticalPowerInput {
220 "Total Optical Power Input.";
222 enum totalOpticalPowerInputMin {
225 "Minumun Total Optical Power Input.";
227 enum totalOpticalPowerInputMax {
230 "Maximum Total Optical Power Input.";
232 enum totalOpticalPowerInputAvg {
235 "Average Total Optical Power Input.";
237 enum FECCorrectableBlocks {
240 "FEC Correctable Blocks.";
242 enum FECUncorrectableBlocks {
245 "FEC Uncorrectable Blocks.";
247 enum BIPErrorCounter {
252 enum protectionSwitchingCount {
255 "Protection Switching Count (PSC)";
257 enum protectionSwitchingDuration {
260 "Protection Switching Duration in seconds (PSD)";
262 enum erroredBlockCountTCM1-up {
265 "errored Blocks Count on TCM1 up direction.";
267 enum erroredBlockCountTCM2-up {
270 "errored Blocks Count on TCM2 up direction.";
272 enum erroredBlockCountTCM3-up {
275 "errored Blocks Count on TCM3 up direction.";
277 enum erroredBlockCountTCM4-up {
280 "errored Blocks Count on TCM4 up direction.";
282 enum erroredBlockCountTCM5-up {
285 "errored Blocks Count on TCM5 up direction.";
287 enum erroredBlockCountTCM6-up {
290 "errored Blocks Count on TCM6 up direction.";
295 "Delay on TCM1 up direction.";
300 "Delay on TCM2 up direction.";
305 "Delay on TCM3 up direction.";
310 "Delay on TCM4 up direction.";
315 "Delay on TCM5 up direction.";
320 "Delay on TCM6 up direction.";
322 enum erroredBlockCountTCM1-down {
325 "errored Blocks Count on TCM1 down direction.";
327 enum erroredBlockCountTCM2-down {
330 "errored Blocks Count on TCM2 down direction.";
332 enum erroredBlockCountTCM3-down {
335 "errored Blocks Count on TCM3 down direction.";
337 enum erroredBlockCountTCM4-down {
340 "errored Blocks Count on TCM4 down direction.";
342 enum erroredBlockCountTCM5-down {
345 "errored Blocks Count on TCM5 down direction.";
347 enum erroredBlockCountTCM6-down {
350 "errored Blocks Count on TCM6 down direction.";
352 enum delayTCM1-down {
355 "Delay on TCM1 down direction.";
357 enum delayTCM2-down {
360 "Delay on TCM2 down direction.";
362 enum delayTCM3-down {
365 "Delay on TCM3 down direction.";
367 enum delayTCM4-down {
370 "Delay on TCM4 down direction.";
372 enum delayTCM5-down {
375 "Delay on TCM5 down direction.";
377 enum delayTCM6-down {
380 "Delay on TCM6 down direction.";
416 grouping olm-renderer-input {
418 "Type to be used by OLM and Renderer RPCs";
426 type org-openroadm-common-types:frequency-GHz;
429 type org-openroadm-common-types:frequency-GHz;
437 "Gloabally unique identifier for the node";
443 "Source termination point ";
449 "Destination termination point ";
452 list node-interface {
457 leaf-list och-interface-id {
460 leaf-list otu-interface-id {
463 leaf-list odu-interface-id {
466 leaf-list eth-interface-id {
469 leaf-list connection-id {
475 grouping otn-renderer-input {
477 "Type to be used by OLM and Renderer RPCs for OTN";
487 "Globally unique identifier for the node";
492 "Source termination point ";
497 "Destination termination point for end nodes";
503 "Destination termination point for intermediate switch";
508 grouping olm-get-pm-input {
513 "Gloabally unique identifier
517 type org-openroadm-resource-types:resource-type-enum;
520 "Type of the PM resource";
522 container resource-identifier {
527 "Identifier of particular resource of given type";
529 leaf circuit-pack-name {
530 when "../../resource-type = 'port'";
534 "In case resource type is port, then particular resource is identified by port-name
535 (resource-name) and circuit-pack-name (this leaf).";
539 type org-openroadm-pm-types:pm-granularity;
542 "Granularity of PM bin can be
543 notApplicable,15min,24Hour";
559 grouping node-interfaces {
560 list node-interface {
565 leaf-list och-interface-id {
568 leaf-list otu-interface-id {
571 leaf-list odu-interface-id {
574 leaf-list eth-interface-id {
577 leaf-list connection-id {
583 grouping otn-constraint {
584 container otn-constraints {
585 leaf trib-port-number {
588 "defines a trib-port that must be used at A or Z end";
590 leaf-list opu-trib-slots {
593 "defines a list of trib-slots that must be used at A or Z end";
595 leaf-list opucn-trib-slots {
598 "defines a list of opucn-trib-slots that must be used at A or
601 container imposed-api {
603 "defines constraints on access point identifier to be used by
604 local device when one end point of the path (service) is located
605 in a remote domain not handled by the controller. These parameters
606 are passed to the local controller (transportpce) for interoperability
608 SAPI : The source api (local domain) to be used by A
609 or Z end as expected by remote controller.
610 DAPI: defines the destination api (remote domain) to be used by A
611 or Z end as exposed in the remote domain. Used when the end of the path
612 is in an external domain, handled by a remote controller.
613 EXPECTED-SAPI : The api of the remote end of the path (in an external
614 domain) as expected to be received by A or Z end.
615 EXPECTED-DAPI : defines the destination api to be used by remote end
616 as exposed in the local domain. Used when the end of the path is in an
617 external domain, handled by a remote controller";
627 "The source api used by the node";
632 "the destination api of the other end of the path";
637 "The api of the remote end of the path as expected to be received
643 "api of the node itself, supposed to be used by remote end as