[PATCH] [Kimchi] Adding 'source_media' docs in docs/API.md

From: Daniel Henrique Barboza <dhbarboza82@gmail.com> This attribute went through changes recently and none of them, neither the previous usage before them, was documented. Signed-off-by: Daniel Henrique Barboza <dhbarboza82@gmail.com> --- docs/API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/API.md b/docs/API.md index 9d42c53..5fa722c 100644 --- a/docs/API.md +++ b/docs/API.md @@ -295,6 +295,10 @@ Represents a snapshot of the Virtual Machine's primary monitor. * **GET**: Retrieve a summarized list of all defined Templates * **POST**: Create a new Template * name: The name of the Template. Used to identify the Template in this API + * source_media: dictionary. The type of media to be used in the installation. + * type: the type of the media. Values: 'netboot' and 'disk'. + * path: applicable for type = 'disk' only. Indicates the path of the + source media. * os_distro *(optional)*: The operating system distribution * os_version *(optional)*: The version of the operating system distribution * memory *(optional)*: The memory parameters of the template, specify one -- 2.5.5

Reviewed-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com> On 10/05/2016 19:18, dhbarboza82@gmail.com wrote:
From: Daniel Henrique Barboza <dhbarboza82@gmail.com>
This attribute went through changes recently and none of them, neither the previous usage before them, was documented.
Signed-off-by: Daniel Henrique Barboza <dhbarboza82@gmail.com> --- docs/API.md | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/docs/API.md b/docs/API.md index 9d42c53..5fa722c 100644 --- a/docs/API.md +++ b/docs/API.md @@ -295,6 +295,10 @@ Represents a snapshot of the Virtual Machine's primary monitor. * **GET**: Retrieve a summarized list of all defined Templates * **POST**: Create a new Template * name: The name of the Template. Used to identify the Template in this API + * source_media: dictionary. The type of media to be used in the installation. + * type: the type of the media. Values: 'netboot' and 'disk'. + * path: applicable for type = 'disk' only. Indicates the path of the + source media. * os_distro *(optional)*: The operating system distribution * os_version *(optional)*: The version of the operating system distribution * memory *(optional)*: The memory parameters of the template, specify one
-- Jose Ricardo Ziviani ----------------------------- Software Engineer Linux Technology Center - IBM

Applied. Thanks. Regards, Aline Manera
participants (3)
-
Aline Manera
-
dhbarboza82@gmail.com
-
Jose Ricardo Ziviani