-
Notifications
You must be signed in to change notification settings - Fork 494
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
NAS-127613 / 24.10 / Add ES24N sensor support #13936
Conversation
Also add RedfishStatusHealth and RedfishStatusState enums
Refactor code and in an async map_jbof now call map_es24n in parallel. This will use the new AsyncRedfishClient to obtain various information from the JBOF redfish interface, which will then be mapped to a similar dict as is done for other enclosure types. This commit adds "Power Supply", "Cooling", "Temperature Sensors" and "Voltage Sensor" to the elements returned by map_es24n (was already returning "Array Device Slot").
# FIXME: This function shouldn't exist and the OEM should fix | ||
# this at some point. When they do (hopefully) fix the model, | ||
# remove this function | ||
expected_uri = '/redfish/v1/Chassis/2U24' |
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.
Should this be defined as a constant?
Something I've noticed and should be considered. This area of our code is called quite a bit so the more logging statements we add, the more our log files will be spammed. When I wrote |
This PR has been merged and conversations have been locked. |
Make
map_jbof
async and process JBOFs in parallel.Refactor code and in an async
map_jbof
now callmap_es24n
in parallel. This will use the newAsyncRedfishClient
(being added in PR #13913) to obtain various information from the JBOF redfish interface, which will then be mapped to a similardict
as is done for other enclosure types.This commit adds "Power Supply", "Cooling", "Temperature Sensors" and "Voltage Sensor" to the elements returned by
map_es24n
(was already returning "Array Device Slot").Abstracted out some strings from
ElementStatus
andElementType
to enums for reuse.