VOL-3273: Added events for Recovery from Failures

Change-Id: Ie58cdebc856ad25768b0700e200bbded34ea6c73
diff --git a/protos/dmi/hw_events_mgmt_service.proto b/protos/dmi/hw_events_mgmt_service.proto
index 6911df3..84defe2 100644
--- a/protos/dmi/hw_events_mgmt_service.proto
+++ b/protos/dmi/hw_events_mgmt_service.proto
@@ -26,25 +26,42 @@
     EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD = 110;

     EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD = 111;

     EVENT_TRANSCEIVER_FAILURE = 112;

+    EVENT_TRANSCEIVER_VOLTAGE_ABOVE_THRESHOLD_RECOVERED = 113;

+    EVENT_TRANSCEIVER_VOLTAGE_BELOW_THRESHOLD_RECOVERED = 114;

+    EVENT_TRANSCEIVER_TEMPERATURE_ABOVE_THRESHOLD_RECOVERED = 115;

+    EVENT_TRANSCEIVER_TEMPERATURE_BELOW_THRESHOLD_RECOVERED = 116;

+    EVENT_TRANSCEIVER_CURRENT_ABOVE_THRESHOLD_RECOVERED = 117;

+    EVENT_TRANSCEIVER_CURRENT_BELOW_THRESHOLD_RECOVERED = 118;

+    EVENT_TRANSCEIVER_RX_POWER_ABOVE_THRESHOLD_RECOVERED = 119;

+    EVENT_TRANSCEIVER_RX_POWER_BELOW_THRESHOLD_RECOVERED = 120;

+    EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD_RECOVERED = 121;

+    EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD_RECOVERED = 122;

+    EVENT_TRANSCEIVER_FAILURE_RECOVERED = 123;

 

     // Events from the PSU

     EVENT_PSU_PLUG_OUT = 200;

     EVENT_PSU_PLUG_IN = 201;

     EVENT_PSU_FAILURE = 202;

+    EVENT_PSU_FAILURE_RECOVERED = 203;

 

     // Events for the Fans

     EVENT_FAN_FAILURE = 300;

     EVENT_FAN_PLUG_OUT = 301;

     EVENT_FAN_PLUG_IN = 302;

+    EVENT_FAN_FAILURE_RECOVERED = 303;

 

     // Events for the CPUs

     EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL = 400;

     EVENT_CPU_TEMPERATURE_ABOVE_FATAL = 401;

+    EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 402;

+    EVENT_CPU_TEMPERATURE_ABOVE_FATAL_RECOVERED = 403;

 

     // Events for the complete HW Device

     EVENT_HW_DEVICE_RESET = 500;

     EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL = 501;

     EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL = 502;

+    EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 503;

+    EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL_RECOVERED = 504;

 

     // More to be added

 }