[Kimchi-devel] [PATCH 2/5] API.json: move templates_create close to template_update

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Tue Feb 11 13:58:11 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

commit e976b781 and d60c4b8d break the order of items in API.json
templates_create should be close to template_update

Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
---
 src/kimchi/API.json | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/kimchi/API.json b/src/kimchi/API.json
index 08c77c5..10741a4 100644
--- a/src/kimchi/API.json
+++ b/src/kimchi/API.json
@@ -177,6 +177,28 @@
                 }
             }
         },
+        "storageservers_get_list": {
+            "type": "object",
+            "properties": {
+                "_target_type": {
+                    "description": "List storage servers of given type",
+                    "type": "string",
+                    "pattern": "^netfs$"
+                }
+            },
+            "additionalProperties": false
+        },
+        "storagetargets_get_list": {
+            "type": "object",
+            "properties": {
+                "_target_type": {
+                    "description": "List storage servers of given type",
+                    "type": "string",
+                    "pattern": "^netfs$"
+                }
+            },
+            "additionalProperties": false
+         },
         "templates_create": {
             "type": "object",
             "properties": {
@@ -258,28 +280,6 @@
             },
             "additionalProperties": false
         },
-        "storageservers_get_list": {
-            "type": "object",
-            "properties": {
-                "_target_type": {
-                    "description": "List storage servers of given type",
-                    "type": "string",
-                    "pattern": "^netfs$"
-                }
-            },
-            "additionalProperties": false
-        },
-        "storagetargets_get_list": {
-            "type": "object",
-            "properties": {
-                "_target_type": {
-                    "description": "List storage servers of given type",
-                    "type": "string",
-                    "pattern": "^netfs$"
-                }
-            },
-            "additionalProperties": false
-         },
         "template_update": {
             "type": "object",
             "properties": {
-- 
1.8.4.2




More information about the Kimchi-devel mailing list