1 .. This work is licensed under a Creative Commons Attribution 4.0
3 .. http://creativecommons.org/licenses/by/4.0
6 Instantiate Service, "Macro" mode (PNF example)
7 ================================================
13 Using VID with Macro method means that all the service model resources are deployed in a single SO API call.
14 Macro orchestration model can be used to orchestrate service models, which contain PNFs and VNFs.
21 To be able to orchestrate services in "Macro" mode, the VID ModernUI needs to be enabled.
22 Review settings in VID container`s /usr/local/tomcat/webapps/vid/WEB-INF/conf/onap.features.properties file.
23 Flags below must be set to "true":
25 FLAG_ENABLE_WEBPACK_MODERN_UI = true
27 FLAG_EXTENDED_MACRO_PNF_CONFIG = true
29 .. _Pre-requisites: https://docs.onap.org/projects/onap-vid/en/latest/instantiate.html#pre-requisites
31 `Access to VID portal`_
34 .. _Access to VID portal: https://docs.onap.org/projects/onap-vid/en/latest/instantiate.html#access-to-vid-portal
36 Instantiate Service in "Macro" mode
37 -----------------------------------
39 A Service Model, which contains a PNF resource will be used to demonstrate the "Macro" orchestration mode.
41 Click "Browse SDC Service Models" and search for the service to instantiate.
43 The view show only service models in the DISTRIBUTED state.
45 .. figure:: images/browse-service-models-pnf.png
48 Select a service and click Deploy.
50 Complete the mandatory fields indicated by the red star and click "Set".
52 .. figure:: images/new-service-instance-popup-pnf.png
55 Add a new object to the service instance.
58 The blue button for adding objects to the service instance appears when you hover over the object model.
60 .. figure:: images/service-instance-pnf.png
63 Complete the mandatory fields indicated by the red star and click "Set".
66 The PNF instance name must be unique
68 .. figure:: images/new-pnf-instance.png
71 To deploy the selected configuration, click "DEPLOY" button in the top right corner.
73 .. figure:: images/service-instance-pnf-deploy.png
76 If the service instance with selected objects is deployed correctly, you will be redirected to the page where you can check the instantiation status.
78 .. figure:: images/instantiation-status.png
82 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.
83 No additional actions are needed for VNFs/CNFs.
87 -----------------------------------
89 The "Instantiation Status" contains information about all deployed service instances.
91 To check detailed information, click the ellipsis on the right side of the selected service instance.
93 .. figure:: images/instantiation-status-complete.png
96 .. figure:: images/service-information.png
101 Deleting Service Instances previous orchestrated in "macro" model
102 -----------------------------------------
104 To delete a previously created "Macro" instance using VID, the entire service instance must be deleted.
106 To proceed with a service instance removal, from VID Home screen:
108 - search for existing service instance
109 - edit/view the service instance you want to delete
110 - click on red button with white cross
111 - confirm deletion of the service instance