mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Support VM usage for qemu
Ref https://github.com/GNS3/gns3-gui/issues/829
This commit is contained in:
1 parent
e626c0b55c
commit
42a4df5079
2 files changed
+72
-6
No files matched your search
@@ -38,6 +38,10 @@ QEMU_CREATE_SCHEMA = {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
},
|
||||
"usage": {
|
||||
"description": "How to use the qemu VM",
|
||||
"type": "string",
|
||||
},
|
||||
"linked_clone": {
|
||||
"description": "either the VM is a linked clone or not",
|
||||
"type": "boolean"
|
||||
@@ -211,6 +215,10 @@ QEMU_UPDATE_SCHEMA = {
|
||||
"type": ["string", "null"],
|
||||
"minLength": 1,
|
||||
},
|
||||
"usage": {
|
||||
"description": "How to use the qemu VM",
|
||||
"type": "string",
|
||||
},
|
||||
"qemu_path": {
|
||||
"description": "Path to QEMU",
|
||||
"type": ["string", "null"],
|
||||
@@ -389,6 +397,10 @@ QEMU_OBJECT_SCHEMA = {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
},
|
||||
"usage": {
|
||||
"description": "How to use the qemu VM",
|
||||
"type": "string",
|
||||
},
|
||||
"qemu_path": {
|
||||
"description": "path to QEMU",
|
||||
"type": "string",
|
||||
@@ -548,12 +560,45 @@ QEMU_OBJECT_SCHEMA = {
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["vm_id", "project_id", "name", "qemu_path", "platform", "console_type", "hda_disk_image", "hdb_disk_image",
|
||||
"hdc_disk_image", "hdd_disk_image", "hda_disk_image_md5sum", "hdb_disk_image_md5sum",
|
||||
"hdc_disk_image_md5sum", "hdd_disk_image_md5sum", "hda_disk_interface", "hdb_disk_interface", "hdc_disk_interface",
|
||||
"hdd_disk_interface", "cdrom_image", "cdrom_image_md5sum", "boot_priority", "ram", "cpus", "adapters", "adapter_type",
|
||||
"mac_address", "console", "initrd", "kernel_image", "initrd_md5sum", "kernel_image_md5sum", "kernel_command_line",
|
||||
"legacy_networking", "acpi_shutdown", "cpu_throttling", "process_priority", "options", "vm_directory"]
|
||||
"required": ["vm_id",
|
||||
"project_id",
|
||||
"name",
|
||||
"usage",
|
||||
"qemu_path",
|
||||
"platform",
|
||||
"console_type",
|
||||
"hda_disk_image",
|
||||
"hdb_disk_image",
|
||||
"hdc_disk_image",
|
||||
"hdd_disk_image",
|
||||
"hda_disk_image_md5sum",
|
||||
"hdb_disk_image_md5sum",
|
||||
"hdc_disk_image_md5sum",
|
||||
"hdd_disk_image_md5sum",
|
||||
"hda_disk_interface",
|
||||
"hdb_disk_interface",
|
||||
"hdc_disk_interface",
|
||||
"hdd_disk_interface",
|
||||
"cdrom_image",
|
||||
"cdrom_image_md5sum",
|
||||
"boot_priority",
|
||||
"ram",
|
||||
"cpus",
|
||||
"adapters",
|
||||
"adapter_type",
|
||||
"mac_address",
|
||||
"console",
|
||||
"initrd",
|
||||
"kernel_image",
|
||||
"initrd_md5sum",
|
||||
"kernel_image_md5sum",
|
||||
"kernel_command_line",
|
||||
"legacy_networking",
|
||||
"acpi_shutdown",
|
||||
"cpu_throttling",
|
||||
"process_priority",
|
||||
"options",
|
||||
"vm_directory"]
|
||||
}
|
||||
|
||||
QEMU_BINARY_LIST_SCHEMA = {
|
||||
|
||||
Reference in new issue
Block a user