mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Redfish: add Multipart
bool return value to FirmwareUpdateCapabilities
(#8195)
* Redfish: add Multipart bool return value to FirmwareUpdateCapabilities Fixes #8194 Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com> * Update changelogs/fragments/8194-redfish-add-multipart-to-capabilities.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
9307b76e74
commit
6c8f949ba9
2 changed files with 4 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- redfish_info - add boolean return value ``MultipartHttpPush`` to ``GetFirmwareUpdateCapabilities`` (https://github.com/ansible-collections/community.general/issues/8194, https://github.com/ansible-collections/community.general/pull/8195).
|
|
@ -1597,6 +1597,8 @@ class RedfishUtils(object):
|
||||||
|
|
||||||
data = response['data']
|
data = response['data']
|
||||||
|
|
||||||
|
result['multipart_supported'] = 'MultipartHttpPushUri' in data
|
||||||
|
|
||||||
if "Actions" in data:
|
if "Actions" in data:
|
||||||
actions = data['Actions']
|
actions = data['Actions']
|
||||||
if len(actions) > 0:
|
if len(actions) > 0:
|
||||||
|
|
Loading…
Reference in a new issue