'Return the parameters for creating the volume.'

def _get_volume_params(self, volume_type):

    specs = {}
    if volume_type:
        specs = dict(volume_type).get('extra_specs')
    opts = self._get_volume_params_from_specs(specs)
    return opts
