Esempio n. 1
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(
             self.request, **{})
         return reachabilitytests
     except Exception:
         return []
Esempio n. 2
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(
             self.request, **{'tenant_id': self.request.user.project_id})
         return reachabilitytests
     except Exception:
         return []
Esempio n. 3
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(self.request,
                                                           **{})
         return reachabilitytests
     except Exception:
         return []
Esempio n. 4
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(
             self.request, **{'tenant_id': self.request.user.project_id})
         return reachabilitytests
     except Exception:
         return []
Esempio n. 5
0
 def get(self, request):
     result = bsnneutron.reachabilitytest_list(
         request, **{'tenant_id': request.user.project_id})
     return {'items': [n.to_dict() for n in result]}
Esempio n. 6
0
 def get(self, request):
     result = bsnneutron.reachabilitytest_list(
         request,
         **{'tenant_id': request.user.project_id})
     return {'items': [n.to_dict() for n in result]}