-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Redfish: Add MultipartHTTPPushUpdate #6612
Merged
felixfontein
merged 11 commits into
ansible-collections:main
from
mraineri:Redfish-Multipart-HTTP-Push-Update
Jun 5, 2023
Merged
Redfish: Add MultipartHTTPPushUpdate #6612
felixfontein
merged 11 commits into
ansible-collections:main
from
mraineri:Redfish-Multipart-HTTP-Push-Update
Jun 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Mike Raineri <michael.raineri@dell.com>
mraineri
commented
May 31, 2023
mraineri
commented
May 31, 2023
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Mike Raineri <michael.raineri@dell.com>
felixfontein
reviewed
Jun 1, 2023
changelogs/fragments/6471-redfish-add-multipart-http-push-command.yml
Outdated
Show resolved
Hide resolved
Co-authored-by: Felix Fontein <felix@fontein.de>
…and.yml Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Mike Raineri <michael.raineri@dell.com>
Signed-off-by: Mike Raineri <michael.raineri@dell.com>
Looks good to me! When you're happy with the PR tell me, then I'll merge. |
I'm good with the changes! |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6624 🤖 @patchback |
patchback bot
pushed a commit
that referenced
this pull request
Jun 5, 2023
* Redfish: Add MultipartHTTPPushUpdate Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Updates based on CI results Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update plugins/modules/redfish_command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/6471-redfish-add-multipart-http-push-command.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Added missing import statement Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Added documentation for the usage of 'timeout' Signed-off-by: Mike Raineri <michael.raineri@dell.com> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit c4e7a94)
@mraineri thanks for your contribution! |
Thank you @mraineri ! |
felixfontein
pushed a commit
that referenced
this pull request
Jun 6, 2023
…Update (#6624) Redfish: Add MultipartHTTPPushUpdate (#6612) * Redfish: Add MultipartHTTPPushUpdate Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Updates based on CI results Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update plugins/modules/redfish_command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/6471-redfish-add-multipart-http-push-command.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/redfish_utils.py Co-authored-by: Felix Fontein <felix@fontein.de> * Added missing import statement Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Added documentation for the usage of 'timeout' Signed-off-by: Mike Raineri <michael.raineri@dell.com> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit c4e7a94) Co-authored-by: Mike Raineri <michael.raineri@dell.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature
This issue/PR relates to a feature request
module_utils
module_utils
module
module
plugins
plugin (any type)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Adds
MultipartHTTPPushUpdate
toredfish_command
to allow a user to push an image directly to a Redfish service via HTTP multipart POST operations. This is an alternative to using the existingSimpleUpdate
command, which requires a user to host an image on an external server. The response from the command is the same as theSimpleUpdate
command, which allows a user to monitor the update progress the same manner with theGetUpdateStatus
command underredfish_info
.Fixes #6471
ISSUE TYPE
COMPONENT NAME
redfish_utils, redfish_command
ADDITIONAL INFORMATION
Sample playbook: