blob: 14928bbe748510c879b059d3d8ea5f7b8a0ab80d [file] [log] [blame]
Eric Debeaud5fd0642019-04-18 12:29:22 +00001.. 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.
4
andreasgeisslerf3ba1822019-05-24 13:22:42 +02005.. _doc_guide_user_des_vf-cre:
thmsdtb1a0c9d2019-05-16 15:47:49 +02006
dermot123a3447502019-08-02 15:34:26 +00007VF/PNF Creation and Testing
8===========================
9**Goal**: Using VSPs, create one or more VFs/PNFs as the building blocks for a
10service. Validate and certify the VFs/PNFs.
Eric Debeaud5fd0642019-04-18 12:29:22 +000011
12**ONAP Component**: SDC
13
andreasgeissler8b0b1462020-03-26 17:45:53 +010014**SDC user roles**: Designer
Eric Debeaud5fd0642019-04-18 12:29:22 +000015
16|image1|
17
18Steps
19-----
20
andreasgeissler3502b062019-06-05 21:14:56 +020021- `Create a VF/PNF by VSP import`_
22- `Create a VF/PNF manually`_
23- `Update a VF/PNF [optional]`_
andreasgeissler8b0b1462020-03-26 17:45:53 +010024- `Certify VF/PNF`_
Eric Debeaud5fd0642019-04-18 12:29:22 +000025
andreasgeissler3502b062019-06-05 21:14:56 +020026.. _doc_guide_user_des_vf-cre_cre-imp:
Eric Debeaud5fd0642019-04-18 12:29:22 +000027
andreasgeissler3502b062019-06-05 21:14:56 +020028Create a VF/PNF by VSP import
29-----------------------------
Eric Debeaud5fd0642019-04-18 12:29:22 +000030
andreasgeissler3502b062019-06-05 21:14:56 +020031**Prerequisites:** (see :ref:`doc_guide_user_des_res-onb` )
32
33- Create a license for each VF/PNF
Eric Debeaud5fd0642019-04-18 12:29:22 +000034- Create a Vendor Software Product.
35
36**Steps**
37
andreasgeissler3502b062019-06-05 21:14:56 +020038#. From the SDC HOME page, click the *Import VSP*
Eric Debeaud5fd0642019-04-18 12:29:22 +000039
40 |image2|
41
dermot123a3447502019-08-02 15:34:26 +000042#. From the *Import VSP* box, expand a VSP name and click the *Import VSP* icon.
Eric Debeaud5fd0642019-04-18 12:29:22 +000043
44 |image3|
45
46#. In the General section, complete all fields.
47
andreasgeissler8b0b1462020-03-26 17:45:53 +010048 |image10|
Eric Debeaud5fd0642019-04-18 12:29:22 +000049
50#. Click *Create*.
51
andreasgeissler3502b062019-06-05 21:14:56 +020052 - A message displays while creation is in progress. (This can take up to
Eric Debeaud5fd0642019-04-18 12:29:22 +000053 10 minutes.)
andreasgeissler3502b062019-06-05 21:14:56 +020054 - A message displays when creation is complete.
Eric Debeaud5fd0642019-04-18 12:29:22 +000055
Eric Debeaud5fd0642019-04-18 12:29:22 +000056
andreasgeissler8b0b1462020-03-26 17:45:53 +010057#. [Optional] At any time before checking in the VF/PNF, click
andreasgeissler3502b062019-06-05 21:14:56 +020058 these options to update VF/PNF information:
Eric Debeaud5fd0642019-04-18 12:29:22 +000059
andreasgeissler8b0b1462020-03-26 17:45:53 +010060 .. note:: These tasks can be done only before certifying the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +000061
andreasgeissler8b0b1462020-03-26 17:45:53 +010062 - **General->Icon** change the icon associated with the VF/PNF
63 (vendor-supplied icons are preferred)
andreasgeissler3502b062019-06-05 21:14:56 +020064 - **Deployment Artifacts** download, view, modify, or change deployment
Eric Debeaud5fd0642019-04-18 12:29:22 +000065 artifacts (for example, the contents of the Heat .zip file, which contains
andreasgeissler8b0b1462020-03-26 17:45:53 +010066 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
andreasgeissler3502b062019-06-05 21:14:56 +020069 - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template
andreasgeissler3502b062019-06-05 21:14:56 +020070 - **Composition** view or edit the graphical representation of the resource-level
Eric Debeaud5fd0642019-04-18 12:29:22 +000071 TOSCA model (generated from the Heat template)
andreasgeissler3502b062019-06-05 21:14:56 +020072 - **Activity Log** view activity related to assets associated with the VF/PNF
Eric Debeaud5fd0642019-04-18 12:29:22 +000073 (displays the action, date, user, status, and any comments related to each
74 action)
andreasgeissler3502b062019-06-05 21:14:56 +020075 - **Deployment** view VF modules defined in the Heat template
andreasgeissler8b0b1462020-03-26 17:45:53 +010076 - **Properties Assignment** define or update properties and input parameters
77 and policies
78 - **Req.& Capabilities** view and add requirements and capabilities
Eric Debeaud5fd0642019-04-18 12:29:22 +000079
andreasgeissler8b0b1462020-03-26 17:45:53 +010080#. Click *Check In* to save changes.
81
82 - A box to enter comments for confirming the changes open.
83
84#. Enter a comment and click *OK*.
85
86 - A message displays when the VF/PNF is checked in and you are redirected
87 to the Home screen.
88#. After creating and checking a VF/PNF, certify it (see `Certify VF/PNF`_).
Eric Debeaud5fd0642019-04-18 12:29:22 +000089
andreasgeissler3502b062019-06-05 21:14:56 +020090.. _doc_guide_user_des_vf-cre_cre-man:
91
92Create a VF/PNF manually
93------------------------
94
95**Steps**
96
andreasgeissler8b0b1462020-03-26 17:45:53 +010097#. From the SDC HOME page, click the *ADD VF* or *ADD PNF*
andreasgeissler3502b062019-06-05 21:14:56 +020098
andreasgeissler8b0b1462020-03-26 17:45:53 +010099 |image2|
andreasgeissler3502b062019-06-05 21:14:56 +0200100
101#. In the General section, complete all fields.
102
andreasgeissler8b0b1462020-03-26 17:45:53 +0100103#. Before check-in the VF/PNF, click these
andreasgeissler3502b062019-06-05 21:14:56 +0200104 options to update VF/PNF information:
105
andreasgeissler8b0b1462020-03-26 17:45:53 +0100106 .. note:: These tasks can be done only before certifying the VF/PNF.
andreasgeissler3502b062019-06-05 21:14:56 +0200107
andreasgeissler8b0b1462020-03-26 17:45:53 +0100108 - **General->Icon** change the icon associated with the VF/PNF
109 (vendor-supplied icons are preferred)
110 - **Deployment Artifacts** download, view, modify, or change deployment
andreasgeissler3502b062019-06-05 21:14:56 +0200111 artifacts (for example, the contents of the Heat .zip file, which contains
andreasgeissler8b0b1462020-03-26 17:45:53 +0100112 the Heat volume template, the license, CDS Blueprints,...)
113 - **Information Artifacts** view or upload artifacts, such as test
114 scripts, test results, or the AIC questionnaire
115 - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template
andreasgeissler3502b062019-06-05 21:14:56 +0200116 - **Composition** view or edit the graphical representation of the resource-level
117 TOSCA model (generated from the Heat template)
118 - **Activity Log** view activity related to assets associated with the VF/PNF
119 (displays the action, date, user, status, and any comments related to each
120 action)
121 - **Deployment** view VF modules defined in the Heat template
andreasgeissler8b0b1462020-03-26 17:45:53 +0100122 - **Properties Assignment** define or update properties and input parameters
123 and policies
124 - **Req.& Capabilities** view and add requirements and capabilities
andreasgeissler3502b062019-06-05 21:14:56 +0200125
126#. Click *Create*.
127
128 - A message displays while creation is in progress. (This can take up to
129 10 minutes.)
130 - A message displays when creation is complete.
131
132#. Click *Check In* to save changes.
133
andreasgeissler8b0b1462020-03-26 17:45:53 +0100134 - A box to enter comments for confirming the changes open.
andreasgeissler3502b062019-06-05 21:14:56 +0200135
136#. Enter a comment and click *OK*.
137
andreasgeissler8b0b1462020-03-26 17:45:53 +0100138 - A message displays when the VF/PNF is checked in and you are redirected
139 to the Home screen.
140#. After creating and checking a VF/PNF, certify it (see `Certify VF/PNF`_).
andreasgeissler3502b062019-06-05 21:14:56 +0200141
142
143.. _doc_guide_user_des_vf-cre_vf-upd:
144
145Update a VF/PNF [optional]
146--------------------------
Eric Debeaud5fd0642019-04-18 12:29:22 +0000147
dermot123a3447502019-08-02 15:34:26 +0000148- Update the VSP and other artifacts in a VF/PNF.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100149- Upload a new version the VSP to the VF/PNF whenever the VSP is updated
150 (see steps 3 to 5).
151- Other reasons for updating a VF/PNF include:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000152
dermot123a3447502019-08-02 15:34:26 +0000153 - artifact changes at the VF/PNF level that need be uploaded, for example,
Eric Debeaud5fd0642019-04-18 12:29:22 +0000154 changes to ENV values (see step 6)
155
156**Prerequisites:**
157
andreasgeissler3502b062019-06-05 21:14:56 +0200158- `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`
Eric Debeaud5fd0642019-04-18 12:29:22 +0000160
161**Steps**
162
andreasgeissler8b0b1462020-03-26 17:45:53 +0100163#. From the SDC HOME page, click *CATALOG* and search for the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000164
165#. In the General section, click *Check Out*.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100166 The *VSP* field is displays.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000167
andreasgeissler8b0b1462020-03-26 17:45:53 +0100168#. In the *VSP* field, click *Browse*.
169 The *Import VSP* box displays and shows the VSP that was used to create the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000170
171#. Expand the VSP field and click.
172
173 |image4|
174
andreasgeissler8b0b1462020-03-26 17:45:53 +0100175#. Click *Update VSP*
176 A progress bar displays.|image5|
Eric Debeaud5fd0642019-04-18 12:29:22 +0000177
178#. Click *Deployment Artifact* to edit, upload, or delete associated [Optional]
179 deployment artifacts.
180
181#. Click *Information Artifact* and edit, upload, or delete associated
182 [Optional] information artifacts.
183
184#. Click *Check In* to save changes.
185
andreasgeissler8b0b1462020-03-26 17:45:53 +0100186 - A box to enter comments for confirming the changes open.
187
188#. Enter a comment and click *OK*.
189
190 - A message displays when the VF/PNF is checked in and you are redirected
191 to the Home screen.
dermot123a3447502019-08-02 15:34:26 +0000192#. After updating the VF/PNF:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000193
andreasgeissler8b0b1462020-03-26 17:45:53 +0100194 - Certify it (see `Certify VF/PNF`_).
195 - Update the VF/PNF version in any service that contains the VF/PNF,
196 please go to :ref:`doc_guide_user_des_ser-upd_serv`
Eric Debeaud5fd0642019-04-18 12:29:22 +0000197
andreasgeissler3502b062019-06-05 21:14:56 +0200198.. _doc_guide_user_des_vf-cre_sub-tst:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000199
andreasgeissler8b0b1462020-03-26 17:45:53 +0100200Certify VF/PNF
201--------------
andreasgeissler3502b062019-06-05 21:14:56 +0200202
203**Prerequisites:** `Create a VF/PNF by VSP import`_ or
204`Create a VF/PNF manually`_
Eric Debeaud5fd0642019-04-18 12:29:22 +0000205
206**Steps**
207
andreasgeissler8b0b1462020-03-26 17:45:53 +0100208#. When a VF/PNF is ready for certification,
209 click *CATALOG* and search for the checked-in VF/PNF.
210#. Click the VF/PNF and click *Certify*.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000211
212 |image7|
213
214 |image8|
215
andreasgeissler8b0b1462020-03-26 17:45:53 +0100216#. Enter a comment and click *OK*.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000217
andreasgeissler8b0b1462020-03-26 17:45:53 +0100218#. A Message appears, that the VF/PNF is certified.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000219
Eric Debeaud5fd0642019-04-18 12:29:22 +0000220
andreasgeissler8b0b1462020-03-26 17:45:53 +0100221.. |image1| image:: media/sdc-vf-workflow.png
222.. |image2| image:: media/sdc-home.png
223.. |image3| image:: media/sdc-Import.png
224.. |image4| image:: media/sdc-vsp-update.png
Eric Debeaud5fd0642019-04-18 12:29:22 +0000225.. |image5| image:: media/sdc_artifact_update.png
226.. |image6| image:: media/design_vf_updatevspmessage.png
andreasgeissler8b0b1462020-03-26 17:45:53 +0100227.. |image7| image:: media/sdc-vf-general-certify.png
228.. |image8| image:: media/sdc-vf-certify-confirm.png
andreasgeissler3502b062019-06-05 21:14:56 +0200229.. |image9| image:: media/SDC-Add.png
andreasgeissler8b0b1462020-03-26 17:45:53 +0100230.. |image10| image:: media/sdc-vf-general.png