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 AT&T Intellectual Property. 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";
55 typedef pm-granularity {
57 enum "notApplicable" {
60 "This is for total statistic counters on devices that support
71 "Granularity of PM bin";
74 typedef pm-data-type {
103 typedef pm-names-enum {
105 enum "vendorExtension" {
110 enum "bitErrorRate" {
113 "Bit error rate (BER)";
115 enum "opticalPowerOutput" {
118 "Optical Power Output (OPOUT-OTS, OPOUT-OMS, OPT-OCH). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
120 enum "opticalReturnLoss" {
123 "Optical Return Loss (ORL-OTS) - at MW port(s) B";
125 enum "opticalPowerInput" {
128 "Optical Power Input (OPIN-OTS, OPIN-OMS, OPR-OCH). Total optical power";
130 enum "codeViolations" {
133 "Code Violations (CV)";
135 enum "erroredSeconds" {
138 "Errored Seconds (ES)";
140 enum "severelyErroredSeconds" {
143 "Severely Errored Seconds (SES)";
145 enum "unavailableSeconds" {
148 "Unavailable Seconds (UAS)";
153 "In frames (INFRAMES-E)";
155 enum "inFramesErrored" {
158 "In frames errored (INFRAMESERR-E)";
163 "Out frames (OUTFRAMES-E)";
165 enum "erroredSecondsEthernet" {
168 "Errored Seconds Ethernet (ES-E)";
170 enum "severelyErroredSecondsEthernet" {
173 "Severly Errored Seconds, Ethernet (SES-E)";
175 enum "unavailableSecondsEthernet" {
178 "Unavailable Seconds, Ethernet (UAS-E)";
180 enum "erroredBlockCount" {
183 "Errored block count";
188 "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
190 enum "defectSeconds" {
193 "Defect Seconds (DS)";
195 enum "backwardIncomingAlignmentError" {
198 "Backward Incoming Alignment Error (BIAE)";
200 enum "incomingAlignmentError" {
203 "Incoming Alignment Error (IAE)";
205 enum "opticalPowerOutputMin" {
208 "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
210 enum "opticalPowerOutputMax" {
213 "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
215 enum "opticalPowerOutputAvg" {
218 "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
220 enum "opticalPowerInputMin" {
223 "Minimum Optical Power Input (OPIN-OTS). Total optical power";
225 enum "opticalPowerInputMax" {
228 "Maximum Optical Power Input (OPIN-OTS). Total optical power";
230 enum "opticalPowerInputAvg" {
233 "Average Optical Power Input (OPIN-OTS). Total optical power";
235 enum "opticalPowerOutputOSC" {
238 "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
240 enum "opticalPowerOutputOSCMin" {
243 "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
245 enum "opticalPowerOutputOSCMax" {
248 "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
250 enum "opticalPowerOutputOSCAvg" {
253 "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
255 enum "opticalPowerInputOSC" {
258 "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
260 enum "opticalPowerInputOSCMin" {
263 "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
265 enum "opticalPowerInputOSCMax" {
268 "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
270 enum "opticalPowerInputOSCAvg" {
273 "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
275 enum "preFECCorrectedErrors" {
278 "pFEC corrected Errors";
280 enum "totalOpticalPowerInput" {
283 "Total Optical Power Input.";
285 enum "totalOpticalPowerInputMin" {
288 "Minumun Total Optical Power Input.";
290 enum "totalOpticalPowerInputMax" {
293 "Maximum Total Optical Power Input.";
295 enum "totalOpticalPowerInputAvg" {
298 "Average Total Optical Power Input.";
300 enum "FECCorrectableBlocks" {
303 "FEC Correctable Blocks.";
305 enum "FECUncorrectableBlocks" {
308 "FEC Uncorrectable Blocks.";
310 enum "BIPErrorCounter" {
315 enum "protectionSwitchingCount" {
318 "Protection Switching Count (PSC)";
320 enum "protectionSwitchingDuration" {
323 "Protection Switching Duration in seconds (PSD)";
325 enum "erroredBlockCountTCM1-up" {
328 "errored Blocks Count on TCM1 up direction.";
330 enum "erroredBlockCountTCM2-up" {
333 "errored Blocks Count on TCM2 up direction.";
335 enum "erroredBlockCountTCM3-up" {
338 "errored Blocks Count on TCM3 up direction.";
340 enum "erroredBlockCountTCM4-up" {
343 "errored Blocks Count on TCM4 up direction.";
345 enum "erroredBlockCountTCM5-up" {
348 "errored Blocks Count on TCM5 up direction.";
350 enum "erroredBlockCountTCM6-up" {
353 "errored Blocks Count on TCM6 up direction.";
355 enum "delayTCM1-up" {
358 "Delay on TCM1 up direction.";
360 enum "delayTCM2-up" {
363 "Delay on TCM2 up direction.";
365 enum "delayTCM3-up" {
368 "Delay on TCM3 up direction.";
370 enum "delayTCM4-up" {
373 "Delay on TCM4 up direction.";
375 enum "delayTCM5-up" {
378 "Delay on TCM5 up direction.";
380 enum "delayTCM6-up" {
383 "Delay on TCM6 up direction.";
385 enum "erroredBlockCountTCM1-down" {
388 "errored Blocks Count on TCM1 down direction.";
390 enum "erroredBlockCountTCM2-down" {
393 "errored Blocks Count on TCM2 down direction.";
395 enum "erroredBlockCountTCM3-down" {
398 "errored Blocks Count on TCM3 down direction.";
400 enum "erroredBlockCountTCM4-down" {
403 "errored Blocks Count on TCM4 down direction.";
405 enum "erroredBlockCountTCM5-down" {
408 "errored Blocks Count on TCM5 down direction.";
410 enum "erroredBlockCountTCM6-down" {
413 "errored Blocks Count on TCM6 down direction.";
415 enum "delayTCM1-down" {
418 "Delay on TCM1 down direction.";
420 enum "delayTCM2-down" {
423 "Delay on TCM2 down direction.";
425 enum "delayTCM3-down" {
428 "Delay on TCM3 down direction.";
430 enum "delayTCM4-down" {
433 "Delay on TCM4 down direction.";
435 enum "delayTCM5-down" {
438 "Delay on TCM5 down direction.";
440 enum "delayTCM6-down" {
443 "Delay on TCM6 down direction.";
448 grouping pm-measurement {
450 "Set of parameters related to a PM Measurement";
451 leaf pmParameterValue {
456 leaf pmParameterUnit {
460 "Unit PM parameter has been measured - frames, packets, u, etc";
470 "Name of PM parameter. Consisists of a set list of parameters,
471 plus an extension field to support addition parameters.";
479 "name of parameter, when enum value set to vendorExtension because
480 name not found in pm-names-enum";