[Kimchi-devel] [PATCH V3 2/6] template supports networks: update API

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue Dec 31 02:43:20 UTC 2013


Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>

On 12/30/2013 02:04 PM, shaohef at linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>
> add 'networks' option for template get/create/update
>
> Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
> ---
>   docs/API.md | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/docs/API.md b/docs/API.md
> index 9edc551..d9d6c1b 100644
> --- a/docs/API.md
> +++ b/docs/API.md
> @@ -120,6 +120,8 @@ Represents a snapshot of the Virtual Machine's primary monitor.
>       * cdrom *(required)*: A volume name or URI to an ISO image.
>       * storagepool *(optional)*: URI of the storagepool.
>         Default is '/storagepools/default'
> +    * networks *(optional)*: list of which networks will be assigned to the new VM.
> +      Default is '[default]'
>       * disks *(optional)*: An array of requested disks with the following optional fields
>         (either *size* or *volume* must be specified):
>           * index: The device index
> @@ -144,6 +146,7 @@ Represents a snapshot of the Virtual Machine's primary monitor.
>       * memory: The amount of memory assigned to the VM
>       * cdrom: A volume name or URI to an ISO image
>       * storagepool: URI of the storagepool where template allocates vm storage.
> +    * networks *(optional)*: list of which networks will be assigned to the new VM.
>       * disks: An array of requested disks with the following optional fields
>         (either *size* or *volume* must be specified):
>           * index: The device index
> @@ -162,6 +165,7 @@ Represents a snapshot of the Virtual Machine's primary monitor.
>       * memory: The amount of memory assigned to the VM
>       * cdrom: A volume name or URI to an ISO image
>       * storagepool: URI of the storagepool where template allocates vm storage.
> +    * networks *(optional)*: list of which networks will be assigned to the new VM.
>       * disks: An array of requested disks with the following optional fields
>         (either *size* or *volume* must be specified):
>           * index: The device index




More information about the Kimchi-devel mailing list