Enable show in file manager for cloud

Fix https://github.com/GNS3/gns3-gui/issues/1900
This commit is contained in:
Julien Duponchelle committed 2017-03-06 14:25:53 +01:00
1 parent 94d285301a
commit 8b7035b185
8 files changed
+27 -12

No files matched your search

+3 -1
View File
@@ -81,7 +81,9 @@ class Cloud(BaseNode):
"project_id": self.project.id,
"ports_mapping": self._ports_mapping,
"interfaces": host_interfaces,
"status": self.status}
"status": self.status,
"node_directory": self.working_dir
}
@property
def ports_mapping(self):
+5 -1
View File
@@ -75,7 +75,7 @@ CLOUD_CREATE_SCHEMA = {
{"$ref": "#/definitions/HostInterfaces"}
]},
]
},
}
},
"additionalProperties": False,
"required": ["name"]
@@ -123,6 +123,10 @@ CLOUD_OBJECT_SCHEMA = {
]},
]
},
"node_directory": {
"description": "Path to the VM working directory",
"type": "string"
},
"status": {
"description": "Node status",
"enum": ["started", "stopped", "suspended"]
+1 -1
View File
@@ -511,7 +511,7 @@ VM_OBJECT_SCHEMA = {
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"node_directory": {
"decription": "Path to the vm working directory",
"description": "Path to the vm working directory",
"type": "string"
},
"project_id": {
+1 -1
View File
@@ -503,7 +503,7 @@ QEMU_OBJECT_SCHEMA = {
"enum": ["c", "d", "n", "cn", "cd"]
},
"node_directory": {
"decription": "Path to the VM working directory",
"description": "Path to the VM working directory",
"type": "string"
},
"ram": {
+1 -1
View File
@@ -124,7 +124,7 @@ VBOX_OBJECT_SCHEMA = {
"enum": ["started", "stopped", "suspended"]
},
"node_directory": {
"decription": "Path to the VM working directory",
"description": "Path to the VM working directory",
"type": ["string", "null"]
},
"headless": {
+1 -1
View File
@@ -103,7 +103,7 @@ VMWARE_OBJECT_SCHEMA = {
"enum": ["started", "stopped", "suspended"]
},
"node_directory": {
"decription": "Path to the node working directory",
"description": "Path to the node working directory",
"type": ["string", "null"]
},
"project_id": {
+1 -1
View File
@@ -109,7 +109,7 @@ VPCS_OBJECT_SCHEMA = {
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"node_directory": {
"decription": "Path to the VM working directory",
"description": "Path to the VM working directory",
"type": "string"
},
"status": {