[Kimchi-devel] [PATCH v2 4/4] Add disks to LVM pool: API.json changes
Aline Manera
alinefm at linux.vnet.ibm.com
Tue Feb 11 13:29:43 UTC 2014
Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
On 02/10/2014 07:52 PM, Daniel Barboza wrote:
> 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": {
More information about the Kimchi-devel
mailing list