-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update virtual media mounting: #398
Conversation
At least one BMC, Supermicro SYS-E300-D9, did not support setting inserted and/or writeProtected properties in redfish calls to do a virtual media mount. This falls back to not using them if the initial call with them in the properties fails. This was test and worked successfully on a Supermicro (SYS-E300-D9), HP ILO5, and Dell iDRAC9. Signed-off-by: Jacob Weinstock <[email protected]>
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.
Thanks for adding SMC support and testing this out, would you mind adding in an example snippet for reference into https://github.com/bmc-toolbox/bmclib/tree/main/examples
This helps understand and maintain-ability. Decreases the complexity of the function too. Signed-off-by: Jacob Weinstock <[email protected]>
Thanks for the review. Will add an example. |
This helps users see how to use the virtual media mounting capabilities. Signed-off-by: Jacob Weinstock <[email protected]>
@joelrebel , ready for another review. please and thank you! |
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.
Thanks, thanks looks good to me
What does this PR implement/change/remove?
At least one BMC, Supermicro X11SDV-4C-TLN2F, did not support setting
inserted
and/orwriteProtected
in the payload properties in redfish calls to do a virtual media mount. This falls back to not using them if the initial call with them in the properties fails.This was test and worked successfully on a Supermicro (X11SDV-4C-TLN2F), HP ILO5, and Dell iDRAC9.
Checklist
The HW vendor this change applies to (if applicable)
The HW model number, product name this change applies to (if applicable)
The BMC firmware and/or BIOS versions that this change applies to (if applicable)
What version of tooling - vendor specific or opensource does this change depend on (if applicable)
Description for changelog/release notes