[Kimchi-devel] [PATCH] Fix issue #620: Allow use iSCSI/SCSI volume on Template
Crístian Viana
vianac at linux.vnet.ibm.com
Fri Mar 20 15:15:49 UTC 2015
Reviewed-by: Crístian Viana <vianac at linux.vnet.ibm.com>
On 18-03-2015 17:05, Aline Manera wrote:
> When selecting an iSCSI/SCSI volume to create a Template, the disk size is
> calculated according to the selected volume.
>
> In that case only the volume information should be used:
> {
> ...
> "disks":[
> {
> "volume":"unit:0:0:2",
> "index":0
> }
> ]
> }
>
> Also to get and display the disk size for user we should query the
> selected volume.
>
> This patch also created function to call GET /storagepools/<pool> API.
> That way we can easily get the pool type without the need to query the information
> on all pools returned by GET /storagepools API
>
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
More information about the Kimchi-devel
mailing list