blob: 63f588d2c74f269738093eacef6fd2ebea2850db [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
andreasgeissler8b0b1462020-03-26 17:45:53 +010046provider's Supply Chain Management (SCM) group.
andreasgeissler4aaabf92019-04-18 10:44:37 +020047
andreasgeissler4aaabf92019-04-18 10:44:37 +020048
49#. From the SDC HOME page, click *ONBOARD*.
andreasgeissler8b0b1462020-03-26 17:45:53 +010050
51 |image11|
52
53#. In the Workspace select *CREATE NEW VLM*.
54
55 |image12|
56
andreasgeissler4aaabf92019-04-18 10:44:37 +020057#. Complete all fields.
andreasgeissler8b0b1462020-03-26 17:45:53 +010058#. Click *Create*.
59#. In the Overview Dialog.
60
61 |image13|
62
andreasgeissler4aaabf92019-04-18 10:44:37 +020063 Select the following options in order:
64
andreasgeissler3502b062019-06-05 21:14:56 +020065 #. Create 0 or more license key groups (see
66 `Create a License Key Group [Optional]`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +020067 #. Create 1 or more entitlement pools (see `Create an Entitlement Pool`_).
68 #. Create 1 or more feature groups (see `Create a Feature Group`_).
69 #. Create 1 or more license agreements (see `Create a License Agreement`_).
70
andreasgeissler3502b062019-06-05 21:14:56 +020071 Note: Perform all steps above before submitting the license model to
72 the SDC catalog.
andreasgeissler4aaabf92019-04-18 10:44:37 +020073
andreasgeissler8b0b1462020-03-26 17:45:53 +010074 |image14|
75
76#. Click *Submit* to add the license model to the catalog.
77After filling a comment, press *Commit&Submit*.
78
79 |image15|
80
andreasgeissler3502b062019-06-05 21:14:56 +020081#. After creating a license, complete `Create a Vendor Software Product`_ to
dermot123a3447502019-08-02 15:34:26 +000082 add the VSP required for the associated VF/PNF.
andreasgeissler4aaabf92019-04-18 10:44:37 +020083
andreasgeissler8b0b1462020-03-26 17:45:53 +010084
andreasgeissler4aaabf92019-04-18 10:44:37 +020085Create a License Key Group [Optional]
86-------------------------------------
87
andreasgeissler3502b062019-06-05 21:14:56 +020088If required by the resource model, create one or more license key groups;
89otherwise the license key group is optional.
andreasgeissler4aaabf92019-04-18 10:44:37 +020090
91**Prerequisites:** `Create a License Model`_
92
andreasgeissler8b0b1462020-03-26 17:45:53 +010093#. Select the License Model in the Onboard section of the SDC.
94#. In the Overview click the + behind the *License Key Groups*.
andreasgeissler4aaabf92019-04-18 10:44:37 +020095
andreasgeissler8b0b1462020-03-26 17:45:53 +010096 |image4|
97
98#. Complete all fields (mandatory fields are marked by a red asterisk).
99#. Click *Save*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200100
101Create an Entitlement Pool
102--------------------------
103
andreasgeissler3502b062019-06-05 21:14:56 +0200104**Prerequisites:** If required by the resource model, create one or more
andreasgeissler8b0b1462020-03-26 17:45:53 +0100105license key groups (see
106`Create a License Key Group [Optional]`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200107
andreasgeissler8b0b1462020-03-26 17:45:53 +0100108#. Select the License Model in the Onboard section of the SDC.
109#. In the Overview click the + behind the *Entitlement Pools*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200110
andreasgeissler8b0b1462020-03-26 17:45:53 +0100111 |image5|
112
113#. Complete required fields (mandatory fields are marked by a red asterisk).
114#. Click *Save*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200115
116Create a Feature Group
117----------------------
118
119**Prerequisites:** Create one or more:
120
andreasgeissler3502b062019-06-05 21:14:56 +0200121* license key groups if required by the resource model
122 (see `Create a License Key Group [optional]`_)
andreasgeissler4aaabf92019-04-18 10:44:37 +0200123* entitlement pools (see `Create an Entitlement Pool`_)
124
andreasgeissler8b0b1462020-03-26 17:45:53 +0100125#. Select the License Model in the Onboard section of the SDC.
126#. In the Overview click the + behind the *Feature Groups*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200127
andreasgeissler8b0b1462020-03-26 17:45:53 +0100128 |image6|
129
130#. On the General tab, complete all fields.
131#. Click *Entitlement Pools*.
132#. Click *Available Entitlement Pools*.
133#. Select one or more entitlement pools and click the right arrow.
134#. Click *License Key Groups*.
135#. Click *Available License Key Groups*.
136#. Select one or more license key groups and click the right arrow.
137#. Click *Save*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200138
139Create a License Agreement
140--------------------------
141
andreasgeissler3502b062019-06-05 21:14:56 +0200142**Prerequisites:** Create one or more feature groups
143 (see `Create a Feature Group`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200144
andreasgeissler8b0b1462020-03-26 17:45:53 +0100145#. Select the License Model in the Onboard section of the SDC.
146#. In the Overview click the + behind the *License Agreements*.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200147
andreasgeissler8b0b1462020-03-26 17:45:53 +0100148 |image7|
149
150#. On the General tab, complete required fields.
151#. Click *Feature Groups*.
152#. If not selected, click *Available Feature Groups*.
153#. Select one or more groups and click the right arrow.
154#. Click *Save*.
155#. Return to step 6 of `Create a License Model`_ to complete the license model.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200156
andreasgeissler3502b062019-06-05 21:14:56 +0200157.. _doc_guide_user_des_res-onb_cre-vsp:
158
andreasgeissler4aaabf92019-04-18 10:44:37 +0200159Create a Vendor Software Product
160--------------------------------
161
andreasgeissler3502b062019-06-05 21:14:56 +0200162Create one or more Vendor Software Products (VSPs) as the building blocks
dermot123a3447502019-08-02 15:34:26 +0000163for VFs/PNFs.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200164
165.. note::
166 For interim saving while creating a VSP, click |image2|
167
168**Prerequisites:**
169
170* `Create a License Model`_
dermot123a3447502019-08-02 15:34:26 +0000171* VNF HEAT package or VNF/PNF CSAR/Zip package is available.
172
173 See :ref:`sdc_onboarding_package_types` for a description
174 of the onboarding package types.
175* 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 +0200176
177#. From the SDC HOME page, click *ONBOARD*.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100178
179 |image11|
180
181#. In the Workspace select *CREATE NEW VSP*.
182
183 |image21|
184
185#. Complete all fields.
186#. Click *Create*.
187 The Overview page is shown
188
189 |image22|
andreasgeissler4aaabf92019-04-18 10:44:37 +0200190
191 .. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200192 A warning is displayed under License Agreement if the VSP does not have
193 an associated license.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200194
andreasgeissler8b0b1462020-03-26 17:45:53 +0100195#. Click *General* in the left section.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200196
andreasgeissler8b0b1462020-03-26 17:45:53 +0100197#. For the defined Vendor, select a licensing version, a license agreement,
198 and one or more feature groups.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200199
andreasgeissler8b0b1462020-03-26 17:45:53 +0100200 |image23|
201
andreasgeissler3502b062019-06-05 21:14:56 +0200202#. [Optional] Complete other fields, such as Availability (high-availability
203 zones) and Storage Data Replication (requirement for storage replication),
204 as required.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100205#. In the *Overview* section, select *Software Product Attachments*
206 (right pane), click *Select file*.
andreasgeissler3502b062019-06-05 21:14:56 +0200207#. In case of a VNF HEAT file: Locate the Heat .zip package and click *Open*.
dermot123a3447502019-08-02 15:34:26 +0000208
andreasgeissler3502b062019-06-05 21:14:56 +0200209 In case of a VNF or PNF CSAR file: Locate the VNF or PNF csar/.zip package
210 and click *Open*.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100211#. The file is loaded and the attachments page opens
212
213 |image24|
214
215#. Press the Button *Procees to Validation*. After successful validation, SDC
andreasgeissler3502b062019-06-05 21:14:56 +0200216 displays the files and a success message. If validation fails, SDC displays
217 the errors in the files.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200218
219 Example Heat errors:
220
221 |image9|
222
andreasgeissler4aaabf92019-04-18 10:44:37 +0200223#. Click *Submit* to add the VSP to the catalog.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100224
225 After filling a comment, press *Commit&Submit*.
andreasgeissler3502b062019-06-05 21:14:56 +0200226#. A success message is displayed. If the VSP attachments contain errors, an
227 error message is displayed instead. Fix the issue(s) and re-submit.
228#. To configure VFCs associated with the VSP, see
229 `Update VFCs in a VSP [optional]`_, below.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200230
231
andreasgeissler3502b062019-06-05 21:14:56 +0200232.. _doc_guide_user_des_res-onb_upd-vfc:
233
andreasgeissler4aaabf92019-04-18 10:44:37 +0200234Update VFCs in a VSP [optional]
235-------------------------------
236
andreasgeissler3502b062019-06-05 21:14:56 +0200237If required, configure Virtual Function Components (VFCs) associated with a
238VSP, such as the Hypervisor, VM recovery details, and cloning. VFCs are listed
239on the Components tab.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200240
241.. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200242 All fields are optional. Answers to questionnaires are stored as metadata
243 only on the SDC platform.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200244
andreasgeissler3502b062019-06-05 21:14:56 +0200245**Prerequisites:** Add one or more VSPs
246 (see `Create a Vendor Software Product`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200247
248#. From the SDC HOME page, click *ONBOARD* and search for a VSP.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100249#. Selecting the VSP opens the *Versions* page.
250
251 |image25|
252
253#. Press the + at *Create New Version* on the version to update
254
255 |image26|
256
257#. Fill the fields and press *Create*
258#. In Components , click a VFC (VSP component).
259
260 The component links display in the left pane.
andreasgeissler3502b062019-06-05 21:14:56 +0200261#. Click *General* to view and edit general parameters such as hypervisor,
262 image format, VM recovery details, and DNS configuration.
263#. Click *Compute* to view and edit VM parameters such as the number of VMs
264 required for a VFC instance and persistent storage/volume size.
265#. Click *High Availability & Load Balancing* to answer questions related
266 to VM availability and load balancing.
267#. Click *Networks* to view or edit parameters related to network capacity
268 and interfaces.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200269
270 .. note::
andreasgeissler3502b062019-06-05 21:14:56 +0200271 Click an interface to view or edit it. A dialog box displays similar
272 to the figure below.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200273
274 |image10|
275
andreasgeissler3502b062019-06-05 21:14:56 +0200276#. Click *Storage* to configure storage information, such as backup type,
277 storage size, and logging.
278#. Click *Process Details*, click *Add Component Process Details*, and complete
andreasgeissler8b0b1462020-03-26 17:45:53 +0100279 the *Create New Process Details* dialog box.
280
281 Use Process Details to identify
andreasgeissler3502b062019-06-05 21:14:56 +0200282 the processes and configuration associated with VFCs.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200283#. Click *Monitoring* to upload MIB or JSON files for SNMP traps and polling.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100284#. To update the VSP, click *Submit*
285
286 After filling a comment, press *Commit&Submit* and the
287 new version is certified.
andreasgeissler3502b062019-06-05 21:14:56 +0200288
289.. _doc_guide_user_des_res-onb_upd-vsp:
andreasgeissler4aaabf92019-04-18 10:44:37 +0200290
291Update a VSP [optional]
292-----------------------
293
dermot123a3447502019-08-02 15:34:26 +0000294Upload a new onboarding package to a VSP. Afterward, update the VF/PNF and service.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200295
andreasgeissler3502b062019-06-05 21:14:56 +0200296**Prerequisites:** Add one or more VSPs
297 (see `Create a Vendor Software Product`_).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200298
299#. From the SDC HOME page, click *ONBOARD* and search for a VSP.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100300#. Selecting the VSP opens the *Versions* page.
301
302 |image25|
303
304#. Press the + at *Create New Version* on the version to update
305
306 |image26|
307
308#. Fill the fields and press *Create*
andreasgeissler4aaabf92019-04-18 10:44:37 +0200309#. In Software Product Attachments (right pane), click *Select file*.
andreasgeissler3502b062019-06-05 21:14:56 +0200310#. In case of a VNF HEAT file: Locate the Heat .zip package and click *Open*.
311
312 In case of a VNF or PNF CSAR file: Locate the VNF or PNF csar/.zip package
313 and click *Open*.
314
andreasgeissler4aaabf92019-04-18 10:44:37 +0200315 SDC warns that uploading a new package erases existing data.
andreasgeissler3502b062019-06-05 21:14:56 +0200316#. Click *Continue* to upload the new package.
andreasgeissler8b0b1462020-03-26 17:45:53 +0100317#. The file is loaded and the attachments page opens
andreasgeissler4aaabf92019-04-18 10:44:37 +0200318
andreasgeissler8b0b1462020-03-26 17:45:53 +0100319 |image24|
320
321#. Press the Button *Procees to Validation*. After successful validation, SDC
322 displays the files and a success message. If validation fails, SDC displays
323 the errors in the files.
324
325 Example Heat errors:
326
327 |image9|
328
329#. Click *Submit* to add the new VSP version to the catalog.
330 After filling a comment, press *Commit&Submit* and the
331 new version is certified.
andreasgeissler4aaabf92019-04-18 10:44:37 +0200332#. After updating the VSP:
dermot123a3447502019-08-02 15:34:26 +0000333
334 #. Upload the VSP to the Vf/PNF
335 (see steps 3 to 5 in :ref:`doc_guide_user_des_vf-cre`).
336 #. Update the VF/PNF version in services that include the VF/PNF (see step 4
andreasgeissler3502b062019-06-05 21:14:56 +0200337 in :ref:`doc_guide_user_des_ser-des`).
andreasgeissler4aaabf92019-04-18 10:44:37 +0200338
dermot123a3447502019-08-02 15:34:26 +0000339.. _doc_guide_user_des_res-onb_pre-install_root_certificate:
340
341Pre-Install Root Certificate in SDC [only needed for secure package]
342--------------------------------------------------------------------
343SDC supports the onboarding of packages that are secured according to security option 2 in ETSI NFV-SOL 004v2.6.1.
344
345During onboarding, SDC will validate the authenticity and integrity of a secure package. To enable this validation,
346the root certificate corresponding to the certificate included in the package needs to be available to SDC.
347This is currently done by uploading the root certificate to the following default directory location::
348
349 /dockerdata-nfs/{{ .Release.Name }}/sdc/onbaording/cert
350
351.. note::
352 The directory listed above is mapped to the following directory in the onboarding pod (sdc-onboarding-be)
353 ::
354
355 /var/lib/jetty/cert
356
357 so it is also possible to copy the root certificate directly to this directory in the pod.
358
359The location where the root certificate is uploaded is configurable. The relevant parameters are described in
360the *cert* block in the following values file::
361
362 <path_to_oom_kubernetes>/sdc/charts/sdc-onboarding-be/values.yaml
363
andreasgeissler4aaabf92019-04-18 10:44:37 +0200364
365.. |image0| image:: media/sdro-resource-onboarding-workflow.png
366
367.. |image1| image:: media/sdro-vsp-service-workflow.png
368
369.. |image2| image:: media/sdro-sdc_vsp_save.png
370
371.. |image3| image:: media/sdro-license-creation.png
372
373.. |image4| image:: media/sdro-license-keygroup.png
374
375.. |image5| image:: media/sdro-entitlement-pool.png
376
377.. |image6| image:: media/sdro-feature-group.png
378
379.. |image7| image:: media/sdro-license-agreement.png
380
381.. |image8| image:: media/sdro-software-product.png
382
383.. |image9| image:: media/sdro-design_onboardvsp_heaterrors.png
384
385.. |image10| image:: media/sdro-edit-nic.png
andreasgeissler8b0b1462020-03-26 17:45:53 +0100386
387.. |image11| image:: media/sdro-new-vlm.png
388
389.. |image12| image:: media/sdro-new-vlm-dialog.png
390
391.. |image13| image:: media/sdro-new-vlm-overview.png
392
393.. |image14| image:: media/sdro-license-model.png
394
395.. |image15| image:: media/sdro-license-model-submit.png
396
397.. |image21| image:: media/sdro-new-vsp.png
398
399.. |image22| image:: media/sdro-new-vsp-overview.png
400
401.. |image23| image:: media/sdro-new-vsp-general.png
402
403.. |image24| image:: media/sdro-new-vsp-attachments.png
404
405.. |image25| image:: media/sdro-vsp-version.png
406
407.. |image26| image:: media/sdro-vsp-version-dialog.png