@startuml
participant SOL002_Adapter participant External_VNFM participant AAI participant DMaaP participant Policy participant "APPC/CDS"
hnote over AAI : Precondition: VNF is instantiated (e.g. through SOL003 and with external VNFM) and VNFM is registered in ESR
... alt Subscribe to LCM Notifications after startup SOL002_Adapter -> AAI: 1. GET external VNFMs details
alt Subscribe to LCM Notifications after startup
SOL002_Adapter -> External_VNFM : 2. POST ../vnflcm/v1/subscriptions External_VNFM -> SOL002_Adapter : 3. 201 Created end
... alt Receive VnfLcmOperationOccurrenceNotification External_VNFM -> SOL002_Adapter: 4. POST ../notifyEndpoint SOL002_Adapter -> AAI: 5. GET generic-vnf to make mapping. SOL002_Adapter -> SOL002_Adapter: 6. transform ETSI model to ONAP model and create DMaaP message for ONAP SOL002_Adapter -> DMaaP: 7. POST Notification Policy -> DMaaP: 8. Consume notifications targeted to Policy Policy -> Policy: 9. Execute User's policy if exists Policy -> "APPC/CDS": 10. POST: Policy action to configure VNF end
@enduml
|