Tested-by: Socorro Stoppler <socorro(a)linux.vnet.ibm.com>
In conjunction with the UI patch set that was just sent out -
Create template (UI part) without specifying media type -
I was able to create a template via UI with this latest
patch set.
On 04/05/2016 09:18 PM, Ramon Medeiros wrote:
Changes:
v2:
Remove libvirt connection from VMtemplate
Fix incorrect changes on tests
Fix return status when source_media not passed
v3:
Fix pep8 issues
Remove/add some constants
Rewrite API message
v4:
Remove cdrom verification on model
Use disk info from osinfo when adding disk based template
Ramon Medeiros (4):
Create a single field to pass the installation media
Fix checking duplicate template before creating it
Identify installation media while creating template
Update tests
API.json | 9 ++--
i18n.py | 2 +-
model/templates.py | 26 +++++------
tests/test_authorization.py | 4 +-
tests/test_livemigration.py | 7 +--
tests/test_mockmodel.py | 13 +++---
tests/test_model.py | 94 +++++++++++++++++++++------------------
tests/test_rest.py | 36 ++++++++-------
tests/test_template.py | 47 +++++++++-----------
tests/test_vmtemplate.py | 40 +++++++++--------
vmtemplate.py | 104 +++++++++++++++++++++++++++++++++++++-------
11 files changed, 227 insertions(+), 155 deletions(-)