
From: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com> This patch adds a new section 'storagepool_update' in API.json in order to remove parameter validation inside the model. Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com> --- src/kimchi/API.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/kimchi/API.json b/src/kimchi/API.json index 08c77c5..f025661 100644 --- a/src/kimchi/API.json +++ b/src/kimchi/API.json @@ -94,6 +94,22 @@ } } }, + "storagepool_update": { + "type": "object", + "properties": { + "autostart": { + "description": "Set autostart value of the pool", + "type": "boolean" + }, + "disks": { + "description": "List of disks/partitions to be added", + "type": "array", + "items": { "type": "string" }, + "minItems": 1, + "uniqueItems": true + } + } + }, "vms_create": { "type": "object", "properties": { -- 1.8.3.1