The karbor.services.protection.rpcapi Module

Client side of the protection manager RPC API.

class karbor.services.protection.rpcapi.ProtectionAPI

Bases: object

Client side of the protection rpc API.

API version history:

1.0 - Initial version.
RPC_API_VERSION = ‘1.0’
delete(ctxt, provider_id, checkpoint_id)
list_checkpoints(ctxt, provider_id, marker=None, limit=None, sort_keys=None, sort_dirs=None, filters=None)
list_protectable_dependents(ctxt, protectable_id=None, protectable_type=None)
list_protectable_instances(ctxt, protectable_type=None, marker=None, limit=None, sort_keys=None, sort_dirs=None, filters=None, parameters=None)
list_protectable_types(ctxt)
list_providers(ctxt, marker=None, limit=None, sort_keys=None, sort_dirs=None, filters=None)
protect(ctxt, plan=None, checkpoint_properties=None)
restore(ctxt, restore=None, restore_auth=None)
show_checkpoint(ctxt, provider_id, checkpoint_id)
show_protectable_instance(ctxt, protectable_type=None, protectable_id=None, parameters=None)
show_protectable_type(ctxt, protectable_type=None)
show_provider(ctxt, provider_id=None)