}
}
},
- "/nslcm/v1/vnfs/{vnfInstanceId}/Notify": {
+ "/nslcm/v1/ns/{vnfmid}/vnfs/{vnfInstanceId}/Notify": {
"post": {
"tags": [
"NSLCM"
"description": "VNF LCM Notification API should be provided by NSLCM component",
"operationId": "VNF_LCM_Notification",
"parameters": [
+ {
+ "required": true,
+ "type": "string",
+ "description": "VNFM Instance Id",
+ "name": "vnfmid",
+ "in": "path"
+ },
{
"required": true,
"type": "string",
}
}
},
- "/nslcm/vl/vnfms/{vnfmid}":{
+ "/nslcm/v1/vnfms/{vnfmid}":{
"get": {
"tags": [
"NSLCM"
}
}
},
- "/nslcm/vl/vims/{vimid}":{
+ "/nslcm/v1/vims/{vimid}":{
"get": {
"tags": [
"NSLCM"
}
}
},
+ "JobStatus" : {
+ "description": "The status of the job",
+ "type": "string",
+ "enum": [
+ "started",
+ "processing",
+ "finished",
+ "error",
+ "timeout"
+ ]
+ },
"JobDetailInfo": {
"type": "object",
"properties": {
"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"
}
}
},
+ "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"
}
}
}
},
"accessInfo": {
- "type": "string",
+ "type": "object",
"properties": {
"tenant": {
"type": "string",
"$ref": "#/definitions/VnfTerminationType"
},
"gracefulTerminationTimeout": {
- "desciption" : "The time interval(second) to wait for the VNF to be taken out of service during graceful termination.",
+ "description": "The time interval(second) to wait for the VNF to be taken out of service during graceful termination.",
"type": "string"
}
}
}
},
"accessInfo": {
- "type": "string",
+ "type": "object",
"properties": {
"tenant": {
"type": "string",
},
"name": {
"type": "string",
- "description": "vnfm name"
+ "description": "vim name"
},
"type": {
"type": "string",
- "description": "vnfm type"
+ "description": "vim type"
},
"url": {
"type": "string",
- "description": "vnfm url"
+ "description": "vim url"
},
"userName": {
"type": "string",
- "description": "vnfm login username"
+ "description": "vim login username"
},
"password": {
"type": "string",
- "description": "vnfm login password"
+ "description": "vim login password"
},
"vendor": {
"type": "string",
},
"version": {
"type": "string",
- "description": "vnfm version"
+ "description": "vim version"
},
"description": {
"type": "string",
- "description": "vnfm description"
+ "description": "vim description"
},
"createTime": {
"type": "string",
- "description": "vnfm info createTime"
+ "description": "vim info createTime"
+ },
+ "sslCacert": {
+ "type": "string",
+ "description": "The collection of trusted certificates towards the VIM connection."
+ },
+ "sslInsecure": {
+ "type": "string",
+ "description": "Whether to verify VIM's certificate"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of external system"
}
}
}