New feature: import/export device configs.

This commit is contained in:
grossmj committed 2014-07-03 18:56:37 -06:00
1 parent 9ac5b86431
commit 7c99ee9de8
7 files changed
+159 -1

No files matched your search

+14
View File
@@ -456,6 +456,20 @@ VM_SAVE_CONFIG_SCHEMA = {
"required": ["id"]
}
VM_EXPORT_CONFIG_SCHEMA = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Request validation to export the configs for VM instance",
"type": "object",
"properties": {
"id": {
"description": "VM instance ID",
"type": "integer"
},
},
"additionalProperties": False,
"required": ["id"]
}
VM_IDLEPCS_SCHEMA = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Request validation to calculate or show idle-pcs for VM instance",