#NEWLINE# def _create_volume( self , client , name , driver_opts ) : #NEWLINE# #INDENT# '\n        Create a volume with the given name and driver options on the passed in\n        docker client.\n\n        :param client: The docker.Client object to use.\n        :param name: The name of the volume to create.\n        :param opts: The options to pass through to the Flocker Plugin for\n            Docker.\n        :returns: The result of the API call.\n        ' #NEWLINE# result = client . create_volume ( name , 'flocker' , driver_opts ) #NEWLINE# self . addCleanup ( client . remove_volume , name ) #NEWLINE# return result