The freezer.engine.nova.nova Module

The freezer.engine.nova.nova Module

  1. Copyright 2016 Hewlett-Packard Development Enterprise, L.P.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

Bases: freezer.engine.engine.BackupEngine

backup_data(backup_resource, manifest_path)
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
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.

freezer 6.0.1.dev8