Module Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Pass decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A abc N/A six nova keymgr VolumeEncryptor N/A object N/A N/A Base class to support encrypted volumes.

    A VolumeEncryptor provides hooks for attaching and detaching volumes, which
    are called immediately prior to attaching the volume to an instance and
    immediately following detaching the volume from an instance. This class
    performs no actions for either hook.
     __init__ N/A N/A self connection_info N/A kwargs N/A N/A N/A self _key_manager N/A N/A keymgr API N/A N/A self encryption_key_id N/A N/A kwargs get encryption_key_id N/A _get_key N/A N/A self context N/A N/A N/A Retrieves the encryption key for the specified volume.

        :param: the connection information used to attach the volume
         N/A N/A N/A N/A self _key_manager get_key context N/A self encryption_key_id N/A attach_volume N/A N/A self context N/A kwargs N/A N/A Hook called immediately prior to attaching a volume to an instance.
         N/A N/A N/A abc abstractmethod detach_volume N/A N/A self N/A kwargs N/A N/A Hook called immediately after detaching a volume from an instance.
         N/A N/A N/A abc abstractmethod N/A N/A N/A six add_metaclass N/A abc ABCMeta