mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 21:08:55 +00:00
parent
45cf004946
commit
b63273ec97
@ -325,7 +325,10 @@ class Router(BaseNode):
|
||||
Resumes this suspended router
|
||||
"""
|
||||
|
||||
status = yield from self.get_status()
|
||||
if status == "suspended":
|
||||
yield from self._hypervisor.send('vm resume "{name}"'.format(name=self._name))
|
||||
self.status = "started"
|
||||
log.info('Router "{name}" [{id}] has been resumed'.format(name=self._name, id=self._id))
|
||||
|
||||
@asyncio.coroutine
|
||||
|
Loading…
Reference in New Issue
Block a user