
v7 - Rebase with latest Kimchi repository v6 - Fix problems in UI related to remotion of 'storagepool' from Templates 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 (9): 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 Change UI to support remotion of 'storagepool' from template backend 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 | 249 ++++++++++----------- .../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, 606 insertions(+), 366 deletions(-) -- 2.1.0