1 .. This work is licensed under a Creative Commons Attribution 4.0
2 .. International License. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2019 ONAP Doc Team. All rights reserved.
5 .. _doc_guide_user_des_vf-cre:
7 VF/PNF Creation and Testing
8 ===========================
9 **Goal**: Using VSPs, create one or more VFs/PNFs as the building blocks for a
10 service. Validate and certify the VFs/PNFs.
12 **ONAP Component**: SDC
14 **SDC user roles**: Designer
21 - `Create a VF/PNF by VSP import`_
22 - `Create a VF/PNF manually`_
23 - `Update a VF/PNF [optional]`_
26 .. _doc_guide_user_des_vf-cre_cre-imp:
28 Create a VF/PNF by VSP import
29 -----------------------------
31 **Prerequisites:** (see :ref:`doc_guide_user_des_res-onb` )
33 - Create a license for each VF/PNF
34 - Create a Vendor Software Product.
38 #. From the SDC HOME page, hover over *Import*, then click on *IMPORT VSP*
42 #. From the *Import VSP* box, expand a VSP name and click the *Import VSP* icon.
46 #. In the General section, complete all fields.
52 - A message displays while creation is in progress. (This can take up to
54 - A message displays when creation is complete.
57 #. [Optional] At any time before checking in the VF/PNF, click
58 these options to update VF/PNF information:
60 .. note:: These tasks can be done only before certifying the VF/PNF.
62 - **General->Icon** change the icon associated with the VF/PNF
63 (vendor-supplied icons are preferred)
64 - **Deployment Artifacts** download, view, modify, or change deployment
65 artifacts (for example, the contents of the Heat .zip file, which contains
66 the Heat volume template, the license, CDS Blueprints,...)
67 - **Information Artifacts** view or upload artifacts, such as test
68 scripts, test results, or the AIC questionnaire
69 - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template
70 - **Composition** view or edit the graphical representation of the resource-level
71 TOSCA model (generated from the Heat template)
72 - **Activity Log** view activity related to assets associated with the VF/PNF
73 (displays the action, date, user, status, and any comments related to each
75 - **Deployment** view VF modules defined in the Heat template
76 - **Properties Assignment** define or update properties and input parameters
78 - **Req.& Capabilities** view and add requirements and capabilities
80 #. Click *Check In* to save changes.
82 - A box to enter comments for confirming the changes open.
84 #. Enter a comment and click *OK*.
86 - A message displays when the VF/PNF is checked in and you are redirected
88 #. After creating and checking a VF/PNF, certify it (see `Certify VF/PNF`_).
90 .. _doc_guide_user_des_vf-cre_cre-man:
92 Create a VF/PNF manually
93 ------------------------
97 #. From the SDC HOME page, hover over *Add*, then click on *ADD VF* or *ADD PNF*.
101 #. In the General section, complete all fields.
105 - A message displays while creation is in progress. (This can take up to
107 - A message displays when creation is complete.
109 #. Before check-in the VF/PNF, click these
110 options to update VF/PNF information:
112 .. note:: These tasks can be done only before certifying the VF/PNF.
114 - **General->Icon** change the icon associated with the VF/PNF
115 (vendor-supplied icons are preferred)
116 - **Deployment Artifacts** download, view, modify, or change deployment
117 artifacts (for example, the contents of the Heat .zip file, which contains
118 the Heat volume template, the license, CDS Blueprints,...)
119 - **Information Artifacts** view or upload artifacts, such as test
120 scripts, test results, or the AIC questionnaire
121 - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template
122 - **Composition** view or edit the graphical representation of the resource-level
123 TOSCA model (generated from the Heat template)
124 - **Activity Log** view activity related to assets associated with the VF/PNF
125 (displays the action, date, user, status, and any comments related to each
127 - **Deployment** view VF modules defined in the Heat template
128 - **Properties Assignment** define or update properties and input parameters
130 - **Req.& Capabilities** view and add requirements and capabilities
132 #. Click *Check In* to save changes.
134 - A box to enter comments for confirming the changes open.
136 #. Enter a comment and click *OK*.
138 - A message displays when the VF/PNF is checked in and you are redirected
140 #. After creating and checking a VF/PNF, certify it (see `Certify VF/PNF`_).
143 .. _doc_guide_user_des_vf-cre_vf-upd:
145 Update a VF/PNF [optional]
146 --------------------------
148 - Update the VSP and other artifacts in a VF/PNF.
149 - Upload a new version the VSP to the VF/PNF whenever the VSP is updated
151 - Other reasons for updating a VF/PNF include:
153 - artifact changes at the VF/PNF level that need be uploaded, for example,
154 changes to ENV values (see step 6)
158 - `Create a VF/PNF by VSP import`_ or `Create a VF/PNF manually`_
159 - If the VSP was updated: :ref:`doc_guide_user_des_res-onb_upd-vsp`
163 #. From the SDC HOME page, click *CATALOG* and search for the VF/PNF, click on selected VF/PNF to update.
165 #. In the General section, click *Check Out*.
166 The *VSP* field is displays.
168 #. In the *VSP* field, click *Browse*.
169 The *Import VSP* box displays and shows the VSP that was used to create the VF/PNF.
171 #. Expand the VSP field and click.
175 #. Click *Update VSP*
176 A progress bar displays.
179 #. Click *Deployment Artifact* to edit, upload, or delete associated [Optional]
180 deployment artifacts.
182 #. Click *Information Artifact* and edit, upload, or delete associated
183 [Optional] information artifacts.
185 #. Click *Check In* to save changes.
187 - A box to enter comments for confirming the changes open.
189 #. Enter a comment and click *OK*.
191 - A message displays when the VF/PNF is checked in and you are redirected
193 #. After updating the VF/PNF:
195 - Certify it (see `Certify VF/PNF`_).
196 - Update the VF/PNF version in any service that contains the VF/PNF,
197 please go to :ref:`doc_guide_user_des_ser-upd_serv`
199 .. _doc_guide_user_des_vf-cre_sub-tst:
204 **Prerequisites:** `Create a VF/PNF by VSP import`_ or
205 `Create a VF/PNF manually`_
209 #. When a VF/PNF is ready for certification,
210 On the SDC HOME page, click *CATALOG* and search for the checked-in VF/PNF.
211 Bottom half of the VN/PNF will say “In Design Check In”.
213 #. Click the VF/PNF and click *Certify*.
219 #. Enter a comment and click *OK*.
221 #. A Message appears, that the VF/PNF is certified.
224 .. |image1| image:: media/sdc-vf-workflow.png
225 .. |image2| image:: media/sdc-home.png
226 .. |image3| image:: media/sdc-Import.png
227 .. |image4| image:: media/sdc-vsp-update.png
228 .. |image5| image:: media/sdc_artifact_update.png
229 .. |image6| image:: media/design_vf_updatevspmessage.png
230 .. |image7| image:: media/sdc-vf-general-certify.png
231 .. |image8| image:: media/sdc-vf-certify-confirm.png
232 .. |image9| image:: media/SDC-Add.png
233 .. |image10| image:: media/sdc-vf-general.png