
From: ShaoHe Feng <shaohef@linux.vnet.ibm.com> V2 -> V3 raise HTTPredirect in controller. 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 (5): clone template: update API.md Enhance generate_action_handler to redirect a new resource clone template: update controller clone template: update model and mockmodel clone template: update test case docs/API.md | 4 +++- src/kimchi/control/base.py | 14 +++++++++----- src/kimchi/control/templates.py | 1 + src/kimchi/mockmodel.py | 16 ++++++++++++++++ src/kimchi/model/templates.py | 16 ++++++++++++++++ tests/test_model.py | 16 ++++++++++++++++ tests/test_rest.py | 15 +++++++++++++++ 7 files changed, 76 insertions(+), 6 deletions(-) -- 1.8.4.2