diff options
author | Aija Jauntēva <aija.jaunteva@dell.com> | 2022-01-06 06:34:19 -0500 |
---|---|---|
committer | Aija Jauntēva <aija.jaunteva@dell.com> | 2022-01-13 04:10:47 -0500 |
commit | b824ea7fa8874e63cfe11bc82ce0dc049680344f (patch) | |
tree | b51c5dc82d442e0bd0a8afc7c27c7517dac29436 /ironic/drivers/modules/redfish/management.py | |
parent | b392dc19bcd29cef5a69ec00d2f18a7a19a679e5 (diff) | |
download | ironic-b824ea7fa8874e63cfe11bc82ce0dc049680344f.tar.gz |
Fix validating input for redfish update_firmware
Story: 2009772
Task: 44249
Change-Id: I8e559b3c7e833c361e12d01d744510ac5c8d8cf6
Diffstat (limited to 'ironic/drivers/modules/redfish/management.py')
-rw-r--r-- | ironic/drivers/modules/redfish/management.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ironic/drivers/modules/redfish/management.py b/ironic/drivers/modules/redfish/management.py index 790f46eaa..cb56a821b 100644 --- a/ironic/drivers/modules/redfish/management.py +++ b/ironic/drivers/modules/redfish/management.py @@ -35,6 +35,7 @@ from ironic.conf import CONF from ironic.drivers import base from ironic.drivers.modules import boot_mode_utils from ironic.drivers.modules import deploy_utils +from ironic.drivers.modules.redfish import firmware_utils from ironic.drivers.modules.redfish import utils as redfish_utils LOG = log.getLogger(__name__) @@ -759,6 +760,7 @@ class RedfishManagement(base.ManagementInterface): :returns: None if it is completed. :raises: RedfishError on an error from the Sushy library. """ + firmware_utils.validate_update_firmware_args(firmware_images) node = task.node LOG.debug('Updating firmware on node %(node_uuid)s with firmware ' |