aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2017-11-07 12:30:44 +0100
committermaopeng zhang <zhang.maopeng1@zte.com.cn>2017-11-08 09:43:36 +0000
commitbd74c85c3f8dbd725109cd8838b2265aa3802e89 (patch)
tree4e679990f07b2f05059b5a5f15c02009343b746f
parent18123fa1a7b6ec0e96da7facd84d130cc8a47cc5 (diff)
Fix URL in VIM and VNFM query
Change-Id: I532256afc3b7303f0672c8d1f792eb2b160cc48d Issue-Id: VFC-585 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
-rw-r--r--lcm/swagger/vfc.vnfdriver.swagger.json39
1 files changed, 31 insertions, 8 deletions
diff --git a/lcm/swagger/vfc.vnfdriver.swagger.json b/lcm/swagger/vfc.vnfdriver.swagger.json
index 068ecc90..ef805ce3 100644
--- a/lcm/swagger/vfc.vnfdriver.swagger.json
+++ b/lcm/swagger/vfc.vnfdriver.swagger.json
@@ -461,7 +461,7 @@
}
}
},
- "/nslcm/vl/vnfms/{vnfmid}":{
+ "/nslcm/v1/vnfms/{vnfmid}":{
"get": {
"tags": [
"NSLCM"
@@ -500,7 +500,7 @@
}
}
},
- "/nslcm/vl/vims/{vimid}":{
+ "/nslcm/v1/vims/{vimid}":{
"get": {
"tags": [
"NSLCM"
@@ -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",