Report GNS3 VM errors to the GUI server summary. Ref #1359.

This commit is contained in:
grossmj
2018-08-28 15:42:06 +07:00
parent 8d4e73d23c
commit 00cf66fb0f
3 changed files with 25 additions and 8 deletions

View File

@ -138,6 +138,14 @@ class Compute:
self._password = None
self._auth = aiohttp.BasicAuth(self._user, "")
def set_last_error(self, msg):
"""
Set the last error message for this compute.
:param msg: message
"""
self._last_error = msg
@asyncio.coroutine
def interfaces(self):
"""