wrsEventMessage traps are being managed as wrsAlarmMessages.
Events do not contain wrsEventProposedRepairAction and
wrsEventSuppressionAllowedf fields.
They are now receiving a default value generated in FM.
This commits adds those fields in order to format the event traps
like the alarm traps.
Test plan:
PASS: Install snmp application. Generate an event and check that
the trap is specified with the new values.
Reviewed: https:/ /review. opendev. org/c/starlingx /snmp-armada- app/+/892624 /opendev. org/starlingx/ snmp-armada- app/commit/ b9f45f28c48b9ca 111ffa0dda89c09 333eee6f8c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b9f45f28c48b9ca 111ffa0dda89c09 333eee6f8c
Author: Agustin Carranza <email address hidden>
Date: Sat Jul 15 17:32:31 2023 -0300
Add missing fields for Event traps
wrsEventMessage traps are being managed as wrsAlarmMessages. dRepairAction and pressionAllowed f fields.
Events do not contain wrsEventPropose
wrsEventSup
They are now receiving a default value generated in FM.
This commits adds those fields in order to format the event traps
like the alarm traps.
Test plan:
PASS: Install snmp application. Generate an event and check that
the trap is specified with the new values.
Partial-bug: 2032844
Signed-off-by: Agustin Carranza <email address hidden> 3c629965f86dfaa fd468738c8e
Change-Id: I5467b5a7bc6e90