mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 15:28:11 +00:00
Add method to delete and update computes
This commit is contained in:
@ -54,6 +54,8 @@ COMPUTE_CREATE_SCHEMA = {
|
||||
"required": ["compute_id", "protocol", "host", "port"]
|
||||
}
|
||||
|
||||
COMPUTE_UPDATE_SCHEMA = COMPUTE_CREATE_SCHEMA
|
||||
|
||||
COMPUTE_OBJECT_SCHEMA = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "Request validation to a GNS3 compute object instance",
|
||||
@ -93,5 +95,5 @@ COMPUTE_OBJECT_SCHEMA = {
|
||||
}
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["compute_id", "protocol", "host", "port", "name"]
|
||||
"required": ["compute_id", "protocol", "host", "port", "name", "connected"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user