V2 -> V3:
Updated tests (changes only to patch 4)
Lucio Correia (4):
Add maxvcpus attribute to templates
Add maxvcpus attribute to guests
Do not break web UI
Update tests
API.json | 34 +++---
control/templates.py | 3 +-
docs/API.md | 66 ++++++++---
i18n.py | 10 +-
model/cpuinfo.py | 63 ++++++++---
model/templates.py | 79 ++++++++------
model/vms.py | 194 +++++++++++++++++----------------
osinfo.py | 13 ++-
template.conf | 7 +-
tests/test_mockmodel.py | 7 +-
tests/test_model.py | 65 +++++++++--
tests/test_rest.py | 14 ++-
tests/test_template.py | 43 ++++----
tests/test_vmtemplate.py | 17 +--
ui/js/src/kimchi.guest_edit_main.js | 8 +-
ui/js/src/kimchi.template_edit_main.js | 15 ++-
ui/pages/guest-edit.html.tmpl | 2 +-
ui/pages/template-edit.html.tmpl | 4 +-
vmtemplate.py | 43 +++-----
xmlutils/cpu.py | 6 +-
20 files changed, 416 insertions(+), 277 deletions(-)
--
1.9.1