...
- Input Parameters
- The service decomposition object is passed as an input, replacing individual decomposition parameters.
- The new serviceInputParams input is a block of all user parameters extracted from requestParameters.userParams.
- Create service instance
- Get customer and service subscription in A&AI. Raise exception if service instance already exists - unchanged.
- Create service instance id in A&AI. Include the following input parameters: service-instance-name (optional), service-type, service-role, and orchestration-status = Created.
- Call SDN-X to create service instance:
- Call SDN controller service-topology-operation with request-action = CreateServiceInstance and svc-action = “assign” using generic-resource API.
- Route the service instance creation request to SDN-W if service-type = “TRANSPORT” using the SDN-W end-point route / URL. The building block will pass the service-type value in the msoAction field in the adapter.
- Pass the AIC zone in userParams to SDN-W in service-input-parameters.paramete
DoDeleteServiceInstance Building Block
...
- Input Parameters
- The new serviceInputParams input is a block of all user parameters extracted from requestParameters.userParams.
- Get Service: unchanged.
- Post Processing:
- Check that there are no children and no relationships for the service instance, and return an error if any are found. This will be generic logic that will apply to all service types.
- Get service-instance service-type.
- Decision Steps:
- If the service-type = “TRANSPORT” and orchestration-status = PendingDelete then skip the SDN deactivate step and only do the SDN delete step.
- If the service-type = “TRANSPORT” and orchestration-status ≠ PendingDelete then return error. It is expected that this validation will also be performed by SDN-W.
- Call SDN-X to Delete Service:
- Call SDN-W service-topology-operation with request-action = DeleteServiceInstance and svc-action = “delete” as per SDN-C generic-resource API. Route the service instance deletion request to SDN-W if service-type value = “TRANSPORT” using the SDN-W end-point route / URL. The building block will pass the service-type value in the msoAction field in the adapter.
- Delete the service instance in A&AI: unchanged.
Decomposition Building Block
...