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

dhbarboza82 at gmail.com dhbarboza82 at gmail.com
Tue May 10 22:18:12 UTC 2016


From: Daniel Henrique Barboza <dhbarboza82 at 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 at 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




More information about the Kimchi-devel mailing list