The ironic_python_agent.extensions.standby Module

class ironic_python_agent.extensions.standby.ImageDownload(image_info, time_obj=None)[source]

Bases: object

Helper class that opens a HTTP connection to download an image.

This class opens a HTTP connection to download an image from a URL and create an iterator so the image can be downloaded in chunks. The MD5 hash of the image being downloaded is calculated on-the-fly.

md5sum()[source]
class ironic_python_agent.extensions.standby.StandbyExtension(agent=None)[source]

Bases: ironic_python_agent.extensions.base.BaseAgentExtension

cache_image(**command_params)[source]
power_off(**command_params)[source]
prepare_image(**command_params)[source]
run_image(**command_params)[source]
sync(**command_params)[source]

Flush file system buffers forcing changed blocks to disk.

Raises:CommandExecutionError if flushing file system buffers fails.

Previous topic

The ironic_python_agent.extensions.iscsi Module

Next topic

The ironic_python_agent.hardware Module

Project Source

This Page