freezer.engine.nova.nova module

freezer.engine.nova.nova module

class freezer.engine.nova.nova.NovaEngine(storage, **kwargs)

Bases: freezer.engine.engine.BackupEngine

backup_data(backup_resource, manifest_path)
Parameters:
  • backup_path
  • manifest_path
Returns:

backup_nova_tenant(project_id, hostname_backup_name, no_incremental, max_level, always_level, restart_always_level)
get_nova_tenant(project_id)
get_storage_info(project_id)
get_tenant_meta(path)
static image_active(glance_client, image_id)

Check if the image is in the active state or not

metadata(backup_resource)

Construct metadata

name
Return type:str
Returns:Engine name
restore_level(restore_resource, read_pipe, backup, except_queue)
restore_nova_tenant(project_id, hostname_backup_name, overwrite, recent_to_date)
set_tenant_meta(path, metadata)

push data to the manifest file

stream_image(pipe)

Reading bytes from a pipe and converting it to a stream-like

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.