aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopeng zhang <zhang.maopeng1@zte.com.cn>2017-11-08 10:00:55 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-08 10:00:55 +0000
commita4c6b31df8c55b3c675c31981ecff67d9cb48d3e (patch)
tree8c188898d9256acb113f03ea6699c2fdee1a1128
parentd58c1328a31dabd121aa7aa7ba1fd5574cd3569d (diff)
parentbd74c85c3f8dbd725109cd8838b2265aa3802e89 (diff)
Merge "Fix URL in VIM and VNFM query"
-rw-r--r--lcm/swagger/vfc.vnfdriver.swagger.json35
1 files changed, 29 insertions, 6 deletions
diff --git a/lcm/swagger/vfc.vnfdriver.swagger.json b/lcm/swagger/vfc.vnfdriver.swagger.json
index 49f74cdf..ef805ce3 100644
--- a/lcm/swagger/vfc.vnfdriver.swagger.json
+++ b/lcm/swagger/vfc.vnfdriver.swagger.json
@@ -561,6 +561,17 @@
}
}
},
+ "JobStatus" : {
+ "description": "The status of the job",
+ "type": "string",
+ "enum": [
+ "started",
+ "processing",
+ "finished",
+ "error",
+ "timeout"
+ ]
+ },
"JobDetailInfo": {
"type": "object",
"properties": {
@@ -571,13 +582,16 @@
"type": "object",
"properties": {
"status": {
- "type": "string"
+ "$ref": "#/definitions/JobStatus",
+ "description": "The status of the job"
},
"progress": {
- "type": "string"
+ "type": "string",
+ "description": "The progress of the job. Value between 0 and 100."
},
"statusDescription": {
- "type": "string"
+ "type": "string",
+ "description": "The reason of the current status of the job."
},
"errorCode": {
"type": "string"
@@ -595,17 +609,26 @@
}
}
},
+ "ChangeType" : {
+ "description": "The type of the change",
+ "type": "string",
+ "enum": [
+ "VDU"
+ ]
+ },
"ResourceChange" : {
"type": "object",
"properties": {
"type": {
- "type": "string",
- "description": " The value should be VDU,VL,CP,Strorage."
+ "$ref": "#/definitions/ChangeType",
+ "description": "The type of the resource."
},
"resourceDefinitionId": {
+ "description": "The identifier of the resource within the grant request.",
"type": "string"
},
"vdu": {
+ "description": "The identifier of the VDU.",
"type": "string"
}
}
@@ -1319,7 +1342,7 @@
},
"sslCacert": {
"type": "string",
- "description": "CA file content if enabled ssl on auth-url"
+ "description": "The collection of trusted certificates towards the VIM connection."
},
"sslInsecure": {
"type": "string",