diff options
author | jiansong <jian.song@easystack.cn> | 2016-08-09 01:44:21 -0700 |
---|---|---|
committer | jiansong <jian.song@easystack.cn> | 2016-08-29 04:43:06 -0700 |
commit | 6f6293f90dab3ee0362ae3d278d02da6b83fd2cf (patch) | |
tree | 9462d4a3c21b77e8613c7da4e6c33689ab3da22e /api-ref | |
parent | 7ec71aa015a8af205f126c28f7ea2f84ef63ab84 (diff) | |
download | trove-6f6293f90dab3ee0362ae3d278d02da6b83fd2cf.tar.gz |
Display more flavor information in trove flavor-list command
This commit adds disk_space colmn to flavor-list
Change-Id: I71ca7ddbb6b835b5250bd2c4a0cb7ef4d72c9826
Closes-Bug:#1617987
Diffstat (limited to 'api-ref')
4 files changed, 29 insertions, 15 deletions
diff --git a/api-ref/source/samples/db-flavors-by-id-response-json-http.txt b/api-ref/source/samples/db-flavors-by-id-response-json-http.txt index 7cf3e8a7..3137516a 100644 --- a/api-ref/source/samples/db-flavors-by-id-response-json-http.txt +++ b/api-ref/source/samples/db-flavors-by-id-response-json-http.txt @@ -1,5 +1,5 @@ HTTP/1.1 200 OK Content-Type: application/json -Content-Length: 227 +Content-Length: 238 Date: Mon, 18 Mar 2013 19:09:17 GMT diff --git a/api-ref/source/samples/db-flavors-by-id-response.json b/api-ref/source/samples/db-flavors-by-id-response.json index 931f06c9..6c17ccae 100644 --- a/api-ref/source/samples/db-flavors-by-id-response.json +++ b/api-ref/source/samples/db-flavors-by-id-response.json @@ -14,6 +14,7 @@ "name": "m1.tiny", "ram": 512, "str_id": "1", + "disk":0, "vcpus": 10 } } diff --git a/api-ref/source/samples/db-flavors-response-json-http.txt b/api-ref/source/samples/db-flavors-response-json-http.txt index 9026e133..af739601 100644 --- a/api-ref/source/samples/db-flavors-response-json-http.txt +++ b/api-ref/source/samples/db-flavors-response-json-http.txt @@ -1,5 +1,5 @@ HTTP/1.1 200 OK Content-Type: application/json -Content-Length: 2899 +Content-Length: 3050 Date: Mon, 18 Mar 2013 19:09:17 GMT diff --git a/api-ref/source/samples/db-flavors-response.json b/api-ref/source/samples/db-flavors-response.json index 29d8516c..623368b5 100644 --- a/api-ref/source/samples/db-flavors-response.json +++ b/api-ref/source/samples/db-flavors-response.json @@ -15,7 +15,8 @@ "name": "m1.tiny", "ram": 512, "str_id": "1", - "vcpus": 10 + "vcpus": 10, + "disk":0 }, { "id": 2, @@ -32,7 +33,8 @@ "name": "m1.small", "ram": 2048, "str_id": "2", - "vcpus": 10 + "vcpus": 10, + "disk":20 }, { "id": 3, @@ -49,7 +51,8 @@ "name": "m1.medium", "ram": 4096, "str_id": "3", - "vcpus": 10 + "vcpus": 10, + "disk":40 }, { "id": 4, @@ -66,7 +69,8 @@ "name": "m1.large", "ram": 8192, "str_id": "4", - "vcpus": 10 + "vcpus": 10, + "disk":80 }, { "id": 5, @@ -83,7 +87,8 @@ "name": "m1.xlarge", "ram": 16384, "str_id": "5", - "vcpus": 10 + "vcpus": 10, + "disk":160 }, { "id": 6, @@ -100,7 +105,8 @@ "name": "m1.nano", "ram": 64, "str_id": "6", - "vcpus": 10 + "vcpus": 10, + "disk":0 }, { "id": 7, @@ -117,7 +123,8 @@ "name": "m1.micro", "ram": 128, "str_id": "7", - "vcpus": 10 + "vcpus": 10, + "disk":0 }, { "id": 8, @@ -134,7 +141,8 @@ "name": "m1.rd-smaller", "ram": 768, "str_id": "8", - "vcpus": 10 + "vcpus": 10, + "disk":2 }, { "id": 9, @@ -151,7 +159,8 @@ "name": "tinier", "ram": 506, "str_id": "9", - "vcpus": 10 + "vcpus": 10, + "disk":10 }, { "id": 10, @@ -168,7 +177,8 @@ "name": "m1.rd-tiny", "ram": 512, "str_id": "10", - "vcpus": 10 + "vcpus": 10, + "disk":2 }, { "id": 11, @@ -185,7 +195,8 @@ "name": "eph.rd-tiny", "ram": 512, "str_id": "11", - "vcpus": 10 + "vcpus": 10, + "disk":0 }, { "id": 12, @@ -202,7 +213,8 @@ "name": "eph.rd-smaller", "ram": 768, "str_id": "12", - "vcpus": 10 + "vcpus": 10, + "disk":20 }, { "id": null, @@ -219,7 +231,8 @@ "name": "custom.small", "ram": 512, "str_id": "custom", - "vcpus": 10 + "vcpus": 10, + "disk":25 } ] } |