Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619

This commit is contained in:
grossmj committed 2020-07-26 18:27:18 +09:30
1 parent f97d346c34
commit 831ee5f468
17 files changed
+283 -7

No files matched your search

+8
View File
@@ -755,6 +755,14 @@ class DockerVM(BaseNode):
break
await self.stop()
async def reset_console(self):
"""
Reset the console.
"""
await self._clean_servers()
await self._start_console()
async def is_running(self):
"""
Checks if the container is running.