NsLcmOpOcc

NsLcmOpOcc
NsLcmOpOcc

This type represents a request a NS lifecycle operation occurrence. It shall comply with the provisions defined in Table 6.5.2.3-1.

JSON Example
{
    "id": "string",
    "operationState": "string",
    "stateEnteredTime": "string",
    "nsInstanceId": "string",
    "lcmOperationType": "string",
    "startTime": "string",
    "isAutomaticInvocation": false,
    "isCancelPending": false,
    "cancelMode": "string",
    "error": {
        "type": "string",
        "title": "string",
        "status": 0,
        "detail": "string",
        "instance": "string"
    },
    "resourceChanges": {
        "affectedVnfs": [
            {
                "vnfInstanceId": "string",
                "vnfdId": "string",
                "vnfProfileId": "string",
                "vnfName": "string",
                "changeType": "string",
                "changeResult": "string",
                "changedInfo": {
                    "changedVnfInfo": {
                        "vnfInstanceId": "string",
                        "vnfInstanceName": "string",
                        "vnfInstanceDescription": "string",
                        "vnfdId": "string"
                    },
                    "changedExtConnectivity": {
                        "id": "string",
                        "resourceHandle": {
                            "vimId": "string",
                            "resourceProviderId": "string",
                            "resourceId": "string",
                            "vimLevelResourceType": "string"
                        },
                        "extLinkPorts": [
                            {
                                "id": "string",
                                "resourceHandle": {
                                    "vimId": "string",
                                    "resourceProviderId": "string",
                                    "resourceId": "string",
                                    "vimLevelResourceType": "string"
                                },
                                "cpInstanceId": "string"
                            }
                        ]
                    }
                }
            }
        ],
        "affectedPnfs": [
            {
                "pnfId": "string",
                "pnfdId": "string",
                "pnfProfileId": "string",
                "pnfName": "string",
                "cpInstanceId": [
                    "string"
                ],
                "changeType": "string",
                "changeResult": "string"
            }
        ],
        "affectedVls": [
            {
                "id": "string",
                "virtualLinkDescId": "string",
                "changeType": "string",
                "networkResource": {
                    "vimId": "string",
                    "resourceProviderId": "string",
                    "resourceId": "string",
                    "vimLevelResourceType": "string"
                }
            }
        ],
        "affectedVnffgs": [
            {
                "vnffgInstanceId": "string",
                "vnffgdId": "string",
                "changeType": "string",
                "changeResult": "string"
            }
        ],
        "affectedNss": [
            {
                "nsInstanceId": "string",
                "nsdId": "string",
                "changeType": "string",
                "changeResult": "string"
            }
        ],
        "affectedSaps": [
            {
                "sapInstanceId": "string",
                "sapdId": "string",
                "sapName": "string",
                "changeType": "string",
                "changeResult": "string"
            }
        ]
    },
    "_links": {
        "self": {
            "href": "string"
        },
        "nsInstance": {
            "href": "string"
        },
        "cancel": {
            "href": "string"
        },
        "retry": {
            "href": "string"
        },
        "rollback": {
            "href": "string"
        },
        "continue": {
            "href": "string"
        },
        "fail": {
            "href": "string"
        }
    }
}
id
Required

id

operationState
Required

operationState

stateEnteredTime
Required

stateEnteredTime

nsInstanceId
Required

nsInstanceId

lcmOperationType
Required

lcmOperationType

startTime
Required

startTime

boolean
isAutomaticInvocation
Required

Set to true if this NS LCM operation occurrence has been automatically triggered by the NFVO. This occurs in the case of auto-scaling, auto-healing and when a nested NS is modified as a result of an operation on its composite NS. Set to false otherwise.

object
operationParams
Optional

Input parameters of the LCM operation. This attribute shall be formatted according to the request data type of the related LCM operation. The following mapping between lcmOperationType and the data type of this attribute shall apply: - INSTANTIATE: InstantiateNsRequest - SCALE: ScaleNsRequest - UPDATE: UpdateNsRequest - HEAL: HealNsRequest - TERMINATE: TerminateNsRequest This attribute shall be present if this data type is returned in a response to reading an individual resource, and may be present according to the chosen attribute selector parameter if this data type is returned in a response to a query of a container resource.

boolean
isCancelPending
Required

If the LCM operation occurrence is in "PROCESSING" or "ROLLING_BACK" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false.

cancelMode
Optional

cancelMode

error
Optional

error

object
resourceChanges
Optional

This attribute contains information about the cumulative changes to virtualised resources that were performed so far by the LCM operation since its start, if applicable

object
_links
Required

Links to resources related to this resource.