KeyTransfer
(conf: oslo_config.cfg.ConfigOpts)¶Bases: object
service_context
¶Returns the cinder service’s context.
transfer_key
(volume: cinder.objects.volume.Volume, src_context: cinder.context.RequestContext, dst_context: cinder.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.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.