Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 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. |
| 4 | |
andreasgeissler | f3ba182 | 2019-05-24 13:22:42 +0200 | [diff] [blame] | 5 | .. _doc_guide_user_des_vf-cre: |
thmsdt | b1a0c9d | 2019-05-16 15:47:49 +0200 | [diff] [blame] | 6 | |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 7 | VF Creation and Testing |
| 8 | ======================= |
| 9 | **Goal**: Using VSPs, create one or more VFs as the building blocks for a |
| 10 | service. Validate and certify the VFs. |
| 11 | |
| 12 | **ONAP Component**: SDC |
| 13 | |
| 14 | **SDC user roles**: Designer, Tester |
| 15 | |
| 16 | |image1| |
| 17 | |
| 18 | Steps |
| 19 | ----- |
| 20 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 21 | - `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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 26 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 27 | .. _doc_guide_user_des_vf-cre_cre-imp: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 28 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 29 | Create a VF/PNF by VSP import |
| 30 | ----------------------------- |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 31 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 32 | **Prerequisites:** (see :ref:`doc_guide_user_des_res-onb` ) |
| 33 | |
| 34 | - Create a license for each VF/PNF |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 35 | - Create a Vendor Software Product. |
| 36 | |
| 37 | **Steps** |
| 38 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 39 | #. From the SDC HOME page, click the *Import VSP* |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 40 | |
| 41 | |image2| |
| 42 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 43 | #. From the *Import VF* box, expand a VSP name and click the *Import VSP* icon. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 44 | |
| 45 | |image3| |
| 46 | |
| 47 | #. In the General section, complete all fields. |
| 48 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 49 | .. note:: Use the letters "VF" or "PNF" in the name to indicate that the |
| 50 | component type. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 51 | |
| 52 | #. Click *Create*. |
| 53 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 54 | - A message displays while creation is in progress. (This can take up to |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 55 | 10 minutes.) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 56 | - A message displays when creation is complete. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 57 | |
| 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 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 64 | - A message displays when the VF/PNF is checked in. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 65 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 66 | #. [Optional] At any time before submitting the VF/PNF for testing, click |
| 67 | these options to update VF/PNF information: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 68 | |
| 69 | .. note:: These tasks can be done only before submitting the VF for testing. |
| 70 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 71 | - **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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 74 | artifacts (for example, the contents of the Heat .zip file, which contains |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 75 | the Heat volume template, the license, etc.) |
| 76 | - **Information Artifacts** view or upload artifacts, such as test scripts, test |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 77 | results, or the AIC questionnaire |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 78 | - **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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 81 | TOSCA model (generated from the Heat template) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 82 | - **Activity Log** view activity related to assets associated with the VF/PNF |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 83 | (displays the action, date, user, status, and any comments related to each |
| 84 | action) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 85 | - **Deployment** view VF modules defined in the Heat template |
| 86 | - **Inputs** view inputs defined for the resource-level TOSCA model |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 87 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 88 | #. After creating a VF/PNF, submit it for testing (see `Submit for testing`_). |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 89 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 90 | .. _doc_guide_user_des_vf-cre_cre-man: |
| 91 | |
| 92 | Create 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 | |
| 145 | Update a VF/PNF [optional] |
| 146 | -------------------------- |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 147 | |
| 148 | - Update the VSP and other artifacts in a VF. |
| 149 | - Upload a new version the VSP to the VF whenever the VSP is updated (see steps |
| 150 | 3 to 5). Other reasons for updating a VF include: |
| 151 | |
| 152 | - artifact changes at the VF level that need be uploaded, for example, |
| 153 | changes to ENV values (see step 6) |
| 154 | |
| 155 | **Prerequisites:** |
| 156 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 157 | - `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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 159 | |
| 160 | **Steps** |
| 161 | |
| 162 | #. From the SDC HOME page, click *CATALOG* and search for a VF. |
| 163 | |
| 164 | #. In the General section, click *Check Out*. |
| 165 | The Select VSP field is displays. |
| 166 | |
| 167 | #. In the Select VSP field, click *Browse*. |
| 168 | The Import VF box displays and shows the VSP that was used to create the VF. |
| 169 | |
| 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 | |
| 185 | #. After updating the VF: |
| 186 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 187 | - Submit the VF for testing (see `Submit for testing`_). |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 188 | - Update the VF version in any service that contains the VF |
| 189 | (see step 4 in Update a service [optional]). |
| 190 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 191 | .. _doc_guide_user_des_vf-cre_sub-tst: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 192 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 193 | Submit for testing |
| 194 | ------------------ |
| 195 | |
| 196 | **Prerequisites:** `Create a VF/PNF by VSP import`_ or |
| 197 | `Create a VF/PNF manually`_ |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 198 | |
| 199 | **Steps** |
| 200 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 201 | #. 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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 204 | |
| 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 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 217 | .. _doc_guide_user_des_vf-cre_tst-vf: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 218 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 219 | Test a VF/PNF |
| 220 | ------------- |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 221 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 222 | Test the design and artifacts of a VF/PNF. |
| 223 | |
| 224 | **Prerequisites:** `Submit for testing`_ |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 225 | |
| 226 | **Steps** |
| 227 | |
| 228 | #. Sign in to SDC as a *Tester*. |
| 229 | #. From the HOME page, select *Ready For Testing* under Active Projects. |
| 230 | #. In the right pane, click the VF. |
| 231 | #. Click *Start Testing*. |
| 232 | #. Test the VF. |
| 233 | #. When testing is complete, click *Accept*. |
| 234 | |
| 235 | .. |image1| image:: media/design_vf_workflow.png |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 236 | .. |image2| image:: media/SDC-Import.png |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 237 | .. |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 |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 243 | .. |image9| image:: media/SDC-Add.png |
| 244 | |