14 Query LCM Operation
This resource represents VNF lifecycle management operation occurrences. This resource can be used to query status information about multiple VNF lifecycle management operation occurrences.
Figure 14-1 VNF LCM Operation

Query LCM Operation, using the following two ways:
- Query individual LCM Operation
- Query All LCM Operation
Query Individual LCM Operation
If the NFVO intends to read information about a particular LCM
Operation, it sends a GET request to the "Individual LCM operation" resource,
addressed by the appropriate VNF LCM Operation occurrence identifier
(vnfLcmOpOccId
) in its resource URI.
The VNFM returns a
200 OK response to the NFVO, and includes specific data structure
of type "
VnfLcmOpOcc
" related to the VNF LCM Operation occurrence
identifier (vnfLcmOpOccId
) in the payload body.
Sample Request
Query individual LCM Operation
URL:
GET: https://<<VNFM HOST
IP>>:8443/vnflcm/v1/vnf_lcm_op_occs
/<<{vnfLcmOpOccId}>>
Sample Response
URL: GET: https://<<VNFM HOST IP>>:8443/vnflcm/v1/vnf_lcm_op_occs/<<{vnfLcmOpOccId}>>
Accept: application/json
Content-Type: application/json
X-Token: Token generated after login
{
"id": "lcmOp-00301ea4-a7b2-4334-8b93-190377700ab0",
"operationState": "COMPLETED",
"stateEnteredTime": "2019/02/08 07:33:00 UTC",
"startTime": "2019/02/08 07:31:19 UTC",
"vnfInstanceId": "dsrNetworkOam-cf67bff6-e9c9-4213-b6fa-b5337c3d30b6",
"operation": "TERMINATE",
"operationParams": {
"terminationType": "FORCEFUL",
"gracefulTerminationTimeout": null,
"additionalParams": null
},
"links": {
"self": {
"href": "https://localhost:8443/vnflcm/v1/vnf_lcm_op_occs/lcmOp-00301ea4-a7b2-4334-8b93-190377700ab0"
},
"vnfInstance": {
"href": "https://localhost:8443/vnflcm/v1/vnf_instances/dsrNetworkOam-cf67bff6-e9c9-4213-b6fa-b5337c3d30b6"
}
},
"isCancelPending": false,
"isAutomaticInvocation": false
}
Query All LCM Operation
If the NFVO intends to query all LCM Operation, it sends a GET request to the LCM operation resource.
The VNFM returns a
200 OK response to
the NFVO, and includes zero or more data structures of type "
VnfLcmOpOcc
" in the
payload body.
Sample Request
Query All LCM Operation
URL: GET:
https://<<VNFM HOST IP>>:8443/vnflcm/v1/vnf_lcm_op_occs
Sample Response
URL: GET: https://<<VNFM HOST IP>>:8443/vnflcm/v1/vnf_lcm_op_occs
Response Body for No VNF Instances
[]
Response Body for Query All LCM Operation
[
{
"id": "lcmOp-ec72c7b4-7cea-4201-a0ab-5c0cec66cfa6",
"operationState": "STARTING",
"stateEnteredTime": "2019/01/16 05:53:31 UTC",
"startTime": "2019/01/16 05:53:31 UTC",
"vnfInstanceId": "dsrNetworkOam-dfc4dcd2-2752-48b4-875d-6cf703ba4134",
"operation": "INSTANTIATE",
"operationParams": {
"flavourId": "DSR NOAM",
"instantiationLevelId": "smalll",
"extVirtualLinks": "extVirtualLinks",
"extManagedVirtualLinks": [],
"vimConnectionInfo": [
{
"id": "vimid",
"vimType": "OpenStack",
"interfaceInfo": {
"controllerUri": "https://oortcloud.us.oracle.com:5000/v3"
},
"accessInfo": {
"username": "dsrat.user",
"password": "xxxxx",
“userDomain”: “Default”,
"projectDomain": "default",
"tenant": "DSR AT Dev 2"
},
"extra": null
}
],
"localizationLanguage": "localizationLanguage",
"additionalParams": {
"ntpServerIp": "10.250.32.10",
"xmiNetwork": {
"name": "ext-net7",
"ipVersion": "IPv4",
"xmiSubnetName":"ext-net7-subnet"
}
}
},
"links": {
"self": {
"href": "https://localhost:8443/vnflcm/v1/vnf_lcm_op_occs/lcmOp-ec72c7b4-7cea-4201-a0ab-5c0cec66cfa6"
},
"vnfInstance": {
"href": "https://localhost:8443/vnflcm/v1/vnf_instances/dsrNetworkOam-dfc4dcd2-2752-48b4-875d-6cf703ba4134"
}
},
"isAutomaticInvocation": false,
"isCancelPending": false
},
{
"id": "lcmOp-00574fa7-8c4a-45ac-b7a8-816bfaf70985",
"operationState": "STARTING",
"stateEnteredTime": "2019/01/16 06:05:32 UTC",
"startTime": "2019/01/16 06:05:32 UTC",
"vnfInstanceId": "dsrSignaling-08db63da-6cac-495f-8480-baf368d21cf7",
"operation": "INSTANTIATE",
"operationParams": {
"flavourId": "DIAMETER",
"instantiationLevelId": "small",
"extVirtualLinks": "extVirtualLinks",
"extManagedVirtualLinks": [
{
"id": "id1",
"resourceId": "31ae9c8b-519e-4316-9a24-45c619646d69"
},
{
"id": "id2",
"resourceId": "aa9d142d-89d4-40e7-a701-559a993aa5ea"
}
],
"vimConnectionInfo": [
{
"id": "vimid",
"vimType": "OpenStack",
"interfaceInfo": {
"controllerUri": "https://oortcloud.us.oracle.com:5000/v3"
},
"accessInfo": {
"username": "dsrat.user",
"password": "xxxxxx",
“userDomain”: “Default”,
"projectDomain": "default",
"tenant": "DSR AT Dev 2"
},
"extra": null
}
],
"localizationLanguage": "localizationLanguage",
"additionalParams": {
"xmiNetwork": {
"name": "ext-net7",
"ipVersion": "IPv4",
"xmiSubnetName":"ext-net7-subnet"
},
"xsiNetwork": {
"name": "ext-net7",
"ipVersion": "IPv4",
"xsiSubnetName":"ext-net7-subnet"
},
"ntpServerIp": "10.250.32.10",
"primaryNoamVmName": "NOAM00-03ba4134",
"noamSgName": "dsrNetworkOam_NOAM_03ba4134_SG"
}
},
"links": {
"self": {
"href": "https://localhost:8443/vnflcm/v1/vnf_lcm_op_occs/lcmOp-00574fa7-8c4a-45ac-b7a8-816bfaf70985"
},
"vnfInstance": {
"href": "https://localhost:8443/vnflcm/v1/vnf_instances/dsrSignaling-08db63da-6cac-495f-8480-baf368d21cf7"
}
},
"isAutomaticInvocation": false,
"isCancelPending": false
}
]