Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add trap desc mapping and change alert_lists sequence_number to match_key #543

Merged
merged 10 commits into from
Apr 2, 2021

Conversation

tanjiangyu-ghca
Copy link
Contributor

What this PR does / why we need it:
1.add trap desc mapping;
2. change alert_lists sequence_number to match_ke.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #543 (9edf052) into master (41765b5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #543      +/-   ##
==========================================
+ Coverage   71.06%   71.08%   +0.01%     
==========================================
  Files         137      138       +1     
  Lines       10622    10629       +7     
  Branches     1190     1191       +1     
==========================================
+ Hits         7549     7556       +7     
  Misses       2692     2692              
  Partials      381      381              
Impacted Files Coverage Δ
delfin/drivers/dell_emc/unity/consts.py 100.00% <ø> (ø)
delfin/drivers/dell_emc/unity/alert_handler.py 83.54% <100.00%> (+1.35%) ⬆️

@@ -119,13 +125,14 @@ def parse_queried_alerts(self, alert_model_list, alert_dict, query_para):
constants.Severity.INFORMATIONAL)
alert_model['category'] = constants.Category.FAULT
alert_model['type'] = constants.EventType.EQUIPMENT_ALARM
alert_model['sequence_number'] = content.get('id')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep sequense_number here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

@ThisIsClark ThisIsClark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@NajmudheenCT NajmudheenCT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NajmudheenCT NajmudheenCT merged commit 65fff0f into sodafoundation:master Apr 2, 2021
@tanjiangyu-ghca tanjiangyu-ghca deleted the unity0401 branch May 17, 2021 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants