示例#1
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(
             self.request, **{})
         return reachabilitytests
     except Exception:
         return []
示例#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 []
示例#3
0
 def get_reachabilitytests_data(self):
     try:
         reachabilitytests = neutron.reachabilitytest_list(self.request,
                                                           **{})
         return reachabilitytests
     except Exception:
         return []
示例#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 []
示例#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]}
示例#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]}