[Kimchi-devel] [PATCH v2 4/4] Add disks to LVM pool: API.json changes
Daniel Barboza
danielhb at linux.vnet.ibm.com
Mon Feb 10 21:52:45 UTC 2014
From: Daniel Henrique Barboza <danielhb at 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 at 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
More information about the Kimchi-devel
mailing list