Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-2870

Delete NS Backend Service

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • None

      Supports the Delete NS backend operations and workflows which do the following sequence:

      <Delete NS: note: the following workflow is a template, and it can be enhanced as needed.>

      • Supports SOL005-compliant DeleteNS operation with nsInstanceId
      • Creates BPMN workflows and business logic for the following Delete NS operations
        • Supports input parameter handling
          • Initialize Parameters: get ns_inst_id
        • Deletes ns instance in AAI
          • Gets ns_instances from NFVO_NSINST database table
          • if there are ns_instances, 
            • Queries AAI for global_customer_id, service_type, ns_inst_id
            • Invokes delete_ns_aai with global_customer_id, service_type, ns_inst_id, resource_version
              • Formulates the resource url with parameters
              • Invoke AAI Rest API: call_aaI (resource, "DELETE")
          • note: if there are discrepancies between VNF and NS status in AAI (e.g., VNF was not deleted yet), it is an error condition
        • Deletes ns_inst_id row from the NFVO_NSINST database table
          • if multiple records are found for the given ns_inst_id, it is an error condition
        • Deletes ns_inst_id row from the t_lcm_inputparam_mapping database table
        • Deletes ns_inst_id row from the t_lcm_defPackage_mapping database table
        • Deletes ns_inst_id row from the t_lcm_servicebaseinfo database table
        • Returns 204 No Content
        • Note: Send NsIdentifierDeletionNotification
          • Note: this notification will be handled by a separate notification and subscription user story.
            *

            andrewlamb andrewlamb
            byungwoojun byungwoojun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: