Instead of specify if the media is cdrom or disk, use source_media to create a 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 | 5 ++
i18n.py | 2 +-
model/templates.py | 15 ++++--
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 | 111 +++++++++++++++++++++++++++++++++++++-------
11 files changed, 236 insertions(+), 138 deletions(-)
--
2.5.5