def _read_info_quota(self):
        admin_tenant_id = self.identity_client.get_tenant_id_by_name(
            self.config.cloud.tenant)
        service_tenant_id = self.identity_client.get_tenant_id_by_name(
            self.config.cloud.service_tenant)
        if self.cloud.position == 'src' and self.filter_tenant_id:
            tmp_list = \
                [admin_tenant_id, service_tenant_id]
            tmp_list.extend(self.filter_tenant_id)
            tmp_list = list(set(tmp_list))
            tenant_ids = \
                [tenant.id for tenant in
                 self.identity_client.get_tenants_list()
                 if tenant.id in tmp_list]
        else:
            tenant_ids = \
                [tenant.id for tenant in
                 self.identity_client.get_tenants_list()
                    if tenant.id != service_tenant_id]
        quotas = []
        for tenant_id in tenant_ids:
            quota = self.cinder_client.quotas.get(tenant_id)
            quota_conv = self.convert_quota(quota)
            quota_conv['tenant_id'] = tenant_id
            quota_conv['tenant_name'] = self.identity_client\
                .try_get_tenant_name_by_id(tenant_id)
            quotas.append(quota_conv)
        return quotas
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/storage/cinder_storage.py/CinderStorage._read_info_quota/original