The cinder.replication.api
Module¶
Handles all requests relating to volume replication.
-
class
API
(db_driver=None)¶ Bases:
cinder.db.base.Base
API for interacting with volume replication relationships.
-
promote
(context, target_obj, *args, **kwargs)¶
-
reenable
(context, target_obj, *args, **kwargs)¶
-
-
check_policy
(context, action, target_obj=None)¶
-
wrap_check_policy
(func)¶ Check policy corresponding to the wrapped methods prior to execution.
This decorator requires the first 3 args of the wrapped function to be (self, context, relationship_id)