cinder.keymgr.transfer module
updated: 2024-06-21 07:19
cinder.keymgr.transfer module
-
class KeyTransfer(conf: ConfigOpts)
Bases: object
-
property service_context
Returns the cinder service’s context.
-
transfer_key(volume: Volume, src_context: RequestContext, dst_context: RequestContext) → None
Transfer the key from the src_context to the dst_context.
-
transfer_accept(context: ~cinder.context.RequestContext, volume: ~cinder.objects.volume.Volume, conf: ~oslo_config.cfg.ConfigOpts = <oslo_config.cfg.ConfigOpts object>) → None
Transfer the key from the cinder service to the recipient.
-
transfer_create(context: ~cinder.context.RequestContext, volume: ~cinder.objects.volume.Volume, conf: ~oslo_config.cfg.ConfigOpts = <oslo_config.cfg.ConfigOpts object>) → None
Transfer the key from the owner to the cinder service.
-
transfer_delete(context: ~cinder.context.RequestContext, volume: ~cinder.objects.volume.Volume, conf: ~oslo_config.cfg.ConfigOpts = <oslo_config.cfg.ConfigOpts object>) → None
Transfer the key from the cinder service back to the owner.
updated: 2024-06-21 07:19