The cinder.backup.rpcapi Module¶
Client side of the volume backup RPC API.
- 
class 
BackupAPI¶ Bases:
cinder.rpc.RPCAPIClient side of the volume rpc API.
API version history:
1.0 - Initial version. 1.1 - Changed methods to accept backup objects instead of IDs. 1.2 - A version that got in by mistake (without breaking anything). 1.3 - Dummy version bump to mark start of having cinder-backup service decoupled from cinder-volume. ... Mitaka supports messaging 1.3. Any changes to existing methods in 1.x after this point should be done so that they can handle version cap set to 1.3. 2.0 - Remove 1.x compatibility 2.1 - Adds set_log_levels and get_log_levels- 
BINARY= ‘cinder-backup’¶ 
- 
RPC_API_VERSION= ‘2.1’¶ 
- 
RPC_DEFAULT_VERSION= ‘2.0’¶ 
- 
TOPIC= ‘cinder-backup’¶ 
- 
check_support_to_force_delete(ctxt, host)¶ 
- 
create_backup(ctxt, backup)¶ 
- 
delete_backup(ctxt, backup)¶ 
- 
export_record(ctxt, backup)¶ 
- 
get_log_levels(*args, **kwargs)¶ 
- 
import_record(ctxt, host, backup, backup_service, backup_url, backup_hosts)¶ 
- 
reset_status(ctxt, backup, status)¶ 
- 
restore_backup(ctxt, volume_host, backup, volume_id)¶ 
- 
set_log_levels(*args, **kwargs)¶ 
-