def _items(self, req, details):
        context = req.environ['nova.context']
        vsas = self.vsa_api.get_all(context)
        limited_list = common.limited(vsas, req)

        vsa_list = []
        for vsa in limited_list:
            instances = self._get_instances_by_vsa_id(context, vsa.get('id'))
            vsa_list.append(_vsa_view(context, vsa, details, instances))
        return {'vsaSet': vsa_list}
Return summary or detailed list of VSAs.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/virtual_storage_arrays.py/VsaController._items