WIP: Add log and alarm support for vim orchestrated fw-upgrade

Please review for content addition correctness.

Change-Id: Iadcd161103f5b5a074ac4baaf319f02c5bf871e3
Story: 2006740
Task: 39143
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
Eric MacDonald 2020-03-24 08:42:53 -04:00
parent ce56ce7ea5
commit c5a478beef
2 changed files with 159 additions and 0 deletions

View File

@ -327,6 +327,21 @@ FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORT_REJECTED = ALARM_GROUP_SW_MGMT + ".219"
FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORT_FAILED = ALARM_GROUP_SW_MGMT + ".220"
FM_LOG_ID_SW_UPGRADE_AUTO_APPLY_ABORTED = ALARM_GROUP_SW_MGMT + ".221"
FM_ALARM_ID_FW_UPGRADE_AUTO_APPLY_INPROGRESS = ALARM_GROUP_SW_MGMT + ".301"
FM_ALARM_ID_FW_UPGRADE_AUTO_APPLY_ABORTING = ALARM_GROUP_SW_MGMT + ".302"
FM_ALARM_ID_FW_UPGRADE_AUTO_APPLY_FAILED = ALARM_GROUP_SW_MGMT + ".303"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_START = ALARM_GROUP_SW_MGMT + ".311"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_INPROGRESS = ALARM_GROUP_SW_MGMT + ".312"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_REJECTED = ALARM_GROUP_SW_MGMT + ".313"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_CANCELLED = ALARM_GROUP_SW_MGMT + ".314"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_FAILED = ALARM_GROUP_SW_MGMT + ".315"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_COMPLETED = ALARM_GROUP_SW_MGMT + ".316"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_ABORT = ALARM_GROUP_SW_MGMT + ".317"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_ABORTING = ALARM_GROUP_SW_MGMT + ".318"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_ABORT_REJECTED = ALARM_GROUP_SW_MGMT + ".319"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_ABORT_FAILED = ALARM_GROUP_SW_MGMT + ".320"
FM_LOG_ID_FW_UPGRADE_AUTO_APPLY_ABORTED = ALARM_GROUP_SW_MGMT + ".321"
FM_ALARM_STATE_SET = 'set'
FM_ALARM_STATE_CLEAR = 'clear'

View File

@ -3320,4 +3320,148 @@
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.301:
Type: Alarm
Description: Firmware Upgrade auto-apply inprogress
Entity_Instance_ID: orchestration=fw-upgrade
Severity: major
Proposed_Repair_Action: Wait for firmware upgrade auto-apply to complete; if problem persists contact next level of support
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: True
Suppression: True
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
900.302:
Type: Alarm
Description: Firmware Upgrade auto-apply aborting
Entity_Instance_ID: orchestration=fw-upgrade
Severity: major
Proposed_Repair_Action: Wait for firmware upgrade auto-apply abort to complete; if problem persists contact next level of support
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: True
Suppression: True
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
900.303:
Type: Alarm
Description: Firmware Upgrade auto-apply failed
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Proposed_Repair_Action: Attempt to apply firmware upgrade manually; if problem persists contact next level of support
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: equipment
Probable_Cause: underlying-resource-unavailable
Service_Affecting: True
Suppression: True
Management_Affecting_Severity: warning
Degrade_Affecting_Severity: none
900.311:
Type: Log
Description: Firmware upgrade auto-apply start
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.312:
Type: Log
Description: Firmware upgrade auto-apply inprogress
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.313:
Type: Log
Description: Firmware upgrade auto-apply rejected
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.314:
Type: Log
Description: Firmware upgrade auto-apply cancelled
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.315:
Type: Log
Description: Firmware upgrade auto-apply failed
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.316:
Type: Log
Description: Firmware upgrade auto-apply completed
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.317:
Type: Log
Description: Firmware upgrade auto-apply abort
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.318:
Type: Log
Description: Firmware upgrade auto-apply aborting
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.319:
Type: Log
Description: Firmware upgrade auto-apply abort rejected
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.320:
Type: Log
Description: Firmware upgrade auto-apply abort failed
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
900.321:
Type: Log
Description: Firmware upgrade auto-apply aborted
Entity_Instance_ID: orchestration=fw-upgrade
Severity: critical
Alarm_Type: equipment
Probable_Cause: unspecified-reason
Service_Affecting: False
...