To make this function useful for purposes other than efibootmgr entries, this change moves the path manipulation to _run_efibootmgr. This change also adds boot*.efi entries to BOOTLOADERS_EFI so that it includes every entry in the UEFI Spec 2.9 Table 3-2 UEFI Image Types.  https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf Story: 2008923 Task: 42521 Change-Id: Ibe02786609aa0de65115897d8f4a9b4f36c8aed2 (cherry picked from commit
|4 months ago|
|business-logic||1 year ago|
|custom-disk-erase||11 months ago|
|vendor-device||1 year ago|
|README.rst||11 months ago|
Example Hardware Managers
This example manager is meant to demonstrate good patterns for developing a device-specific hardware manager, such as for a specific version of NIC or disk.
Use Cases include:
- Adding device-specific clean-steps, such as to flash firmware or verify it's still properly working after being provisioned.
- Implementing erase_device() using a vendor-provided utility for a given disk model.
This example manager is meant to demonstrate good patterns for developing a hardware manager to perform disk erasure using a custom vendor utility.
Use case: * Ensuring block devices of a specific model are erased using custom code
This example manager is meant to demonstrate how cleaning and the agent can use the node object and the node itself to enforce business logic and node consistency.
Use Cases include:
- Quality control on hardware by ensuring no component is beyond its useful life.
- Asserting truths about the node; such as number of disks or total RAM.
- Reporting metrics about the node's hardware state.
- Overriding logic of get_os_install_device().
- Inserting additional deploy steps.
Make your own Manager based on these
To make your own hardware manager based on these examples, copy a relevant example out of this directory. Modify class names and entrypoints in setup.cfg to be not-examples.
Since the entrypoints are defined in setup.cfg, simply installing your new python package alongside IPA in a custom ramdisk should be enough to enable the new hardware manager.