mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Support script file
This commit is contained in:
1 parent
c30f7ce9a1
commit
fa57485f11
6 files changed
+40
-12
No files matched your search
@@ -50,6 +50,10 @@ VPCS_CREATE_SCHEMA = {
|
||||
"maximum": 65535,
|
||||
"type": "integer"
|
||||
},
|
||||
"script_file": {
|
||||
"description": "VPCS startup script",
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["name", "project_uuid"]
|
||||
@@ -143,7 +147,11 @@ VPCS_OBJECT_SCHEMA = {
|
||||
"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}$"
|
||||
}
|
||||
},
|
||||
"script_file": {
|
||||
"description": "VPCS startup script",
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["name", "uuid", "console", "project_uuid"]
|
||||
|
||||
Reference in new issue
Block a user