From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
The user may clone a template from an existing template with different name.
Later he can customize some parts of the template to save the effort to
create a full new template.
For example, he can update the network of the template cloned to have a new
different template.
ShaoHe Feng (5):
clone template: update API.md
API.json: move templates_create close to template_update
clone template: update controller
clone template: update model and mockmodel
clone template: update test case
docs/API.md | 27 +++++++++-
src/kimchi/API.json | 112 ++++++++++++++++++++++++++++++++++------
src/kimchi/control/templates.py | 1 +
src/kimchi/mockmodel.py | 19 +++++++
src/kimchi/model/templates.py | 20 +++++++
tests/test_rest.py | 34 ++++++++++++
6 files changed, 196 insertions(+), 17 deletions(-)
--
1.8.4.2