[Kimchi-devel] [PATCH] [wip-v1] Create template from guest (BACKEND)

Crístian Viana vianac at linux.vnet.ibm.com
Mon Sep 22 20:35:11 UTC 2014


On 22-09-2014 15:47, Rodrigo Trujillo wrote:
> User should not pass any other parameter.  What will be overwritten ??

They *should not* but they *can*.

Let's suppose Kimchi receives the following command:

POST /templates/ {'name': 'template-foo', 'vm': 'existing-vm', 'cpus': 8}

What will happen here? How many CPUs will the new template have: the 
number of CPUs on the guest 'existing-vm' or 8?

This should be clear to the user when creating a template from a VM: if 
they can also specify other values to overwrite from the base VM or if 
they cannot set anything else.




More information about the Kimchi-devel mailing list