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;
20 "Add necessary parameters to consolidate OTN and address ONAP
21 MDONS use case, including grouping otn-renderer-input";
25 "Add grouping otn-renderer-input";
29 "Initial revision of TransportPCE common-types";
32 typedef pm-names-enum {
34 enum vendorExtension {
42 "Bit error rate (BER)";
44 enum opticalPowerOutput {
47 "Optical Power Output (OPOUT-OTS, OPOUT-OMS, OPT-OCH). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
49 enum opticalReturnLoss {
52 "Optical Return Loss (ORL-OTS) - at MW port(s) B";
54 enum opticalPowerInput {
57 "Optical Power Input (OPIN-OTS, OPIN-OMS, OPR-OCH). Total optical power";
62 "Code Violations (CV)";
67 "Errored Seconds (ES)";
69 enum severelyErroredSeconds {
72 "Severely Errored Seconds (SES)";
74 enum unavailableSeconds {
77 "Unavailable Seconds (UAS)";
82 "In frames (INFRAMES-E)";
84 enum inFramesErrored {
87 "In frames errored (INFRAMESERR-E)";
92 "Out frames (OUTFRAMES-E)";
94 enum erroredSecondsEthernet {
97 "Errored Seconds Ethernet (ES-E)";
99 enum severelyErroredSecondsEthernet {
102 "Severly Errored Seconds, Ethernet (SES-E)";
104 enum unavailableSecondsEthernet {
107 "Unavailable Seconds, Ethernet (UAS-E)";
109 enum erroredBlockCount {
112 "Errored block count";
117 "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
122 "Defect Seconds (DS)";
124 enum backwardIncomingAlignmentError {
127 "Backward Incoming Alignment Error (BIAE)";
129 enum incomingAlignmentError {
132 "Incoming Alignment Error (IAE)";
134 enum opticalPowerOutputMin {
137 "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
139 enum opticalPowerOutputMax {
142 "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
144 enum opticalPowerOutputAvg {
147 "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
149 enum opticalPowerInputMin {
152 "Minimum Optical Power Input (OPIN-OTS). Total optical power";
154 enum opticalPowerInputMax {
157 "Maximum Optical Power Input (OPIN-OTS). Total optical power";
159 enum opticalPowerInputAvg {
162 "Average Optical Power Input (OPIN-OTS). Total optical power";
164 enum opticalPowerOutputOSC {
167 "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
169 enum opticalPowerOutputOSCMin {
172 "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
174 enum opticalPowerOutputOSCMax {
177 "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
179 enum opticalPowerOutputOSCAvg {
182 "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
184 enum opticalPowerInputOSC {
187 "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
189 enum opticalPowerInputOSCMin {
192 "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
194 enum opticalPowerInputOSCMax {
197 "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
199 enum opticalPowerInputOSCAvg {
202 "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
204 enum preFECCorrectedErrors {
207 "pFEC corrected Errors";
209 enum totalOpticalPowerInput {
212 "Total Optical Power Input.";
214 enum totalOpticalPowerInputMin {
217 "Minumun Total Optical Power Input.";
219 enum totalOpticalPowerInputMax {
222 "Maximum Total Optical Power Input.";
224 enum totalOpticalPowerInputAvg {
227 "Average Total Optical Power Input.";
229 enum FECCorrectableBlocks {
232 "FEC Correctable Blocks.";
234 enum FECUncorrectableBlocks {
237 "FEC Uncorrectable Blocks.";
239 enum BIPErrorCounter {
244 enum protectionSwitchingCount {
247 "Protection Switching Count (PSC)";
249 enum protectionSwitchingDuration {
252 "Protection Switching Duration in seconds (PSD)";
254 enum erroredBlockCountTCM1-up {
257 "errored Blocks Count on TCM1 up direction.";
259 enum erroredBlockCountTCM2-up {
262 "errored Blocks Count on TCM2 up direction.";
264 enum erroredBlockCountTCM3-up {
267 "errored Blocks Count on TCM3 up direction.";
269 enum erroredBlockCountTCM4-up {
272 "errored Blocks Count on TCM4 up direction.";
274 enum erroredBlockCountTCM5-up {
277 "errored Blocks Count on TCM5 up direction.";
279 enum erroredBlockCountTCM6-up {
282 "errored Blocks Count on TCM6 up direction.";
287 "Delay on TCM1 up direction.";
292 "Delay on TCM2 up direction.";
297 "Delay on TCM3 up direction.";
302 "Delay on TCM4 up direction.";
307 "Delay on TCM5 up direction.";
312 "Delay on TCM6 up direction.";
314 enum erroredBlockCountTCM1-down {
317 "errored Blocks Count on TCM1 down direction.";
319 enum erroredBlockCountTCM2-down {
322 "errored Blocks Count on TCM2 down direction.";
324 enum erroredBlockCountTCM3-down {
327 "errored Blocks Count on TCM3 down direction.";
329 enum erroredBlockCountTCM4-down {
332 "errored Blocks Count on TCM4 down direction.";
334 enum erroredBlockCountTCM5-down {
337 "errored Blocks Count on TCM5 down direction.";
339 enum erroredBlockCountTCM6-down {
342 "errored Blocks Count on TCM6 down direction.";
344 enum delayTCM1-down {
347 "Delay on TCM1 down direction.";
349 enum delayTCM2-down {
352 "Delay on TCM2 down direction.";
354 enum delayTCM3-down {
357 "Delay on TCM3 down direction.";
359 enum delayTCM4-down {
362 "Delay on TCM4 down direction.";
364 enum delayTCM5-down {
367 "Delay on TCM5 down direction.";
369 enum delayTCM6-down {
372 "Delay on TCM6 down direction.";
408 grouping olm-renderer-input {
410 "Type to be used by OLM and Renderer RPCs";
423 "Gloabally unique identifier for the node";
429 "Source termination point ";
435 "Destination termination point ";
438 list node-interface {
443 leaf-list och-interface-id {
446 leaf-list otu-interface-id {
449 leaf-list odu-interface-id {
452 leaf-list eth-interface-id {
455 leaf-list connection-id {
461 grouping otn-renderer-input {
463 "Type to be used by OLM and Renderer RPCs for OTN";
473 "Globally unique identifier for the node";
478 "Source termination point ";
483 "Destination termination point for end nodes";
489 "Destination termination point for intermediate switch";
494 grouping olm-get-pm-input {
499 "Gloabally unique identifier
503 type org-openroadm-resource-types:resource-type-enum;
506 "Type of the PM resource";
508 container resource-identifier {
513 "Identifier of particular resource of given type";
515 leaf circuit-pack-name {
516 when "../../resource-type = 'port'";
520 "In case resource type is port, then particular resource is identified by port-name
521 (resource-name) and circuit-pack-name (this leaf).";
525 type org-openroadm-pm-types:pm-granularity;
528 "Granularity of PM bin can be
529 notApplicable,15min,24Hour";
545 grouping node-interfaces {
546 list node-interface {
551 leaf-list och-interface-id {
554 leaf-list otu-interface-id {
557 leaf-list odu-interface-id {
560 leaf-list eth-interface-id {
563 leaf-list connection-id {
569 grouping otn-constraint {
570 container otn-constraints {
571 leaf trib-port-number {
574 "defines a trib-port that must be used at A or Z end";
576 leaf-list opu-trib-slots {
579 "defines a list of trib-slots that must be used at A or Z end";
581 leaf-list opucn-trib-slots {
584 "defines a list of opucn-trib-slots that must be used at A or
587 container imposed-api {
589 "defines constraints on access point identifier to be used by
590 local device when one end point of the path (service) is located
591 in a remote domain not handled by the controller. These parameters
592 are passed to the local controller (transportpce) for interoperability
594 SAPI : The source api (local domain) to be used by A
595 or Z end as expected by remote controller.
596 DAPI: defines the destination api (remote domain) to be used by A
597 or Z end as exposed in the remote domain. Used when the end of the path
598 is in an external domain, handled by a remote controller.
599 EXPECTED-SAPI : The api of the remote end of the path (in an external
600 domain) as expected to be received by A or Z end.
601 EXPECTED-DAPI : defines the destination api to be used by remote end
602 as exposed in the local domain. Used when the end of the path is in an
603 external domain, handled by a remote controller";
613 "The source api used by the node";
618 "the destination api of the other end of the path";
623 "The api of the remote end of the path as expected to be received
629 "api of the node itself, supposed to be used by remote end as