Table of Contents |
---|
...
- LCM Action execution
- ONAP Close Loop gets triggered from VES event or by other means and can trigger SOL002 Adapter to perform action using VNF LCM interface
- LCM Notification Subscribing/Consuming
- At startup SOL002 Adapter can subscribe LCM notifications from VNFM
- When receiving notifications SOL002 Adapter can perform actions e.g.:
- Clean up VNF related Close Loop when receiving VNF terminated notification
- Configure VNF (Similar as in VNF Configuration use case.) when receiving VNF Instantiated/Healed/Scaled notification.
...
External VNFM can subscribe to SOL002 VNF Indicator notifications.
SOL002 Adapter reads VNF spesific specific VES events from DMaaP according to subscriptions and converts events to SOL002 interface format and sends as Notify events to external VNFM.
...
- SOL002Adapter queries the ESR for external VNFM details.
- SOL002Adapter subscribes in it's startup notifications from external VNFM. Filter used can be wide i.e. all notifications.
- When adapter get's success for subscription request it starts to listen notifications. If subscription fails, adapter continues to try again forever with suitable interval.
- When something happens (e.g. VNF instantiated), external VNFM sends notification
- Query AAI for VNF details. GET query to MANO may also be needed if vnfIds in systems are not same. (Optional step, needed if model translation needed)
- SOL002Adapter makes necessary translation from ETSI model to ONAP model. (To be checked: details of translation or if translation even needed - it depends on SOL003 integration)
- Agreed (to be agreed message format and fields) message format of LCM notification is posted to DMaaP. Another (stretch goal and better long term option) solution is to create VES event and feed it to ONAP's DCAE for normal LC processing.
- Consume LCM notification
- If Operational Policy reacting to LCM notifications is created as part of normal VNF modeling/instantiation, then user's policy is run. It's up to user's policy what it does and following steps is an example for configuring a VNF with ONAP controller.
- Execute policy action towards actor (through DMaaP or directly)
...
Code Block |
---|
{ "closedLoopControlName": "ClosedLoopControlName", "closedLoopAlarmStart": 1589825445, "closedLoopEventClient": "microservice.stringmatcher", "closedLoopEventStatus": "ONSET", "requestIdrequestID": "8478ff7d-409d-4b7d-b932-f09ab54765ab", "targetTypetarget_type": "VNF", "target": "generic-vnf.vnf-id", "aaiEventAAI": { "vserverIsClosedLoopDisabledvserver.is-closed-loop-disabled": false, "vserverNamegeneric-vnf.vnf-id": "<vServerName><etsiLcmEventId>", }, "genericVnfVnfId": "<genericId>" }, "from": "ETSI", "version": "1.0.2", "etsiLcmEvent": { "id": "63e446ab-bb42-48aa-ad1f-bf20f6710623<etsiLcmEventId>", "notificationType": "VnfLcmOperationOccurrenceNotification", "subscriptionId": null, "timeStamp": null, "notificationStatus": "RESULT", "operationState": "COMPLETED", "vnfInstanceId": "2124DEPF", "operation": "INSTANTIATE", "isAutomaticInvocation": null, "vnfLcmOpOccId": "86d3de41-a7f7-48eb-9868-5b103dc36d26", "affectedVnfcs": [ { "id": "abc123", "vduId": "vdu987", "changeType": "ADDED", "computeResource": { "vimConnectionId": "vim001" } } ], "affectedVirtualLinks": null, "affectedVirtualStorages": null, "changedInfo": null, "changedExtConnectivity": null, "error": null, "_links": { "vnfInstance": { "href": "https://so-vnfm-simulator.onap:9093/vnflcm/v1/vnf_instances/2124DEPF" }, "subscription": null, "vnfLcmOpOcc": { "href": "https://so-vnfm-simulator.onap:9093/vnflcm/v1/vnf_lcm_op_occs/86d3de41-a7f7-48eb-9868-5b103dc36d26" } } } } |
...
} |