summaryrefslogtreecommitdiffstats
path: root/res/res/resources/swagger.json
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-02-28 10:02:20 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-02-28 10:02:20 +0800
commit27c0765c2cc92ee84a83040c4963cceec9f84b05 (patch)
tree267941c65b62a60528a2a25a0068c8a267c79613 /res/res/resources/swagger.json
parentdd3cd3e422b6bc2798aa826f6315c26c913433bf (diff)
Modify code and models of gvnfm vnfres
Change-Id: Ia351bb36eb095c07dc3a4a4272692b9c15a5fe57 Issue-Id: GVNFM-12 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res/res/resources/swagger.json')
-rw-r--r--res/res/resources/swagger.json17
1 files changed, 7 insertions, 10 deletions
diff --git a/res/res/resources/swagger.json b/res/res/resources/swagger.json
index 54983ed..61d00e4 100644
--- a/res/res/resources/swagger.json
+++ b/res/res/resources/swagger.json
@@ -458,18 +458,18 @@
"type": "string"
},
"operationalstate": {
- "type": "integer"
+ "type": "string"
},
- "zoneid": {
+ "availability_zone": {
"type": "string"
},
"tenant": {
"type": "string"
},
- "hostid": {
+ "nodeId": {
"type": "string"
},
- "detailinfo": {
+ "metadata": {
"type": "string"
},
"is_predefined": {
@@ -490,10 +490,10 @@
"type": "string"
},
"vcpu": {
- "type": "string"
+ "type": "integer"
},
"memory": {
- "type": "string"
+ "type": "integer"
},
"extraspecs": {
"type": "string"
@@ -504,7 +504,7 @@
"tenant": {
"type": "string"
},
- "vmid": {
+ "vimid": {
"type": "string"
},
"create_time": {
@@ -625,9 +625,6 @@
},
"size": {
"type": "string"
- },
- "disktype": {
- "type": "string"
}
}
}