[Kimchi-devel] [PATCH 1/7] Guest disks: Update doc to support manage guest disks

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Sun Apr 13 08:16:00 UTC 2014


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

Update API.md to support manage guest disks

Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
 docs/API.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/API.md b/docs/API.md
index 143c70c..223d57a 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -122,17 +122,17 @@ Represents a snapshot of the Virtual Machine's primary monitor.
 * **GET**: Retrieve a summarized list of all storages of specified guest
 * **POST**: Attach a new storage or virtual drive to specified virtual machine.
     * dev: The name of the storage in the vm.
-    * type: The type of the storage (currently supports  'cdrom' only).
-    * path: Path of cdrom iso.
+    * type: The type of the storage (currently support 'cdrom' and 'disk').
+    * path: Path of cdrom iso or disk image file.
 
 ### Sub-resource: storage
 **URI:** /vms/*:name*/storages/*:dev*
 * **GET**: Retrieve storage information
     * dev: The name of the storage in the vm.
-    * type: The type of the storage ('cdrom' only for now).
-    * path: Path of cdrom iso.
+    * type: The type of the storage (currently support 'cdrom' and 'disk').
+    * path: Path of cdrom iso or disk image file.
 * **PUT**: Update storage information
-    * path: Path of cdrom iso. Can not be blank.
+    * path: Path of cdrom iso. Can not be blank. Now just support cdrom type.
 * **DELETE**: Remove the storage.
 
 
-- 
1.8.3.2




More information about the Kimchi-devel mailing list