Exemplo n.º 1
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(
         get_limit(s_cache=self._server_cache_for_tenant(tenant_id)))
Exemplo n.º 2
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(
         get_limit(s_cache=self._server_cache_for_tenant(tenant_id))
     )
Exemplo n.º 3
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(get_limit())
Exemplo n.º 4
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(get_limit())