blob: a2598385619c76f0aa13aeae4fd1f9fc86618813 [file] [log] [blame]
andreasgeissler4aaabf92019-04-18 10:44:37 +02001.. 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 Contributors. All rights reserved.
4
andreasgeisslerf3ba1822019-05-24 13:22:42 +02005.. _doc_guide_user_des_res-onb:
6
andreasgeissler4aaabf92019-04-18 10:44:37 +02007Resource Onboarding
8===================
andreasgeissler3502b062019-06-05 21:14:56 +02009**Goal:** Add models and other artifacts required to create, configure,
dermot123a3447502019-08-02 15:34:26 +000010 instantiate, and manage a VF/PNF and, optionally, a VFC.
andreasgeissler4aaabf92019-04-18 10:44:37 +020011
12**Tool:** SDC
13
14**SDC user role:** Designer
15
16|image0|
17
18**Steps**
19 * `Create a License Model`_
20 * `Create a License Key Group [Optional]`_
21 * `Create an Entitlement Pool`_
22 * `Create a Feature Group`_
23 * `Create a License Agreement`_
24 * `Create a Vendor Software Product`_
25 * `Update VFCs in a VSP [optional]`_
26 * `Update a VSP [optional]`_
27
28After updating the artifacts in a VSP, also update:
dermot123a3447502019-08-02 15:34:26 +000029 * the VF/PNF created from the VSP
30 * any services that include the VF/PNF
andreasgeissler4aaabf92019-04-18 10:44:37 +020031
32|image1|
33
andreasgeissler3502b062019-06-05 21:14:56 +020034.. _doc_guide_user_des_res-onb_cre-lic:
35
andreasgeissler4aaabf92019-04-18 10:44:37 +020036Create a License Model
37----------------------
38
andreasgeissler3502b062019-06-05 21:14:56 +020039VSPs optionally require a license and entitlements to enable the service
40provider to track the usage.
andreasgeissler4aaabf92019-04-18 10:44:37 +020041
andreasgeissler3502b062019-06-05 21:14:56 +020042Note: For interim saving while creating the license model and its components,
43click |image2|
andreasgeissler4aaabf92019-04-18 10:44:37 +020044
andreasgeissler3502b062019-06-05 21:14:56 +020045**Prerequisites:** To obtain license information, contact the service
46 provider's Supply Chain Management (SCM) group.
andreasgeissler4aaabf92019-04-18 10:44:37 +020047
48|image3|
49
50#. From the SDC HOME page, click *ONBOARD*.
51#. Hover over Add and select New License Model.
52#. Complete all fields.
53#. Click *Save*.
andreasgeissler3502b062019-06-05 21:14:56 +020054#. In the ONBOARD header, hover over the arrow after License Agreements to
55 reveal a menu.
andreasgeissler4aaabf92019-04-18 10:44:37 +020056 Select the following options in order:
57
andreasgeissler3502b062019-06-05 21:14:56 +020058 #. Create 0 or more license key groups (see
59 `Create a License Key Group [Optional]`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +020060 #. Create 1 or more entitlement pools (see `Create an Entitlement Pool`_).
61 #. Create 1 or more feature groups (see `Create a Feature Group`_).
62 #. Create 1 or more license agreements (see `Create a License Agreement`_).
63
andreasgeissler3502b062019-06-05 21:14:56 +020064 Note: Perform all steps above before submitting the license model to
65 the SDC catalog.
andreasgeissler4aaabf92019-04-18 10:44:37 +020066
67#. In the header, click the license model created in steps 1 to 4.
68#. Click *Check In* to save changes.
andreasgeissler3502b062019-06-05 21:14:56 +020069#. Click *Submit* to add the license model to the catalog. A success message
70 displays.
71#. After creating a license, complete `Create a Vendor Software Product`_ to
dermot123a3447502019-08-02 15:34:26 +000072 add the VSP required for the associated VF/PNF.
andreasgeissler4aaabf92019-04-18 10:44:37 +020073
74Create a License Key Group [Optional]
75-------------------------------------
76
andreasgeissler3502b062019-06-05 21:14:56 +020077If required by the resource model, create one or more license key groups;
78otherwise the license key group is optional.
andreasgeissler4aaabf92019-04-18 10:44:37 +020079
80**Prerequisites:** `Create a License Model`_
81
82|image4|
83
841. From the drop-down menu, select License Key Groups.
852. Click *Add License Key Group*.
86 The Create New License Key Group box displays.
873. Complete all fields.
88 Note: Enter the manufacturer reference number in the Name field.
894. Click *Save*.
90
91Create an Entitlement Pool
92--------------------------
93
andreasgeissler3502b062019-06-05 21:14:56 +020094**Prerequisites:** If required by the resource model, create one or more
95 license key groups (see
96 `Create a License Key Group [Optional]`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +020097
98|image5|
99
1001. From the drop-down menu, select Entitlement Pools.
1012. Click *Add Entitlement Pool*.
102 The Create New Entitlement Pool box displays.
1033. Complete required fields (mandatory fields are marked by a red asterisk).
1044. Click *Save*.
105
106Create a Feature Group
107----------------------
108
109**Prerequisites:** Create one or more:
110
andreasgeissler3502b062019-06-05 21:14:56 +0200111* license key groups if required by the resource model
112 (see `Create a License Key Group [optional]`_)
andreasgeissler4aaabf92019-04-18 10:44:37 +0200113* entitlement pools (see `Create an Entitlement Pool`_)
114
115|image6|
116
1171. From the drop-down menu, select Feature Groups.
1182. Click *Add Feature Group*.
119 The Create New Feature Group box displays.
1203. On the General tab, complete all fields.
1214. Click *Entitlement Pools*.
1225. Click *Available Entitlement Pools*.
1236. Select one or more entitlement pools and click the right arrow.
1247. Click *License Key Groups*.
1258. Click *Available License Key Groups*.
1269. Select one or more license key groups and click the right arrow.
12710. Click *Save*.
128
129Create a License Agreement
130--------------------------
131
andreasgeissler3502b062019-06-05 21:14:56 +0200132**Prerequisites:** Create one or more feature groups
133 (see `Create a Feature Group`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200134
135|image7|
136
1371. From the drop-down menu, select License Agreements.
1382. Click *Add License Agreement*.
139 The Create New License Agreement box displays.
andreasgeissler3502b062019-06-05 21:14:56 +02001403. On the General tab, complete required fields (mandatory fields are marked
141 by a red asterisk).
andreasgeissler4aaabf92019-04-18 10:44:37 +02001424. Click *Feature Groups*.
1435. If not selected, click *Available Feature Groups*.
1446. Select one or more groups and click the right arrow.
1457. Click *Save*.
1468. Return to step 5 of `Create a License Model`_ to complete the license model.
147
andreasgeissler3502b062019-06-05 21:14:56 +0200148.. _doc_guide_user_des_res-onb_cre-vsp:
149
andreasgeissler4aaabf92019-04-18 10:44:37 +0200150Create a Vendor Software Product
151--------------------------------
152
andreasgeissler3502b062019-06-05 21:14:56 +0200153Create one or more Vendor Software Products (VSPs) as the building blocks
dermot123a3447502019-08-02 15:34:26 +0000154for VFs/PNFs.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200155
156.. note::
157 For interim saving while creating a VSP, click |image2|
158
159**Prerequisites:**
160
161* `Create a License Model`_
dermot123a3447502019-08-02 15:34:26 +0000162* VNF HEAT package or VNF/PNF CSAR/Zip package is available.
163
164 See :ref:`sdc_onboarding_package_types` for a description
165 of the onboarding package types.
166* If the package is a secure package then :ref:`pre-install the corresponding Root Certificate in SDC <doc_guide_user_des_res-onb_pre-install_root_certificate>`.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200167
168#. From the SDC HOME page, click *ONBOARD*.
169#. Hover over Add and select New Vendor Software Product.
170#. The New Software Product box is displayed.
171 Complete all fields.
172#. Click *Save*.
173 The Overview section is displayed.
174
175 .. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200176 A warning is displayed under License Agreement if the VSP does not have
177 an associated license.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200178
179#. Click *Software Product Details* (left pane).
180
181 |image8|
182
andreasgeissler3502b062019-06-05 21:14:56 +0200183#. In order, select a licensing version, a license agreement, and one or more
184 feature groups.
185#. [Optional] Complete other fields, such as Availability (high-availability
186 zones) and Storage Data Replication (requirement for storage replication),
187 as required.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200188#. In Software Product Attachments (right pane), click *Select file*.
andreasgeissler3502b062019-06-05 21:14:56 +0200189#. In case of a VNF HEAT file: Locate the Heat .zip package and click *Open*.
dermot123a3447502019-08-02 15:34:26 +0000190
andreasgeissler3502b062019-06-05 21:14:56 +0200191 In case of a VNF or PNF CSAR file: Locate the VNF or PNF csar/.zip package
192 and click *Open*.
193#. SDC validates the files in the package. After successful validation, SDC
194 displays the files and a success message. If validation fails, SDC displays
195 the errors in the files.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200196
197 Example Heat errors:
198
199 |image9|
200
201#. Click *Check In* to save the changes.
202#. Click *Submit* to add the VSP to the catalog.
andreasgeissler3502b062019-06-05 21:14:56 +0200203#. A success message is displayed. If the VSP attachments contain errors, an
204 error message is displayed instead. Fix the issue(s) and re-submit.
205#. To configure VFCs associated with the VSP, see
206 `Update VFCs in a VSP [optional]`_, below.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200207
208
andreasgeissler3502b062019-06-05 21:14:56 +0200209.. _doc_guide_user_des_res-onb_upd-vfc:
210
andreasgeissler4aaabf92019-04-18 10:44:37 +0200211Update VFCs in a VSP [optional]
212-------------------------------
213
andreasgeissler3502b062019-06-05 21:14:56 +0200214If required, configure Virtual Function Components (VFCs) associated with a
215VSP, such as the Hypervisor, VM recovery details, and cloning. VFCs are listed
216on the Components tab.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200217
218.. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200219 All fields are optional. Answers to questionnaires are stored as metadata
220 only on the SDC platform.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200221
andreasgeissler3502b062019-06-05 21:14:56 +0200222**Prerequisites:** Add one or more VSPs
223 (see `Create a Vendor Software Product`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200224
225#. From the SDC HOME page, click *ONBOARD* and search for a VSP.
226#. In the Overview section, click *Check Out*.
227#. In Components (bottom pane), click a VFC (VSP component).
228 The component links display in the left pane.
andreasgeissler3502b062019-06-05 21:14:56 +0200229#. Click *General* to view and edit general parameters such as hypervisor,
230 image format, VM recovery details, and DNS configuration.
231#. Click *Compute* to view and edit VM parameters such as the number of VMs
232 required for a VFC instance and persistent storage/volume size.
233#. Click *High Availability & Load Balancing* to answer questions related
234 to VM availability and load balancing.
235#. Click *Networks* to view or edit parameters related to network capacity
236 and interfaces.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200237
238 .. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200239 Click an interface to view or edit it. A dialog box displays similar
240 to the figure below.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200241
242 |image10|
243
andreasgeissler3502b062019-06-05 21:14:56 +0200244#. Click *Storage* to configure storage information, such as backup type,
245 storage size, and logging.
246#. Click *Process Details*, click *Add Component Process Details*, and complete
247 the Create New Process Details dialog box. Use Process Details to identify
248 the processes and configuration associated with VFCs.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200249#. Click *Monitoring* to upload MIB or JSON files for SNMP traps and polling.
250#. Click *Overview* and click *Check In* to save changes.
andreasgeissler3502b062019-06-05 21:14:56 +0200251#. If updating a VSP, click *Submit*. If this procedure is performed during the
252 workflow to create a VSP, there is no need to click *Submit* now.
253
254.. _doc_guide_user_des_res-onb_upd-vsp:
andreasgeissler4aaabf92019-04-18 10:44:37 +0200255
256Update a VSP [optional]
257-----------------------
258
dermot123a3447502019-08-02 15:34:26 +0000259Upload a new onboarding package to a VSP. Afterward, update the VF/PNF and service.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200260
andreasgeissler3502b062019-06-05 21:14:56 +0200261**Prerequisites:** Add one or more VSPs
262 (see `Create a Vendor Software Product`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200263
264#. From the SDC HOME page, click *ONBOARD* and search for a VSP.
265#. In the Overview section, click *Check Out*.
266#. In Software Product Attachments (right pane), click *Select file*.
andreasgeissler3502b062019-06-05 21:14:56 +0200267#. In case of a VNF HEAT file: Locate the Heat .zip package and click *Open*.
268
269 In case of a VNF or PNF CSAR file: Locate the VNF or PNF csar/.zip package
270 and click *Open*.
271
andreasgeissler4aaabf92019-04-18 10:44:37 +0200272 SDC warns that uploading a new package erases existing data.
andreasgeissler3502b062019-06-05 21:14:56 +0200273#. Click *Continue* to upload the new package.
274 SDC validates the files in the package. After successful validation, SDC
275 displays the files and a success message. If validation fails, SDC displays
276 the errors in the files.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200277
278 .. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200279 If the Heat template contains errors, contact the Certification Group for
280 guidance on how to proceed.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200281#. Click *Check In* to save changes.
282#. Click *Submit* to add the VSP to the catalog.
andreasgeissler3502b062019-06-05 21:14:56 +0200283 A success message is displayed. If the VSP attachments contain errors, an
284 error message is displayed instead. Fix the issue(s) and re-submit.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200285#. After updating the VSP:
dermot123a3447502019-08-02 15:34:26 +0000286
287 #. Upload the VSP to the Vf/PNF
288 (see steps 3 to 5 in :ref:`doc_guide_user_des_vf-cre`).
289 #. Update the VF/PNF version in services that include the VF/PNF (see step 4
andreasgeissler3502b062019-06-05 21:14:56 +0200290 in :ref:`doc_guide_user_des_ser-des`).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200291
dermot123a3447502019-08-02 15:34:26 +0000292.. _doc_guide_user_des_res-onb_pre-install_root_certificate:
293
294Pre-Install Root Certificate in SDC [only needed for secure package]
295--------------------------------------------------------------------
296SDC supports the onboarding of packages that are secured according to security option 2 in ETSI NFV-SOL 004v2.6.1.
297
298During onboarding, SDC will validate the authenticity and integrity of a secure package. To enable this validation,
299the root certificate corresponding to the certificate included in the package needs to be available to SDC.
300This is currently done by uploading the root certificate to the following default directory location::
301
302 /dockerdata-nfs/{{ .Release.Name }}/sdc/onbaording/cert
303
304.. note::
305 The directory listed above is mapped to the following directory in the onboarding pod (sdc-onboarding-be)
306 ::
307
308 /var/lib/jetty/cert
309
310 so it is also possible to copy the root certificate directly to this directory in the pod.
311
312The location where the root certificate is uploaded is configurable. The relevant parameters are described in
313the *cert* block in the following values file::
314
315 <path_to_oom_kubernetes>/sdc/charts/sdc-onboarding-be/values.yaml
316
andreasgeissler4aaabf92019-04-18 10:44:37 +0200317
318.. |image0| image:: media/sdro-resource-onboarding-workflow.png
319
320.. |image1| image:: media/sdro-vsp-service-workflow.png
321
322.. |image2| image:: media/sdro-sdc_vsp_save.png
323
324.. |image3| image:: media/sdro-license-creation.png
325
326.. |image4| image:: media/sdro-license-keygroup.png
327
328.. |image5| image:: media/sdro-entitlement-pool.png
329
330.. |image6| image:: media/sdro-feature-group.png
331
332.. |image7| image:: media/sdro-license-agreement.png
333
334.. |image8| image:: media/sdro-software-product.png
335
336.. |image9| image:: media/sdro-design_onboardvsp_heaterrors.png
337
338.. |image10| image:: media/sdro-edit-nic.png