'Returns the list of extra specs for a given volume type.'

def index(self, req, type_id):

    context = req.environ['cinder.context']
    authorize(context, action='index')
    self._check_type(context, type_id)
    return self._get_extra_specs(context, type_id)
