ironic-python-agent/ironic_python_agent
waleed mousa 2c7f95e3ac update NVIDIA NIC firmware images and settings by ironic-python-agent
Add "update_nvidia_nic_firmware_image" and "update_nvidia_nic_firmware_settings"
clean steps to MellanoxDeviceHardwareManager.

By adding those two steps, we can update the firmware image and
firmware settings of NVIDIA NICs by ironic-python-agent using
manual cleaning command
The clean steps require mstflint package installed on the image.
The "update_nvidia_nic_firmware_image" clean step requires to pass
"images" parameter to the clean command
The "images" parameter is a json blob contains
a list of images, where each image contains a map of:
  * url: to firmware image (file://, http://)
  * checksum: checksum of the provided image
  * checksumType: md5/sha512/sha256
  * componentFlavor: PSID of the nic
  * version: version of the FW

The "update_nvidia_nic_firmware_settings" clean step requires to pass
"settings" parameter to the clean command
The "settings" parameter is a json blob contains
a list of settings, where each settings contains a map of:
  * deviceID: device ID
  * globalConfig: global config
  * function0Config: function 0 config
  * function1Config: function 1 config

Change-Id: Icfaffd7c58c3c73c3fa28cfc2a6c954d2c93c16e
Story: 2010228
Task: 46016
2023-01-11 14:00:07 +00:00
..
api Use Werkzeug modern version 2022-04-14 10:47:06 +00:00
cmd Capture the early logging 2021-04-01 11:16:20 -07:00
extensions Fix failure of bind mount in _install_grub2 2022-09-22 19:34:12 +09:00
hardware_managers update NVIDIA NIC firmware images and settings by ironic-python-agent 2023-01-11 14:00:07 +00:00
tests update NVIDIA NIC firmware images and settings by ironic-python-agent 2023-01-11 14:00:07 +00:00
__init__.py [trivial] Fix typo in __init__.py 2021-12-16 22:03:51 +01:00
agent.py Increase version of hacking and pycodestyle 2021-07-30 14:34:33 +02:00
burnin.py Burn-in: Dynamic network pairing 2022-01-10 11:31:33 +01:00
config.py Guard shared device/cluster filesystems 2022-07-19 13:24:03 -07:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
efi_utils.py Do not try to guess EFI partition path by its number 2022-05-04 15:06:02 +02:00
encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
errors.py Guard shared device/cluster filesystems 2022-07-19 13:24:03 -07:00
hardware.py prioritize lsblk as a source of device serials 2022-10-10 19:31:47 +03:00
inject_files.py New deploy step for injecting arbitrary files 2021-02-16 16:56:52 +01:00
inspect.py Add jitter to inspection command reporting 2020-03-31 08:13:13 -07:00
inspector.py Remove oslo.serialization dependency 2022-06-17 09:37:35 +02:00
ironic_api_client.py Remove oslo.serialization dependency 2022-06-17 09:37:35 +02:00
netutils.py Bring up VLAN interfaces and include in introspection report 2020-11-20 10:17:00 -05:00
numa_inspector.py Skip nic numa_node discovery if it's not assigned to a numa_node 2020-01-17 11:15:35 +01:00
partition_utils.py Drop support for instance netboot 2022-07-07 16:38:22 +02:00
raid_utils.py SoftwareRAID: Enable skipping RAIDS 2022-09-05 20:43:51 +00:00
tls_utils.py Generate TLS certificates with validity time in the past 2020-12-10 16:22:13 +01:00
utils.py prioritize lsblk as a source of device serials 2022-10-10 19:31:47 +03:00
version.py Remove importlib-metadata from requirements 2022-06-21 17:54:39 +02:00