Add a vm_directory field to Dynamips / VPCS / IOU

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

No files matched your search

+4
View File
@@ -527,6 +527,10 @@ VM_OBJECT_SCHEMA = {
"maxLength": 36,
"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}$"
},
"vm_directory": {
"decription": "Path to the VM working directory",
"type": "string"
},
"project_id": {
"description": "Project UUID",
"type": "string",
+4
View File
@@ -180,6 +180,10 @@ IOU_OBJECT_SCHEMA = {
"maxLength": 36,
"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}$"
},
"vm_directory": {
"decription": "Path to the VM working directory",
"type": "string"
},
"console": {
"description": "console TCP port",
"minimum": 1,
+4
View File
@@ -92,6 +92,10 @@ VPCS_OBJECT_SCHEMA = {
"maxLength": 36,
"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}$"
},
"vm_directory": {
"decription": "Path to the VM working directory",
"type": "string"
},
"status": {
"description": "VM status",
"enum": ["started", "stopped"]