V5 - Include script to update old templates in objectstore
- Remove dependency and use of 'storagepool' tag from Templates
- Fixes backend and tests problems found
V4 - Include patch with support to max vcpu and other changes in vm backend to support
cpu hot plug in the future.
- Fixes vm update problem (offline update was not atomic)
V3 - Addresses Aline's comments
* fixes backend, API.md and API.json
* fixes test cases and add new test
V2 - Rebase over latest new UI patches
V1 - Initial version
Rodrigo Trujillo (8):
Fix Template backend create/update for multiple disks
Enable create guests with multiple disks from different pools
UI - Implement multiple disks support in Template edit window
Update VCPU by using libvirt function
Test: Fix and add test related to disks in templates
Remove 'stogarepool' referencies from Templates code backend
Add script to upgrade objectstore to support new Template disks schema
Fix tests and backend after remove 'storagepool' from templates
src/wok/plugins/kimchi/API.json | 43 ++--
src/wok/plugins/kimchi/control/templates.py | 1 -
src/wok/plugins/kimchi/docs/API.md | 11 +-
src/wok/plugins/kimchi/i18n.py | 5 +
src/wok/plugins/kimchi/mockmodel.py | 60 +++--
src/wok/plugins/kimchi/model/storagepools.py | 10 +-
src/wok/plugins/kimchi/model/templates.py | 85 +++----
src/wok/plugins/kimchi/model/vms.py | 130 +++++++++--
src/wok/plugins/kimchi/osinfo.py | 14 +-
src/wok/plugins/kimchi/root.py | 2 +
src/wok/plugins/kimchi/template.conf | 7 +-
src/wok/plugins/kimchi/tests/test_model.py | 65 +++---
src/wok/plugins/kimchi/tests/test_rest.py | 41 ++--
src/wok/plugins/kimchi/tests/test_template.py | 76 +++++--
src/wok/plugins/kimchi/tests/test_vmtemplate.py | 9 +-
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 246 ++++++++++-----------
.../kimchi/ui/pages/template-edit.html.tmpl | 5 +-
src/wok/plugins/kimchi/utils.py | 49 +++-
src/wok/plugins/kimchi/vmtemplate.py | 110 ++++++---
19 files changed, 605 insertions(+), 364 deletions(-)
--
2.1.0