mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-03 21:58:13 +00:00
Fixes old projects loading issue with Qemu.
This commit is contained in:
parent
466c6142af
commit
7ace6fc7e9
@ -22,9 +22,14 @@ QEMU_CREATE_SCHEMA = {
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"vm_id": {
|
"vm_id": {
|
||||||
"description": "QEMU VM UUID",
|
"description": "QEMU VM identifier",
|
||||||
"type": ["string", "null"],
|
"oneOf": [
|
||||||
"minLength": 1,
|
{"type": "string",
|
||||||
|
"minLength": 36,
|
||||||
|
"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}$"},
|
||||||
|
{"type": "integer"} # for legacy projects
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"description": "QEMU VM instance name",
|
"description": "QEMU VM instance name",
|
||||||
|
Loading…
Reference in New Issue
Block a user