Add a vm_directory field to Dynamips / VPCS / IOU

Fix #246
This commit is contained in:
Julien Duponchelle
2015-06-25 11:17:32 +02:00
parent 3bb1509f41
commit ccd3224490
6 changed files with 15 additions and 0 deletions

View File

@ -131,6 +131,7 @@ class Router(BaseVM):
router_info = {"name": self.name,
"vm_id": self.id,
"vm_directory": os.path.join(self.project.module_working_directory(self.manager.module_name.lower())),
"project_id": self.project.id,
"dynamips_id": self._dynamips_id,
"platform": self._platform,