1 module org-openroadm-pm-types {
2 namespace "http://org/openroadm/pm-types";
3 prefix org-openroadm-pm-types;
10 "YANG definitions of performance management types.
12 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
13 All other rights reserved.
15 Redistribution and use in source and binary forms, with or without modification,
16 are permitted provided that the following conditions are met:
18 * Redistributions of source code must retain the above copyright notice, this
19 list of conditions and the following disclaimer.
20 * Redistributions in binary form must reproduce the above copyright notice,
21 this list of conditions and the following disclaimer in the documentation and/or
22 other materials provided with the distribution.
23 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
24 contributors may be used to endorse or promote products derived from this software
25 without specific prior written permission.
27 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
28 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
31 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
32 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
33 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
34 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 POSSIBILITY OF SUCH DAMAGE";
71 typedef pm-granularity {
76 "This is for total statistic counters on devices that support
87 "Granularity of PM bin";
90 typedef pm-data-type {
119 typedef pm-names-enum {
121 enum vendorExtension {
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 "Severely 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";
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 "Minimum 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.";
374 "Delay on TCM1 up direction.";
379 "Delay on TCM2 up direction.";
384 "Delay on TCM3 up direction.";
389 "Delay on TCM4 up direction.";
394 "Delay on TCM5 up direction.";
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.";
461 enum partialRateDiscard {
464 "Discarded packet as a result of policing or rate limiting for subrate ethernet.";
466 enum erroredSecondsTCM1-up {
469 "errored Seconds Count on TCM1 up direction.";
471 enum erroredSecondsTCM2-up {
474 "errored Seconds Count on TCM2 up direction.";
476 enum erroredSecondsTCM3-up {
479 "errored Seconds Count on TCM3 up direction.";
481 enum erroredSecondsTCM4-up {
484 "errored Seconds Count on TCM4 up direction.";
486 enum erroredSecondsTCM5-up {
489 "errored Seconds Count on TCM5 up direction.";
491 enum erroredSecondsTCM6-up {
494 "errored Seconds Count on TCM6 up direction.";
496 enum severelyErroredSecondsTCM1-up {
499 "severely Errored Seconds Count on TCM1 up direction.";
501 enum severelyErroredSecondsTCM2-up {
504 "severely Errored Seconds Count on TCM2 up direction.";
506 enum severelyErroredSecondsTCM3-up {
509 "severely Errored Seconds Count on TCM3 up direction.";
511 enum severelyErroredSecondsTCM4-up {
514 "severely Errored Seconds Count on TCM4 up direction.";
516 enum severelyErroredSecondsTCM5-up {
519 "severely Errored Seconds Count on TCM5 up direction.";
521 enum severelyErroredSecondsTCM6-up {
524 "severely Errored Seconds Count on TCM6 up direction.";
526 enum unavailableSecondsTCM1-up {
529 "unavailable Seconds Count on TCM1 up direction.";
531 enum unavailableSecondsTCM2-up {
534 "unavailable Seconds Count on TCM2 up direction.";
536 enum unavailableSecondsTCM3-up {
539 "unavailable Seconds Count on TCM3 up direction.";
541 enum unavailableSecondsTCM4-up {
544 "unavailable Seconds Count on TCM4 up direction.";
546 enum unavailableSecondsTCM5-up {
549 "unavailable Seconds Count on TCM5 up direction.";
551 enum unavailableSecondsTCM6-up {
554 "unavailable Seconds Count on TCM6 up direction.";
556 enum erroredSecondsTCM1-down {
559 "errored Seconds Count on TCM1 down direction.";
561 enum erroredSecondsTCM2-down {
564 "errored Seconds Count on TCM2 down direction.";
566 enum erroredSecondsTCM3-down {
569 "errored Seconds Count on TCM3 down direction.";
571 enum erroredSecondsTCM4-down {
574 "errored Seconds Count on TCM4 down direction.";
576 enum erroredSecondsTCM5-down {
579 "errored Seconds Count on TCM5 down direction.";
581 enum erroredSecondsTCM6-down {
584 "errored Seconds Count on TCM6 down direction.";
586 enum severelyErroredSecondsTCM1-down {
589 "severely Errored Seconds Count on TCM1 down direction.";
591 enum severelyErroredSecondsTCM2-down {
594 "severely Errored Seconds Count on TCM2 down direction.";
596 enum severelyErroredSecondsTCM3-down {
599 "severely Errored Seconds Count on TCM3 down direction.";
601 enum severelyErroredSecondsTCM4-down {
604 "severely Errored Seconds Count on TCM4 down direction.";
606 enum severelyErroredSecondsTCM5-down {
609 "severely Errored Seconds Count on TCM5 down direction.";
611 enum severelyErroredSecondsTCM6-down {
614 "severely Errored Seconds Count on TCM6 down direction.";
616 enum unavailableSecondsTCM1-down {
619 "unavailable Seconds Count on TCM1 down direction.";
621 enum unavailableSecondsTCM2-down {
624 "unavailable Seconds Count on TCM2 down direction.";
626 enum unavailableSecondsTCM3-down {
629 "unavailable Seconds Count on TCM3 down direction.";
631 enum unavailableSecondsTCM4-down {
634 "unavailable Seconds Count on TCM4 down direction.";
636 enum unavailableSecondsTCM5-down {
639 "unavailable Seconds Count on TCM5 down direction.";
641 enum unavailableSecondsTCM6-down {
644 "unavailable Seconds Count on TCM6 down direction.";
646 enum fecCorrectedCodewords {
649 "FEC Corrected Codewords Counter";
651 enum fecUncorrectedCodewords {
654 "FEC Uncorrected Codewords Counter";
656 enum fecSymbolErrors {
659 "FEC Symbol Error Counter";
661 enum localFaultSeconds {
664 "Local Fault Seconds";
666 enum remoteFaultSeconds {
669 "Remote Fault Seconds";
674 grouping pm-measurement {
676 "Set of parameters related to a PM Measurement";
677 leaf pmParameterValue {
682 leaf pmParameterUnit {
686 "Unit PM parameter has been measured - frames, packets, u, etc";
696 "Name of PM parameter. Consists of a set list of parameters,
697 plus an extension field to support addition parameters.";
705 "name of parameter, when enum value set to vendorExtension because
706 name not found in pm-names-enum";