Protection Plugins

Protection Plugins

Project

Server

Server to Bank

class karbor.services.protection.protection_plugins.server.nova_protection_plugin.NovaProtectionPlugin

Bases: karbor.services.protection.protection_plugin.ProtectionPlugin

get_delete_operation(resource)

Returns the delete Operation for this resource

Returns:Operation for the resource
classmethod get_options_schema(resource_type)

Returns the protect options schema for a resource type

Returns:a dictionary representing the schema
get_protect_operation(resource)

Returns the protect Operation for this resource

Returns:Operation for the resource
get_restore_operation(resource)

Returns the restore Operation for this resource

Returns:Operation for the resource
classmethod get_restore_schema(resource_type)

Returns the restore schema for a resource type

Returns:a dictionary representing the schema
classmethod get_saved_info(metadata_store, resource)

Returns the saved info for a resource

Returns:a dictionary representing the saved info
classmethod get_saved_info_schema(resource_type)

Returns the saved info schema for a resource type

Returns:a dictionary representing the schema
classmethod get_supported_resources_types()

Returns a list of resource types this plugin supports

Returns:a list of resource types
get_verify_operation(resource)

Returns the verify Operation for this resource

Returns:Operation for the resource
classmethod get_verify_schema(resources_type)

Returns the verify schema for a resource type

Returns:a dictionary representing the schema

Volume

Cinder Backup

class karbor.services.protection.protection_plugins.volume.cinder_protection_plugin.CinderBackupProtectionPlugin

Bases: karbor.services.protection.protection_plugin.ProtectionPlugin

get_delete_operation(resource)

Returns the delete Operation for this resource

Returns:Operation for the resource
classmethod get_options_schema(resources_type)

Returns the protect options schema for a resource type

Returns:a dictionary representing the schema
get_protect_operation(resource)

Returns the protect Operation for this resource

Returns:Operation for the resource
get_restore_operation(resource)

Returns the restore Operation for this resource

Returns:Operation for the resource
classmethod get_restore_schema(resources_type)

Returns the restore schema for a resource type

Returns:a dictionary representing the schema
classmethod get_saved_info(metadata_store, resource)

Returns the saved info for a resource

Returns:a dictionary representing the saved info
classmethod get_saved_info_schema(resources_type)

Returns the saved info schema for a resource type

Returns:a dictionary representing the schema
classmethod get_supported_resources_types()

Returns a list of resource types this plugin supports

Returns:a list of resource types
get_verify_operation(resource)

Returns the verify Operation for this resource

Returns:Operation for the resource
classmethod get_verify_schema(resources_type)

Returns the verify schema for a resource type

Returns:a dictionary representing the schema

Image

Image to Bank

class karbor.services.protection.protection_plugins.image.image_protection_plugin.GlanceProtectionPlugin

Bases: karbor.services.protection.protection_plugin.ProtectionPlugin

get_delete_operation(resource)

Returns the delete Operation for this resource

Returns:Operation for the resource
classmethod get_options_schema(resources_type)

Returns the protect options schema for a resource type

Returns:a dictionary representing the schema
get_protect_operation(resource)

Returns the protect Operation for this resource

Returns:Operation for the resource
get_restore_operation(resource)

Returns the restore Operation for this resource

Returns:Operation for the resource
classmethod get_restore_schema(resources_type)

Returns the restore schema for a resource type

Returns:a dictionary representing the schema
classmethod get_saved_info(metadata_store, resource)

Returns the saved info for a resource

Returns:a dictionary representing the saved info
classmethod get_saved_info_schema(resources_type)

Returns the saved info schema for a resource type

Returns:a dictionary representing the schema
classmethod get_supported_resources_types()

Returns a list of resource types this plugin supports

Returns:a list of resource types
get_verify_operation(resource)

Returns the verify Operation for this resource

Returns:Operation for the resource
classmethod get_verify_schema(resources_type)

Returns the verify schema for a resource type

Returns:a dictionary representing the schema
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.