-
Notifications
You must be signed in to change notification settings - Fork 355
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 ScaleIO storage Sofotware staorage\Volume\DIsk\Pool Info Collection #904
Conversation
add ScaleIO storage software data collection
Codecov Report
@@ Coverage Diff @@
## master #904 +/- ##
==========================================
- Coverage 71.16% 71.01% -0.16%
==========================================
Files 182 186 +4
Lines 21918 22286 +368
Branches 3343 3397 +54
==========================================
+ Hits 15598 15826 +228
- Misses 5261 5388 +127
- Partials 1059 1072 +13
|
add scaleio storage software data collection
update scaleio initiators descroption
alert_model = { | ||
'alert_id': json_alert.get('id'), | ||
'alert_name': alert_type + json_alert.get('name'), | ||
'severity': json_alert.get('severity'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status = constants.HostStatus.NORMAL | ||
elif 'Disconnected' == status: | ||
status = constants.HostStatus.OFFLINE | ||
initiators_dict = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
side_effect=[test_constans.SYSTEM_ALERT_INFO]) | ||
storage_alert = ScaleioStorageDriver(**ACCESS_INFO).\ | ||
list_alerts(context) | ||
self.assertEqual(storage_alert, test_constans.SYSTEM_ALERT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"name": view_name + sdc_id + volume_id, | ||
"description": view_name, | ||
"storage_id": storage_id, | ||
"native_masking_view_id": str(uid) + volume_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add trap alert and alert info update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it:
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: