def _items(self, req, vsa_id, details):
        context = req.environ['nova.context']

        vols = self.volume_api.get_all(context,
                search_opts={'metadata': {self.direction: str(vsa_id)}})
        limited_list = common.limited(vols, req)

        res = [self._translation(context, vol, vsa_id, details) \
               for vol in limited_list]

        return {self.objects: res}
Return summary or detailed list of volumes for particular VSA.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/virtual_storage_arrays.py/VsaVolumeDriveController._items