def get_data(self):
        instances = []
        try:
            result = api.nova.hypervisor_search(self.request,
                                                self.kwargs['hypervisor'])
            for hypervisor in result:
                try:
                    instances += hypervisor.servers
                except __HOLE__:
                    pass
        except Exception:
            exceptions.handle(
                self.request,
                _('Unable to retrieve hypervisor instances list.'))
        return instances
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/admin/hypervisors/views.py/AdminDetailView.get_data