Instantiate Service, “Macro” mode (PNF example)

Overview

Using VID with Macro method means that all the service model resources are deployed in a single SO API call. Macro orchestration model can be used to orchestrate service models, which contain PNFs and VNFs.

Pre-requisites

Note

To be able to orchestrate services in “Macro” mode, the VID ModernUI needs to be enabled. Review settings in VID container`s /usr/local/tomcat/webapps/vid/WEB-INF/conf/onap.features.properties file. Flags below must be set to “true”:

FLAG_ENABLE_WEBPACK_MODERN_UI = true

FLAG_EXTENDED_MACRO_PNF_CONFIG = true

Instantiate Service in “Macro” mode

A Service Model, which contains a PNF resource will be used to demonstrate the “Macro” orchestration mode.

Click “Browse SDC Service Models” and search for the service to instantiate.

The view show only service models in the DISTRIBUTED state.

_images/browse-service-models-pnf.png

Select a service and click Deploy.

Complete the mandatory fields indicated by the red star and click “Set”.

_images/new-service-instance-popup-pnf.png

Add a new object to the service instance.

Note

The blue button for adding objects to the service instance appears when you hover over the object model.

_images/service-instance-pnf.png

Complete the mandatory fields indicated by the red star and click “Set”.

Note

The PNF instance name must be unique

_images/new-pnf-instance.png

To deploy the selected configuration, click “DEPLOY” button in the top right corner.

_images/service-instance-pnf-deploy.png

If the service instance with selected objects is deployed correctly, you will be redirected to the page where you can check the instantiation status.

_images/instantiation-status.png

Note

In case of Service Models, which contain PNF resources, to complete the deployment of the service instance with PNF object, send a “pnfRegistration” event to VES. No additional actions are needed for VNFs/CNFs.

Instantiation Status

The “Instantiation Status” contains information about all deployed service instances.

To check detailed information, click the ellipsis on the right side of the selected service instance.

_images/instantiation-status-complete.png
_images/service-information.png

Deleting Service Instances previous orchestrated in “macro” model

To delete a previously created “Macro” instance using VID, the entire service instance must be deleted.

To proceed with a service instance removal, from VID Home screen:

  • search for existing service instance

  • edit/view the service instance you want to delete

  • click on red button with white cross

  • confirm deletion of the service instance