summaryrefslogtreecommitdiff
path: root/ironic_python_agent/hardware_managers
Commit message (Collapse)AuthorAgeFilesLines
* update NVIDIA NIC firmware images and settings by ironic-python-agentwaleed mousa2023-01-112-0/+985
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Increase version of hacking and pycodestyleRiccardo Pittau2021-07-301-3/+4
| | | | | | Fix H904 "Delay string interpolations at logging calls" errors Change-Id: I331808d0132094faf739998a6984440787d3ebf8
* Fix: make Intel CNA hardware manager none genericQianbiao.NG2020-09-231-16/+7
| | | | | | | | | | | | Currently, IntelCnaHardwareManager inherits GenericHardwareManager which makes it a new "GenericHardwareManager" with "MAINLINE" priority. This causes all other hardware-managers with lower priority than "MAINLINE" never be used. To fix this, make IntelCnaHardwareManager inherit basic HardwareManager. Change-Id: I28b665d8841b0b2e83b132e1f25df95e03e7ba10 Story: 2008142 Task: 40882
* Fix gate and bump CoreOS version to latest stable.Julia Kreger2018-05-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | Increases the amount of ram for CoreOS IPA to 2GB as the base CoreOS image is now 310MB. Bumped CPU count for CoreOS runs to 2 CPUs as the concurrency helps boot times for the CoreOS ramdisk. Adds netbase, udev, and open-iscsi to debian jessie container as they are no longer present in the default container. Explicitly set path variable for execution in the debian container as udevadm is in /sbin, and we may not have /sbin on the path that is passed through to the chroot. Also fixed new pep8 test failures. Story: #1600228 Task: #16287 Change-Id: I488445dfd261b7bca322a0be7b4d8ca6105750a3
* mlnx hardware_manager: get mac address using netifacesMoshe Levi2018-03-111-3/+3
| | | | Change-Id: I62e4ca6afb0f8a256ddf9bbc48225fbb96f9e817
* Execute error in _detect_cna_cardyuan liang2018-01-261-6/+12
| | | | | | A list type parameter pass to utils.execute will raise OSError. Change-Id: Ic5dd30f7e819e433d05bf9cc888902abe7a82def
* flake8: Specify 'ironic_python_agent' as name of appJohn L. Villalovos2017-03-161-1/+2
| | | | | | | | Specify 'ironic_python_agent' as the name of the application for the flake8-import-order plugin. That way it knows that imports of ironic_python_agent should come after external libraries. Change-Id: Id39d558a51aeb97d96633afea28676634547d0d7
* Add a new Hardware Manager for CNA network cardSzymon Borkowski2016-12-121-0/+91
| | | | | | | | | This patch adds a new hardware manager, which will disable the embedded LLDP agent on Intel CNA network cards in order to allow the gathering of LLDP data during the inspection process. Change-Id: I572756ac6a7bf67a7f446738ba9d145e1c1bdc48 Closes-Bug: #1623659
* Fix docsting in Mellanox _detect_hardwareMoshe Levi2016-12-061-1/+2
| | | | | | | | This is followup patch from the review of this I4e7f7649a1bdeaa3ee99b2748037b0f37fea486c commit. Change-Id: I3151daec4ff4ed9c7159a9f3f7f25367586cf3ae
* Add a new Hardware Manager for Mellanox NICsMoshe Levi2016-11-222-0/+111
This patch add Mellanox Manager to support Mellanox InfiniBand NICs. It adds client_id to the NetworkInterface for the InfiniBand network interface. The Mellanox Manager provides it own implementation of get_interface_info. The mlnx get_interface_info generate InfiniBand MAC and client-id from the InfiniBand network interface address. Closes-Bug: #1532534 Change-Id: I4e7f7649a1bdeaa3ee99b2748037b0f37fea486c