[Kimchi-devel] [PATCH 0/3] create a VM from an iscsi pool template

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Mar 20 10:35:38 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>


This patch just support create vm on iscsi lun.

Now we have support iSCSI or SCSI pool.

Here we want to create volumes for VM in those pools.
The best way to do it is on template level - and not on vm level

For if we create a template just assign a iSCSI or SCSI pool,
the user still need to choose a volume for his VM.

Also as we discussion, we do not mix disks from 2 different types of
storage pools, for instance: we do not create a template with 2
disks, where one comes from a ISCSI pool and other is a .img in
a DIR pool.

ShaoHe Feng (3):
  add a method to get iscsi storage pool auth information.
  generate a iscsi volume disk for a guest
  create a VM from an iscsi pool template.

 src/kimchi/model/templates.py | 11 +++++++++++
 src/kimchi/model/vms.py       |  4 +++-
 src/kimchi/vmtemplate.py      | 37 ++++++++++++++++++++++++++++++++++++-
 3 files changed, 50 insertions(+), 2 deletions(-)

-- 
1.8.5.3




More information about the Kimchi-devel mailing list