From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
V1 -> V2
clone will just "duplicate the template" with all default in new template.
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 (4):
clone template: update API.md
clone template: update controller
clone template: update model and mockmodel
clone template: update test case
docs/API.md | 4 +++-
src/kimchi/control/templates.py | 1 +
src/kimchi/mockmodel.py | 17 +++++++++++++++++
src/kimchi/model/templates.py | 17 +++++++++++++++++
tests/test_model.py | 18 ++++++++++++++++++
tests/test_rest.py | 15 +++++++++++++++
6 files changed, 71 insertions(+), 1 deletion(-)
--
1.8.4.2