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: RequestContext, volume: Volume, conf: ConfigOpts = <oslo_config.cfg.ConfigOpts object>) None

Transfer the key from the cinder service to the recipient.

transfer_create(context: RequestContext, volume: Volume, conf: ConfigOpts = <oslo_config.cfg.ConfigOpts object>) None

Transfer the key from the owner to the cinder service.

transfer_delete(context: RequestContext, volume: Volume, conf: ConfigOpts = <oslo_config.cfg.ConfigOpts object>) None

Transfer the key from the cinder service back to the owner.