mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
1 parent
818676ce5e
commit
8434a286b6
2 files changed
+15
-1
No files matched your search
@@ -62,3 +62,13 @@ class IOU(BaseManager):
|
||||
"""
|
||||
|
||||
return self._used_application_ids.get(vm_id, 1)
|
||||
|
||||
def get_legacy_vm_workdir_name(legacy_vm_id):
|
||||
"""
|
||||
Returns the name of the legacy working directory (pre 1.3) name for a VM.
|
||||
|
||||
:param legacy_vm_id: legacy VM identifier (integer)
|
||||
:returns: working directory name
|
||||
"""
|
||||
|
||||
return "device-{}".format(legacy_vm_id)
|
||||
Reference in new issue
Block a user