The ironic.drivers.modules.agent_client Module

class ironic.drivers.modules.agent_client.AgentClient[source]

Bases: object

Client for interacting with nodes via a REST API.

execute_clean_step(step, node, ports)[source]
get_clean_steps(node, ports)[source]
get_commands_status(node)[source]
install_bootloader(node, root_uuid, efi_system_part_uuid=None)[source]

Install a boot loader on the image.

power_off(node)[source]

Soft powers off the bare metal node by shutting down ramdisk OS.

prepare_image(node, image_info, wait=False)[source]

Call the prepare_image method on the node.

start_iscsi_target(node, iqn)[source]

Expose the node’s disk as an ISCSI target.

sync(node)[source]

Flush file system buffers forcing changed blocks to disk.

Project Source

This Page