APi for listing VM in controller

This commit is contained in:
Julien Duponchelle
2016-04-20 14:38:14 +02:00
parent c8c61f2ae8
commit f6593663b5
6 changed files with 53 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class ComputeHandler:
def list(request, response):
controller = Controller.instance()
response.json([ c for c in controller.computes.values() ])
response.json([c for c in controller.computes.values()])
@classmethod
@Route.post(