Reviewed-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
On 02/04/2016 02:36 PM, Lucio Correia wrote:
Lucio Correia (4):
Add maxvcpus attribute to templates
Add maxvcpus attribute to guests
Update tests
Do not break web UI
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 | 17 +--
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, 369 insertions(+), 276 deletions(-)