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;
14 revision "2017-09-07" {
15 description "Initial revision of TransportPCE common-types";
18 grouping olm-renderer-input {
30 description "Gloabally unique identifier
35 description "Source termination point ";
40 description "Destination termination point ";
45 "Type to be used by OLM and Renderer RPCs";
48 grouping olm-get-pm-input {
51 description "Gloabally unique identifier
56 type org-openroadm-resource-types:resource-type-enum;
57 description "Type of the PM resource";
60 container resource-identifier {
63 description "Identifier of particular resource of given type";
66 leaf circuit-pack-name {
67 when "../../resource-type = 'port'";
69 description "In case resource type is port, then particular resource is identified by port-name
70 (resource-name) and circuit-pack-name (this leaf).";
76 type org-openroadm-pm-types:pm-granularity;
77 description "Granularity of PM bin can be
78 notApplicable,15min,24Hour";
95 grouping node-interfaces {
101 leaf-list och-interface-id {
104 leaf-list otu-interface-id {
107 leaf-list odu-interface-id {
110 leaf-list eth-interface-id {
113 leaf-list connection-id {
119 typedef pm-names-enum {
121 enum "vendorExtension" {
126 enum "bitErrorRate" {
129 "Bit error rate (BER)";
131 enum "opticalPowerOutput" {
134 "Optical Power Output (OPOUT-OTS, OPOUT-OMS, OPT-OCH). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
136 enum "opticalReturnLoss" {
139 "Optical Return Loss (ORL-OTS) - at MW port(s) B";
141 enum "opticalPowerInput" {
144 "Optical Power Input (OPIN-OTS, OPIN-OMS, OPR-OCH). Total optical power";
146 enum "codeViolations" {
149 "Code Violations (CV)";
151 enum "erroredSeconds" {
154 "Errored Seconds (ES)";
156 enum "severelyErroredSeconds" {
159 "Severely Errored Seconds (SES)";
161 enum "unavailableSeconds" {
164 "Unavailable Seconds (UAS)";
169 "In frames (INFRAMES-E)";
171 enum "inFramesErrored" {
174 "In frames errored (INFRAMESERR-E)";
179 "Out frames (OUTFRAMES-E)";
181 enum "erroredSecondsEthernet" {
184 "Errored Seconds Ethernet (ES-E)";
186 enum "severelyErroredSecondsEthernet" {
189 "Severly Errored Seconds, Ethernet (SES-E)";
191 enum "unavailableSecondsEthernet" {
194 "Unavailable Seconds, Ethernet (UAS-E)";
196 enum "erroredBlockCount" {
199 "Errored block count";
204 "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
206 enum "defectSeconds" {
209 "Defect Seconds (DS)";
211 enum "backwardIncomingAlignmentError" {
214 "Backward Incoming Alignment Error (BIAE)";
216 enum "incomingAlignmentError" {
219 "Incoming Alignment Error (IAE)";
221 enum "opticalPowerOutputMin" {
224 "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
226 enum "opticalPowerOutputMax" {
229 "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
231 enum "opticalPowerOutputAvg" {
234 "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
236 enum "opticalPowerInputMin" {
239 "Minimum Optical Power Input (OPIN-OTS). Total optical power";
241 enum "opticalPowerInputMax" {
244 "Maximum Optical Power Input (OPIN-OTS). Total optical power";
246 enum "opticalPowerInputAvg" {
249 "Average Optical Power Input (OPIN-OTS). Total optical power";
251 enum "opticalPowerOutputOSC" {
254 "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
256 enum "opticalPowerOutputOSCMin" {
259 "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
261 enum "opticalPowerOutputOSCMax" {
264 "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
266 enum "opticalPowerOutputOSCAvg" {
269 "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
271 enum "opticalPowerInputOSC" {
274 "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
276 enum "opticalPowerInputOSCMin" {
279 "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
281 enum "opticalPowerInputOSCMax" {
284 "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
286 enum "opticalPowerInputOSCAvg" {
289 "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
291 enum "preFECCorrectedErrors" {
294 "pFEC corrected Errors";
296 enum "totalOpticalPowerInput" {
299 "Total Optical Power Input.";
301 enum "totalOpticalPowerInputMin" {
304 "Minumun Total Optical Power Input.";
306 enum "totalOpticalPowerInputMax" {
309 "Maximum Total Optical Power Input.";
311 enum "totalOpticalPowerInputAvg" {
314 "Average Total Optical Power Input.";
316 enum "FECCorrectableBlocks" {
319 "FEC Correctable Blocks.";
321 enum "FECUncorrectableBlocks" {
324 "FEC Uncorrectable Blocks.";
326 enum "BIPErrorCounter" {
331 enum "protectionSwitchingCount" {
334 "Protection Switching Count (PSC)";
336 enum "protectionSwitchingDuration" {
339 "Protection Switching Duration in seconds (PSD)";
341 enum "erroredBlockCountTCM1-up" {
344 "errored Blocks Count on TCM1 up direction.";
346 enum "erroredBlockCountTCM2-up" {
349 "errored Blocks Count on TCM2 up direction.";
351 enum "erroredBlockCountTCM3-up" {
354 "errored Blocks Count on TCM3 up direction.";
356 enum "erroredBlockCountTCM4-up" {
359 "errored Blocks Count on TCM4 up direction.";
361 enum "erroredBlockCountTCM5-up" {
364 "errored Blocks Count on TCM5 up direction.";
366 enum "erroredBlockCountTCM6-up" {
369 "errored Blocks Count on TCM6 up direction.";
371 enum "delayTCM1-up" {
374 "Delay on TCM1 up direction.";
376 enum "delayTCM2-up" {
379 "Delay on TCM2 up direction.";
381 enum "delayTCM3-up" {
384 "Delay on TCM3 up direction.";
386 enum "delayTCM4-up" {
389 "Delay on TCM4 up direction.";
391 enum "delayTCM5-up" {
394 "Delay on TCM5 up direction.";
396 enum "delayTCM6-up" {
399 "Delay on TCM6 up direction.";
401 enum "erroredBlockCountTCM1-down" {
404 "errored Blocks Count on TCM1 down direction.";
406 enum "erroredBlockCountTCM2-down" {
409 "errored Blocks Count on TCM2 down direction.";
411 enum "erroredBlockCountTCM3-down" {
414 "errored Blocks Count on TCM3 down direction.";
416 enum "erroredBlockCountTCM4-down" {
419 "errored Blocks Count on TCM4 down direction.";
421 enum "erroredBlockCountTCM5-down" {
424 "errored Blocks Count on TCM5 down direction.";
426 enum "erroredBlockCountTCM6-down" {
429 "errored Blocks Count on TCM6 down direction.";
431 enum "delayTCM1-down" {
434 "Delay on TCM1 down direction.";
436 enum "delayTCM2-down" {
439 "Delay on TCM2 down direction.";
441 enum "delayTCM3-down" {
444 "Delay on TCM3 down direction.";
446 enum "delayTCM4-down" {
449 "Delay on TCM4 down direction.";
451 enum "delayTCM5-down" {
454 "Delay on TCM5 down direction.";
456 enum "delayTCM6-down" {
459 "Delay on TCM6 down direction.";
467 enum "notApplicable" {
486 enum "bidirectional" {
489 enum "notApplicable" {