Change rename command to a name property setter for all Dynamips

devices. Adjust the tests and upload the new dynamips that supports the
rename command for VMs.
This commit is contained in:
grossmj
2014-02-05 15:45:33 -07:00
parent cef29e53aa
commit 5560e81f9a
17 changed files with 117 additions and 109 deletions

View File

@ -9,7 +9,7 @@ def hypervisor(request):
cwd = os.path.dirname(os.path.abspath(__file__))
dynamips_path = os.path.join(cwd, "dynamips.stable")
print("\nStarting Dynamips Hypervisor: {}".format(dynamips_path))
manager = HypervisorManager(dynamips_path, "/tmp", base_port=9000)
manager = HypervisorManager(dynamips_path, "/tmp", "127.0.0.1", 9000)
hypervisor = manager.start_new_hypervisor()
def stop():