New Dynamips integration part 1

This commit is contained in:
Jeremy committed 2015-02-09 18:24:13 -07:00
1 parent 648850c411
commit 46cbcd6132
82 files changed
+2677 -9407

No files matched your search

+2 -2
View File
@@ -254,10 +254,10 @@ class VPCSVM(BaseVM):
if self.is_running():
self._terminate_process()
try:
yield from asyncio.wait_for(self._process.wait(), timeout=10)
yield from asyncio.wait_for(self._process.wait(), timeout=3)
except asyncio.TimeoutError:
self._process.kill()
if self._process.poll() is None:
if self._process.returncode is None:
log.warn("VPCS process {} is still running".format(self._process.pid))
self._process = None