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 | |
dermot123 | a344750 | 2019-08-02 15:34:26 +0000 | [diff] [blame] | 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. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 11 | |
| 12 | **ONAP Component**: SDC |
| 13 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 14 | **SDC user roles**: Designer |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 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]`_ |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 24 | - `Certify VF/PNF`_ |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 25 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 26 | .. _doc_guide_user_des_vf-cre_cre-imp: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 27 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 28 | Create a VF/PNF by VSP import |
| 29 | ----------------------------- |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 30 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 31 | **Prerequisites:** (see :ref:`doc_guide_user_des_res-onb` ) |
| 32 | |
| 33 | - Create a license for each VF/PNF |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 34 | - Create a Vendor Software Product. |
| 35 | |
| 36 | **Steps** |
| 37 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 38 | #. From the SDC HOME page, click the *Import VSP* |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 39 | |
| 40 | |image2| |
| 41 | |
dermot123 | a344750 | 2019-08-02 15:34:26 +0000 | [diff] [blame] | 42 | #. From the *Import VSP* box, expand a VSP name and click the *Import VSP* icon. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 43 | |
| 44 | |image3| |
| 45 | |
| 46 | #. In the General section, complete all fields. |
| 47 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 48 | |image10| |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 49 | |
| 50 | #. Click *Create*. |
| 51 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 52 | - 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] | 53 | 10 minutes.) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 54 | - A message displays when creation is complete. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 55 | |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 56 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 57 | #. [Optional] At any time before checking in the VF/PNF, click |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 58 | these options to update VF/PNF information: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 59 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 60 | .. note:: These tasks can be done only before certifying the VF/PNF. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 61 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 62 | - **General->Icon** change the icon associated with the VF/PNF |
| 63 | (vendor-supplied icons are preferred) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 64 | - **Deployment Artifacts** download, view, modify, or change deployment |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 65 | artifacts (for example, the contents of the Heat .zip file, which contains |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 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 |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 69 | - **TOSCA Artifacts** view or upload the TOSCA model or the TOSCA template |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 70 | - **Composition** view or edit the graphical representation of the resource-level |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 71 | TOSCA model (generated from the Heat template) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 72 | - **Activity Log** view activity related to assets associated with the VF/PNF |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 73 | (displays the action, date, user, status, and any comments related to each |
| 74 | action) |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 75 | - **Deployment** view VF modules defined in the Heat template |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 76 | - **Properties Assignment** define or update properties and input parameters |
| 77 | and policies |
| 78 | - **Req.& Capabilities** view and add requirements and capabilities |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 79 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 80 | #. 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 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 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 97 | #. From the SDC HOME page, click the *ADD VF* or *ADD PNF* |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 98 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 99 | |image2| |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 100 | |
| 101 | #. In the General section, complete all fields. |
| 102 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 103 | #. Before check-in the VF/PNF, click these |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 104 | options to update VF/PNF information: |
| 105 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 106 | .. note:: These tasks can be done only before certifying the VF/PNF. |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 107 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 108 | - **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 |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 111 | artifacts (for example, the contents of the Heat .zip file, which contains |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 112 | 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 |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 116 | - **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 |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 122 | - **Properties Assignment** define or update properties and input parameters |
| 123 | and policies |
| 124 | - **Req.& Capabilities** view and add requirements and capabilities |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 125 | |
| 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 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 134 | - A box to enter comments for confirming the changes open. |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 135 | |
| 136 | #. Enter a comment and click *OK*. |
| 137 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 138 | - 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`_). |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 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 | |
dermot123 | a344750 | 2019-08-02 15:34:26 +0000 | [diff] [blame] | 148 | - Update the VSP and other artifacts in a VF/PNF. |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 149 | - 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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 152 | |
dermot123 | a344750 | 2019-08-02 15:34:26 +0000 | [diff] [blame] | 153 | - artifact changes at the VF/PNF level that need be uploaded, for example, |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 154 | changes to ENV values (see step 6) |
| 155 | |
| 156 | **Prerequisites:** |
| 157 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 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` |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 160 | |
| 161 | **Steps** |
| 162 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 163 | #. From the SDC HOME page, click *CATALOG* and search for the VF/PNF. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 164 | |
| 165 | #. In the General section, click *Check Out*. |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 166 | The *VSP* field is displays. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 167 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 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. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 170 | |
| 171 | #. Expand the VSP field and click. |
| 172 | |
| 173 | |image4| |
| 174 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 175 | #. Click *Update VSP* |
| 176 | A progress bar displays.|image5| |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 177 | |
| 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 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 186 | - 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. |
dermot123 | a344750 | 2019-08-02 15:34:26 +0000 | [diff] [blame] | 192 | #. After updating the VF/PNF: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 193 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 194 | - 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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 197 | |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 198 | .. _doc_guide_user_des_vf-cre_sub-tst: |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 199 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 200 | Certify VF/PNF |
| 201 | -------------- |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 202 | |
| 203 | **Prerequisites:** `Create a VF/PNF by VSP import`_ or |
| 204 | `Create a VF/PNF manually`_ |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 205 | |
| 206 | **Steps** |
| 207 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 208 | #. 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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 211 | |
| 212 | |image7| |
| 213 | |
| 214 | |image8| |
| 215 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 216 | #. Enter a comment and click *OK*. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 217 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 218 | #. A Message appears, that the VF/PNF is certified. |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 219 | |
Eric Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 220 | |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 221 | .. |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 Debeau | d5fd064 | 2019-04-18 12:29:22 +0000 | [diff] [blame] | 225 | .. |image5| image:: media/sdc_artifact_update.png |
| 226 | .. |image6| image:: media/design_vf_updatevspmessage.png |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 227 | .. |image7| image:: media/sdc-vf-general-certify.png |
| 228 | .. |image8| image:: media/sdc-vf-certify-confirm.png |
andreasgeissler | 3502b06 | 2019-06-05 21:14:56 +0200 | [diff] [blame] | 229 | .. |image9| image:: media/SDC-Add.png |
andreasgeissler | 8b0b146 | 2020-03-26 17:45:53 +0100 | [diff] [blame] | 230 | .. |image10| image:: media/sdc-vf-general.png |