blob: e3e259c06616d46b1d0e9321fec5a455d869d09c [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
14**SDC user roles**: Designer, Tester
15
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]`_
24- `Submit for testing`_
25- `Test a VF/PNF`_
Eric Debeaud5fd0642019-04-18 12:29:22 +000026
andreasgeissler3502b062019-06-05 21:14:56 +020027.. _doc_guide_user_des_vf-cre_cre-imp:
Eric Debeaud5fd0642019-04-18 12:29:22 +000028
andreasgeissler3502b062019-06-05 21:14:56 +020029Create a VF/PNF by VSP import
30-----------------------------
Eric Debeaud5fd0642019-04-18 12:29:22 +000031
andreasgeissler3502b062019-06-05 21:14:56 +020032**Prerequisites:** (see :ref:`doc_guide_user_des_res-onb` )
33
34- Create a license for each VF/PNF
Eric Debeaud5fd0642019-04-18 12:29:22 +000035- Create a Vendor Software Product.
36
37**Steps**
38
andreasgeissler3502b062019-06-05 21:14:56 +020039#. From the SDC HOME page, click the *Import VSP*
Eric Debeaud5fd0642019-04-18 12:29:22 +000040
41 |image2|
42
dermot123a3447502019-08-02 15:34:26 +000043#. From the *Import VSP* box, expand a VSP name and click the *Import VSP* icon.
Eric Debeaud5fd0642019-04-18 12:29:22 +000044
45 |image3|
46
47#. In the General section, complete all fields.
48
dermot123a3447502019-08-02 15:34:26 +000049 .. note:: Use the letters "VF" or "PNF" in the name to indicate the
andreasgeissler3502b062019-06-05 21:14:56 +020050 component type.
Eric Debeaud5fd0642019-04-18 12:29:22 +000051
52#. Click *Create*.
53
andreasgeissler3502b062019-06-05 21:14:56 +020054 - A message displays while creation is in progress. (This can take up to
Eric Debeaud5fd0642019-04-18 12:29:22 +000055 10 minutes.)
andreasgeissler3502b062019-06-05 21:14:56 +020056 - A message displays when creation is complete.
Eric Debeaud5fd0642019-04-18 12:29:22 +000057
58#. Click *Check In* to save changes.
59
60 - A box displays for confirming the changes.
61
62#. Enter a comment and click *OK*.
63
andreasgeissler3502b062019-06-05 21:14:56 +020064 - A message displays when the VF/PNF is checked in.
Eric Debeaud5fd0642019-04-18 12:29:22 +000065
andreasgeissler3502b062019-06-05 21:14:56 +020066#. [Optional] At any time before submitting the VF/PNF for testing, click
67 these options to update VF/PNF information:
Eric Debeaud5fd0642019-04-18 12:29:22 +000068
dermot123a3447502019-08-02 15:34:26 +000069 .. note:: These tasks can be done only before submitting the VF/PNF for testing.
Eric Debeaud5fd0642019-04-18 12:29:22 +000070
andreasgeissler3502b062019-06-05 21:14:56 +020071 - **Icon** change the icon associated with the VF/PNF (vendor-supplied icons
72 are preferred)
73 - **Deployment Artifacts** download, view, modify, or change deployment
Eric Debeaud5fd0642019-04-18 12:29:22 +000074 artifacts (for example, the contents of the Heat .zip file, which contains
andreasgeissler3502b062019-06-05 21:14:56 +020075 the Heat volume template, the license, etc.)
76 - **Information Artifacts** view or upload artifacts, such as test scripts, test
Eric Debeaud5fd0642019-04-18 12:29:22 +000077 results, or the AIC questionnaire
andreasgeissler3502b062019-06-05 21:14:56 +020078 - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template
79 - **Properties** define or update properties
80 - **Composition** view or edit the graphical representation of the resource-level
Eric Debeaud5fd0642019-04-18 12:29:22 +000081 TOSCA model (generated from the Heat template)
andreasgeissler3502b062019-06-05 21:14:56 +020082 - **Activity Log** view activity related to assets associated with the VF/PNF
Eric Debeaud5fd0642019-04-18 12:29:22 +000083 (displays the action, date, user, status, and any comments related to each
84 action)
andreasgeissler3502b062019-06-05 21:14:56 +020085 - **Deployment** view VF modules defined in the Heat template
86 - **Inputs** view inputs defined for the resource-level TOSCA model
Eric Debeaud5fd0642019-04-18 12:29:22 +000087
andreasgeissler3502b062019-06-05 21:14:56 +020088#. After creating a VF/PNF, submit it for testing (see `Submit for testing`_).
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
97#. From the SDC HOME page, click the *Add VF* or *Add PNF*
98
99 |image9|
100
101#. In the General section, complete all fields.
102
103#. Before submitting the VF/PNF for testing, click these
104 options to update VF/PNF information:
105
106 .. note:: These tasks can be done only before submitting the VF/PNF for testing.
107
108 - **Icon** change the icon associated with the VF/PNF (vendor-supplied icons are
109 preferred)
110 - **Deployment Artifacts** download, view, modify, or change VF/PNF deployment
111 artifacts (for example, the contents of the Heat .zip file, which contains
112 the Heat volume template, the VF license, etc.)
113 - **Information Artifacts** view or upload artifacts, such as test scripts, test
114 results, or the AIC questionnaire
115 - **TOSCA Artifacts** view or download the TOSCA model or the TOSCA template
116 - **Properties** define or update properties
117 - **Composition** view or edit the graphical representation of the resource-level
118 TOSCA model (generated from the Heat template)
119 - **Activity Log** view activity related to assets associated with the VF/PNF
120 (displays the action, date, user, status, and any comments related to each
121 action)
122 - **Deployment** view VF modules defined in the Heat template
123 - **Inputs** view inputs defined for the resource-level TOSCA model
124
125#. Click *Create*.
126
127 - A message displays while creation is in progress. (This can take up to
128 10 minutes.)
129 - A message displays when creation is complete.
130
131#. Click *Check In* to save changes.
132
133 - A box displays for confirming the changes.
134
135#. Enter a comment and click *OK*.
136
137 - A message displays when the is checked in.
138
139
140#. After creating a VF/PNF, submit it for testing (see `Submit for testing`_).
141
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.
149- Upload a new version the VSP to the VF/PNF whenever the VSP is updated (see steps
150 3 to 5). Other reasons for updating a VF/PNF include:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000151
dermot123a3447502019-08-02 15:34:26 +0000152 - artifact changes at the VF/PNF level that need be uploaded, for example,
Eric Debeaud5fd0642019-04-18 12:29:22 +0000153 changes to ENV values (see step 6)
154
155**Prerequisites:**
156
andreasgeissler3502b062019-06-05 21:14:56 +0200157- `Create a VF/PNF by VSP import`_ or `Create a VF/PNF manually`_
158- If the VSP was updated: :ref:`doc_guide_user_des_res-onb_upd-vsp`
Eric Debeaud5fd0642019-04-18 12:29:22 +0000159
160**Steps**
161
dermot123a3447502019-08-02 15:34:26 +0000162#. From the SDC HOME page, click *CATALOG* and search for a VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000163
164#. In the General section, click *Check Out*.
165 The Select VSP field is displays.
166
167#. In the Select VSP field, click *Browse*.
dermot123a3447502019-08-02 15:34:26 +0000168 The Import VSP box displays and shows the VSP that was used to create the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000169
170#. Expand the VSP field and click.
171
172 |image4|
173
174#. Click |image5|
175 A progress bar displays. |image6|
176
177#. Click *Deployment Artifact* to edit, upload, or delete associated [Optional]
178 deployment artifacts.
179
180#. Click *Information Artifact* and edit, upload, or delete associated
181 [Optional] information artifacts.
182
183#. Click *Check In* to save changes.
184
dermot123a3447502019-08-02 15:34:26 +0000185#. After updating the VF/PNF:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000186
dermot123a3447502019-08-02 15:34:26 +0000187 - Submit the VF/PNF for testing (see `Submit for testing`_).
188 - Update the VF/PNF version in any service that contains the VF/PNF
Eric Debeaud5fd0642019-04-18 12:29:22 +0000189 (see step 4 in Update a service [optional]).
190
andreasgeissler3502b062019-06-05 21:14:56 +0200191.. _doc_guide_user_des_vf-cre_sub-tst:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000192
andreasgeissler3502b062019-06-05 21:14:56 +0200193Submit for testing
194------------------
195
196**Prerequisites:** `Create a VF/PNF by VSP import`_ or
197`Create a VF/PNF manually`_
Eric Debeaud5fd0642019-04-18 12:29:22 +0000198
199**Steps**
200
andreasgeissler3502b062019-06-05 21:14:56 +0200201#. When a VF/PNF is ready for testing, click *CATALOG* and service for the
202 VF/PNF.
203#. Click the VF/PNF and click *Submit for Testing*.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000204
205 |image7|
206
207 |image8|
208
209#. Enter a message for the testers asking that they begin service certification
210 and click *OK*.
211
212 The default mail client launches with a draft email containing the message.
213
214#. Add the email addresses of the people on the Certification Group for this
215 site with the *Tester* role and send the email.
216
andreasgeissler3502b062019-06-05 21:14:56 +0200217.. _doc_guide_user_des_vf-cre_tst-vf:
Eric Debeaud5fd0642019-04-18 12:29:22 +0000218
andreasgeissler3502b062019-06-05 21:14:56 +0200219Test a VF/PNF
220-------------
Eric Debeaud5fd0642019-04-18 12:29:22 +0000221
andreasgeissler3502b062019-06-05 21:14:56 +0200222Test the design and artifacts of a VF/PNF.
223
224**Prerequisites:** `Submit for testing`_
Eric Debeaud5fd0642019-04-18 12:29:22 +0000225
226**Steps**
227
228#. Sign in to SDC as a *Tester*.
229#. From the HOME page, select *Ready For Testing* under Active Projects.
dermot123a3447502019-08-02 15:34:26 +0000230#. In the right pane, click the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000231#. Click *Start Testing*.
dermot123a3447502019-08-02 15:34:26 +0000232#. Test the VF/PNF.
Eric Debeaud5fd0642019-04-18 12:29:22 +0000233#. When testing is complete, click *Accept*.
234
235.. |image1| image:: media/design_vf_workflow.png
andreasgeissler3502b062019-06-05 21:14:56 +0200236.. |image2| image:: media/SDC-Import.png
Eric Debeaud5fd0642019-04-18 12:29:22 +0000237.. |image3| image:: media/image2017-1-27_11-14-3.png
238.. |image4| image:: media/image2017-1-27_11-17-18.png
239.. |image5| image:: media/sdc_artifact_update.png
240.. |image6| image:: media/design_vf_updatevspmessage.png
241.. |image7| image:: media/image2017-1-27_11-20-13.png
242.. |image8| image:: media/image2017-1-27_11-21-4.png
andreasgeissler3502b062019-06-05 21:14:56 +0200243.. |image9| image:: media/SDC-Add.png
244