Table of Contents
...
- Register ONAP SO NFVO into AAI through ESR
- From VID/UUI, invoke the NS LCM
- CreateVFCNSResource.bpmn
- CreateVFCNSResource.groovy
- preProcessRequest()
- Select vfcAdapter/SOL005 Adapter
instantiateNetworkService()
Populate String reqBody ="""{
"nsServiceName":"${nsServiceName}",
"nsServiceDescription":"${nsServiceDescription}",
"nsOperationKey":${nsOperationKey},
"nsParameters":${nsParameters}
}"""Send a request to vfcAdapter/SOL005 Adapter
- vfcAdapterUrl + "/ns/" + nsInstanceId + "/instantiate" with reqBody
- preProcessRequest()
- CreateVFCNSResource.groovy
- SOL005Adapter
- instantiateNS()
- Create instantiateNsRequest data
- set VnfLocationConstraint if any
- set additionalParamsForNs
- from the additionalParamForNS, get the NFVO orchestrator
- Query AAI to get a proper NFVO instance
- Prepare CreateNs request header
Map<String, String> requestHeader = new HashMap<>();
requestHeader.put("GLOBALCUSTOMERID", segInput.getNsOperationKey().getGlobalSubscriberId());
requestHeader.put("SERVICETYPE", segInput.getNsOperationKey().getServiceType());
- Send a instantiateNS request to ONAP SO NFVO
- Create instantiateNsRequest data
- Get an response status from SOL005 Adapter
- if 202 successful, get an Job id
- Save resource operation information
- Add relation between Service and NS in AAI
- Get an response status from SOL005 Adapter
...