mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
[PR #7330/cd83b245 backport][stable-7] Add support for Oem params (#7341)
Add support for Oem params (#7330)
* Add support for "Oem" parameters in the MultipartHTTPPushUpdate redfish_command
* Add doc entry
* Add changelog fragment
Add version_added field
* Re-word the changelog fragment
* After further testing this should not have a default definition as
it should not be in the payload if not defined
(cherry picked from commit cd83b245bb
)
Co-authored-by: Scott Seekamp <sseekamp@coreweave.com>
This commit is contained in:
parent
87aedc7bd6
commit
51648d5328
3 changed files with 15 additions and 0 deletions
|
@ -203,6 +203,12 @@ options:
|
|||
- InMaintenanceWindowOnReset
|
||||
- OnStartUpdateRequest
|
||||
version_added: '6.1.0'
|
||||
update_oem_params:
|
||||
required: false
|
||||
description:
|
||||
- Properties for HTTP Multipart Push Updates.
|
||||
type: dict
|
||||
version_added: '7.5.0'
|
||||
update_handle:
|
||||
required: false
|
||||
description:
|
||||
|
@ -601,6 +607,8 @@ EXAMPLES = '''
|
|||
update_image_file: ~/images/myupdate.img
|
||||
update_targets:
|
||||
- /redfish/v1/UpdateService/FirmwareInventory/BMC
|
||||
update_oem_params:
|
||||
PreserveConfiguration: false
|
||||
|
||||
- name: Perform requested operations to continue the update
|
||||
community.general.redfish_command:
|
||||
|
@ -792,6 +800,7 @@ def main():
|
|||
update_image_file=dict(type='path'),
|
||||
update_protocol=dict(),
|
||||
update_targets=dict(type='list', elements='str', default=[]),
|
||||
update_oem_params=dict(type='dict'),
|
||||
update_creds=dict(
|
||||
type='dict',
|
||||
options=dict(
|
||||
|
@ -874,6 +883,7 @@ def main():
|
|||
'update_targets': module.params['update_targets'],
|
||||
'update_creds': module.params['update_creds'],
|
||||
'update_apply_time': module.params['update_apply_time'],
|
||||
'update_oem_params': module.params['update_oem_params'],
|
||||
'update_handle': module.params['update_handle'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue