@_api_version(1.21)
@_client_version('1.5.0')
def create_volume(name, driver=None, driver_opts=None):
 response = _client_wrapper('create_volume', name, driver=driver, driver_opts=driver_opts)
 _clear_context()
 return response

@ _api_version ( 1.21 ) @ _client_version ( '1.5.0' ) def create_volume ( name , driver = None , driver_opts = None ) : response = _client_wrapper ( 'create_volume' , name , driver = driver , driver_opts = driver_opts ) _clear_context ( ) return response
sets up a dmcrypt mapping .