'get extra specs to match the type_id
type_id can derive from volume or from consistency_group'

def _get_extra_specs(self, type_id):

    if (type_id is None):
        return {}
    return c_volume.volume_types.get_volume_type_extra_specs(type_id)
