Web interface for debbuging controller

This commit is contained in:
Julien Duponchelle committed 2016-03-15 11:32:10 +01:00
1 parent 7a095478fe
commit c0e452133d
8 files changed
+151 -8

No files matched your search

+14
View File
@@ -93,6 +93,13 @@ class Project:
except KeyError:
raise aiohttp.web.HTTPNotFound(text="VM ID {} doesn't exist".format(vm_id))
@property
def vms(self):
"""
:returns: Dictionnary of the VMS
"""
return self._vms
@asyncio.coroutine
def addLink(self):
"""
@@ -111,6 +118,13 @@ class Project:
except KeyError:
raise aiohttp.web.HTTPNotFound(text="Link ID {} doesn't exist".format(link_id))
@property
def links(self):
"""
:returns: Dictionnary of the Links
"""
return self._links
@asyncio.coroutine
def close(self):
for hypervisor in self._hypervisors: