This is the default hardware manager for ironic-python-agent. It provides support for Hardware Inventory and the default deploy and clean steps.
deploy.write_image(node, ports, image_info, configdrive=None)
write_image
deploy step of the
:ironic-doc:`direct deploy interface
<admin/interfaces/deploy.html#direct-deploy>`.
Should not be used explicitly, but can be overridden to provide a custom
way of writing an image.deploy.erase_devices_metadata(node, ports)
raid.apply_configuration(node, ports, raid_config, delete_existing=True)
raid
interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.deploy.inject_files(node, ports, files, verify_ca=True)
This optional deploy step (introduced in the Wallaby release series) allows
injecting arbitrary files into the node. The list of files is built from the
optional inject_files
property of the node concatenated with the explicit
files
argument. Each item in the list is a dictionary with the following
fields:
path
(required)partition
Specifies the target partition in one of 3 ways:
/dev/sda1
or
/dev/disk/by-partlabel/<something>
.path
on the root device. E.g. for
/etc/sysctl.d/my.conf
, look for a partition containing /etc
.deleted
True
, the file is deleted, not created.
Incompatible with content
.content
Data to write. Incompatible with deleted
. Can take two forms:
http://server/{node[uuid]}/{ports[0][address]}
.mode
, owner
, group
dirmode
This deploy step is disabled by default and can be enabled via a deploy
template or via the ipa-inject-files-priority
kernel parameter.
Known limitations:
owner
and group
.deploy.erase_devices
deploy.erase_devices_metadata
erase_devices
step.deploy.erase_pstore
raid.create_configuration
raid
interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.raid.delete_configuration
raid
interface
and must be used through the :ironic-doc:`ironic RAID feature
<admin/raid.html>`.Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.