Merge branch 'master' into unstable

This commit is contained in:
Julien Duponchelle committed 2015-10-06 19:19:56 +02:00
commit 5e3ce48a52
7 files changed
+76 -22

No files matched your search

+11
View File
@@ -357,6 +357,17 @@ class Dynamips(BaseManager):
return hypervisor
@asyncio.coroutine
def ghost_ios_support(self, vm):
ghost_ios_support = self.config.get_section_config("Dynamips").getboolean("ghost_ios_support", True)
if ghost_ios_support:
with (yield from Dynamips._ghost_ios_lock):
try:
yield from self._set_ghost_ios(vm)
except GeneratorExit:
log.warning("Could not create ghost IOS image {} (GeneratorExit)".format(vm.name))
@asyncio.coroutine
def create_nio(self, node, nio_settings):
"""