[Kimchi-devel] [PATCHv2 0/5] Create vm from image based template
lvroyce at linux.vnet.ibm.com
lvroyce at linux.vnet.ibm.com
Tue Jul 15 09:11:40 UTC 2014
From: Royce Lv <lvroyce at linux.vnet.ibm.com>
How to test:
create a image using:
POST /templates {'name':'mytemp', 'disks':[{'base':'a_base_img_path'}]}
create a vm using:
POST /vms {'template': '/templates/mytemp', 'pool'....}
Known issues:
1.This is only available for NFS and dir pool
2.template integrity is not checked, and base img is not protected.
3.Welcome ideas on how to test this feature.
Royce Lv (5):
Add image probe function
Change doc and api specification
Change 'cdrom' to a optional param
Integrate image os probe in vm template create
Create volume based on backing store image
docs/API.md | 3 ++-
docs/README.md | 9 ++++---
src/kimchi/API.json | 8 +++++-
src/kimchi/control/templates.py | 2 +-
src/kimchi/exception.py | 4 +++
src/kimchi/i18n.py | 8 +++++-
src/kimchi/imageinfo.py | 48 +++++++++++++++++++++++++++++++++
src/kimchi/mockmodel.py | 27 ++++++++++++++-----
src/kimchi/model/templates.py | 13 +++++----
src/kimchi/model/vms.py | 1 +
src/kimchi/utils.py | 16 +++++++++++
src/kimchi/vmtemplate.py | 60 +++++++++++++++++++++++++++--------------
tests/test_rest.py | 2 +-
13 files changed, 162 insertions(+), 39 deletions(-)
create mode 100644 src/kimchi/imageinfo.py
--
1.8.3.2
More information about the Kimchi-devel
mailing list