Пример #1
0
 def get_heat_services_data(self):
     try:
         services = heat.service_list(self.tab_group.request)
     except Exception:
         msg = _('Unable to get Orchestration service list.')
         exceptions.check_message(["Connection", "refused"], msg)
         exceptions.handle(self.request, msg)
         services = []
     return services
Пример #2
0
 def get_heat_services_data(self):
     try:
         services = heat.service_list(self.tab_group.request)
     except Exception:
         msg = _('Unable to get Orchestration service list.')
         exceptions.check_message(["Connection", "refused"], msg)
         exceptions.handle(self.request, msg)
         services = []
     return services