Define a Virtual Software Product (VSP)
At this point, we can proceed to define our virtual software product. Hover over the "Add" box in the Onboarding Catalog and click on "New Virtual Software Product":
In the form that comes up, give the new software product a name of your choosing, and from the "Vendor" list, select the licensing model we created in the first part of this tutorial.
For "Category", select "Firewall (Application L4+)", as shown. Enter any description, and then click "Save".
The software product will be added to the Onboarding Catalog, and the product details page will be displayed. Click on the "Warning" icon under "License Agreement", in the section to the left.
On the resulting page (which can be reached from the "General" link in the left-hand sidebar), select the appropriate version of the license:
Select the license agreement.
When those two parameters have been set, a "Feature Groups" selector will appear. Choose the appropriate feature group.
Save the information you've entered so far by clicking on the "disk" icon toward the upper right of the page. Do NOT "Check In"!
Now, we can upload the ZIP file containing the Heat templates and scripts that describe our product. Click on "Overview" to return to the main page for the product we're creating. Click on the "Select File" button in the right-hand section of the page (or drag and drop your zip file). The zip file we're using for this tutorial is << ToDO Replace with nexus site artifact reference vFW 14.2.17.zip
, which can be obtained from the Reference Documents page. >>
The Heat template and environment file will be processed by SDC and a page showing the contents of the uploaded zip file will be displayed. The warnings in the right panel can be ignored. This page can be reached from the "Attachments" link in the left sidebar.
Now, we can "Check In", and then "Submit" our software product. If no problems are encountered, an alert showing the the product has been successfully submitted will be briefly displayed.
Define a New Virtual Function (VF)
Next, we need to return to the SDC home screen to create a new virtual function (VF) based on the virtual software product (VSP) we just created. Hover over the arrow to the right of "Onboard" in the bread crumb trail; a menu will appear. Select "Home".
Note the "Vendor Software Product Repository" icon in the upper right corner of the SDC "Home" screen. Click on it.
A form showing the various products in the repository will appear.
Select the product we created, and click the "Import VSP" icon to the right of the descriptive line that appears when the product is selected.
The "General" page for our new VF will be displayed. Click on "Create".
The VF will be created, which can take some time, depending on its complexity.
Once this process has completed, an alert will tell you that the new VF is now available. Note that the various elements in the left sidebar, which were previously disabled, are now all enabled.
On the "Icon" page, we can select an icon to represent our VF — the icons shown are based on the "Category" we selected earlier; we'll click on the "Firewall" icon to select it.
Click on "Deployment Artifact" to generate/update and display the deployment configurations.
The "Information Artifact" page can be used to attach a variety of different data and metadata to the VF.
The "TOSCA Artifacts" page shows the TOSCA orchestration information generated by SDC from the VF's specifications.
Data properties can be added to the VF on the "Properties" page.
New properties can be added by clicking on the "Add Property" link which brings up a specification form. A wide variety of property types are pre-defined.
Clicking on "Composition" takes us into the actual Design Studio, where a graphical representation of our underlying VSP is shown on the canvas. To return to the VF specification, click on "VF: tutorial firewall" in the bread crumbs above the canvas.
The "Activity Log" page tracks all changes to the VF.
The "Deployment" page shows the resources related to the deployment of the VF, and a variety of information can be inspected from here.
Finally, the "Inputs" page show the parameters used to set up the VF. Details can be viewed by clicking on the various disclosure arrows.
At this point, our new VF needs to be submitted for testing as part of the OpenECOMP workflow. Do not check in the VF at this point, simply click on "Submit For Testing".
A form will appear, prompting you for a message to the test team. Enter one and click "Save".
You will be returned to the SDC Home screen, where our VF now shows as being "Ready for testing".