}
}
},
- "/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",
}
}
},
+ "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"
}
}
"vim": {
"type": "object",
"properties": {
- "vimInfoId": {
- "type": "string"
- },
- "vimId": {
+ "vimid": {
"type": "string"
},
- "interfaceInfo": {
- "type": "object",
- "properties": {
- "vimType": {
- "type": "string",
- "description": "The vim Type value wil be openstack"
- },
- "apiVersion": {
- "type": "string",
- "description": "The api Version Type value will be "
- },
- "protocolType": {
- "type": "string",
- "description": "The protocol Type value will be http or https"
- }
- }
- },
- "accessInfo": {
+ "accessinfo": {
"type": "object",
"properties": {
"tenant": {
"type": "string",
"description": "Tenant Name of tenant"
- },
- "username": {
- "type": "string",
- "description": "Username for login"
- },
- "password": {
- "type": "string",
- "description": "Password of login user"
}
}
- },
- "interfaceEndpoint": {
- "type": "string",
- "description": "Information about the interface endpoint. It is a URL"
}
}
}
"$ref": "#/definitions/VnfNotificationType",
"description": "The type of the change"
},
- "vimid": {
+ "vimId": {
"type": "string",
"description": "Identifier of vim"
},
- "vmid": {
+ "vmId": {
"type": "string",
"description": "Identifier of virtual machine"
},
- "vmname": {
+ "vmName": {
"type": "string",
"description": "Name of virtual machine"
}
"type": "string",
"description": "Identifier of the VL instance"
},
- "vldid": {
+ "vldId": {
"type": "string",
"description": "Identifier of the VLD in the VNFD"
},
"type": "string",
"description": "Identifier of the VL instance"
},
- "cpinstanceid": {
+ "cpInstanceId": {
"type": "string",
"description": "Identifier of the connection point"
},
- "cpdid": {
+ "cpdId": {
"type": "string",
"description": "Identifier of the connection point in the VNFD"
},
"type": "object",
"description": "port Resource",
"properties": {
- "vimid": {
+ "vimId": {
"type": "string",
"description": "Identifier of the VIM"
},
- "resourceid": {
+ "resourceId": {
"type": "string",
"description": "Identifier of the resource in the scope of the VIM"
},
"type": "object",
"description": "vnf package infomation",
"properties": {
- "csarId": {
+ "vnfPackageId": {
"type": "string",
- "description": "vnf package id, UUID"
+ "description": "vnf package id (csarId)"
+ },
+ "csarName": {
+ "type": "string",
+ "description": "The name of the csar"
},
"vnfdId": {
"type": "string",
"type": "string",
"description": "VNF descriptor vendor ID"
},
+ "vnfdModel": {
+ "type": "string",
+ "description": "The model of the VNF (JSON) encoded to string"
+ },
"vnfdVersion": {
"type": "string",
"description": "VNF descriptor version"
"type": "string",
"description": "VNF Software version"
},
- "downloadUri":{
+ "downloadUrl":{
"type": "string",
- "description": "The download uri of VNF package"
+ "description": "The URL from which the VNF package can be downloaded"
}
}
},
},
"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",