Keep Dynamips logs.

This commit is contained in:
grossmj committed 2015-02-16 21:30:31 -07:00
1 parent e6fd471dd5
commit dc4df68c7a
3 files changed
+4 -5

No files matched your search

+2 -1
View File
@@ -1494,7 +1494,8 @@ class Router(BaseVM):
"""
try:
reply = yield from self._hypervisor.send("vm extract_config {}".format(self._name))[0].rsplit(' ', 2)[-2:]
reply = yield from self._hypervisor.send("vm extract_config {}".format(self._name))
reply = reply[0].rsplit(' ', 2)[-2:]
except IOError:
#for some reason Dynamips gets frozen when it does not find the magic number in the NVRAM file.
return None, None