Auto idle-pc feature and improvements/bug fixes for GNS3 preferences.

This commit is contained in:
grossmj committed 2014-10-13 19:53:17 -06:00
1 parent b68c11e33e
commit 4195bdc7dd
3 files changed
+95

No files matched your search

+14
View File
@@ -487,6 +487,20 @@ VM_IDLEPCS_SCHEMA = {
"required": ["id"]
}
VM_AUTO_IDLEPC_SCHEMA = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Request an auto idle-pc calculation for this VM instance",
"type": "object",
"properties": {
"id": {
"description": "VM instance ID",
"type": "integer"
},
},
"additionalProperties": False,
"required": ["id"]
}
VM_ALLOCATE_UDP_PORT_SCHEMA = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Request validation to allocate an UDP port for a VM instance",