mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +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",
|
||||
"properties": {
|
||||
"vm_id": {
|
||||
"description": "QEMU VM UUID",
|
||||
"type": ["string", "null"],
|
||||
"minLength": 1,
|
||||
"description": "QEMU VM identifier",
|
||||
"oneOf": [
|
||||
{"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": {
|
||||
"description": "QEMU VM instance name",
|
||||
|
Loading…
Reference in New Issue
Block a user