Dynamips import/export configs.

This commit is contained in:
Jeremy committed 2015-02-19 16:04:15 -07:00
1 parent 3797e27de5
commit 8d02f464c5
4 files changed
+56 -6

No files matched your search

+3
View File
@@ -480,6 +480,9 @@ class Dynamips(BaseManager):
if vm.slots[0].wics and vm.slots[0].wics[wic_slot_id]:
yield from vm.uninstall_wic(wic_slot_id)
# update the configs if needed
yield from self.create_vm_configs(vm, settings.get("startup_config_content"), settings.get("private_config_content"))
@asyncio.coroutine
def create_vm_configs(self, vm, startup_config_content, private_config_content):
"""