mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-20 08:13:48 +00:00
Added base64 transmission of script_file
This commit is contained in:
@ -36,6 +36,10 @@ VPCS_CREATE_SCHEMA = {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
},
|
||||
"base_script_file_base64": {
|
||||
"description": "startup script file base64 encoded",
|
||||
"type": "string"
|
||||
},
|
||||
},
|
||||
"required": ["path"]
|
||||
}
|
||||
@ -73,10 +77,14 @@ VPCS_UPDATE_SCHEMA = {
|
||||
"minLength": 1,
|
||||
},
|
||||
"base_script_file": {
|
||||
"description": "path to the VPCS startup configuration file",
|
||||
"description": "path to the VPCS startup script file file",
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
},
|
||||
"base_script_file_base64": {
|
||||
"description": "startup script file base64 encoded",
|
||||
"type": "string"
|
||||
},
|
||||
},
|
||||
"required": ["id"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user