6e3ade3cc2554f9080150ba839ccb3e49cd97ca2
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / docs / onboarding.rst
1 Onboard NS
2 ==========
3
4 Prepare environment
5 -------------------
6 - Create customer in A&AI
7
8  - tool: Postman
9  - method: PUT
10  - URL: https://aai.api.simpledemo.onap.org:8443/aai/v11/business/customers/customer/123456
11  - Headers
12
13   - basic auth AAI:AAI
14   - X-FromAppId : any
15   - Content-type: application/json
16   - Accept: application/json
17
18  - body: :download:`aai.create.customer.request.json <sample/aai.create.customer.request.json>`
19
20   - Edit tenant id, cloud owner, cloud region
21
22 - Log into ONAP portal with designer role (cs0008)
23
24  - Create License model
25
26   - ONBOARD / Create new VLP
27
28    - name = select a name easy to remember
29
30   - Entitlement pool / add new Entitlement pool
31
32    - name = any
33
34   - License key group / add new licencse key group
35
36    - name = any
37    - type = universal
38
39   - Feature groups / add feature group
40
41    - name = any
42    - part number = 123456
43    - manufacturer reference number = 123456
44    - entitlement pool (add any with arrow button)
45    - license key group (add any with arrow button)
46    - save
47
48   - License agreements / Add license agreement
49
50    - name = any
51    - license term unlimited
52    - feature groups (add any with arrow button)
53
54   - Check in (lock icon at top)
55   - Submit (tick icon at top)
56
57  - On-board / Create new VSP (vendor software package)
58
59   - Create VSP
60
61    - name = select a name easy to remember
62    - vendor = name of the license model
63    - category = Database (IMPORTANT NOT TO CHANGE THIS (linked to the global customer))
64    - onboarding procedure = network package
65    - description = any
66
67   - Upload CSAR
68
69    - overview / software product attachments / select file
70
71   - Select licence
72
73    - overview / software product details / license agreement
74    - licenses
75    - set license version, license agreement, feature groups
76    - click on save icon at top
77    - commit & submit using icons at top
78
79  - Create VF
80
81   - home / import / import vsp (select VSP from list)
82
83    - set General / Vendor model number to CBAM package VNFD ID
84
85   - set sVNFM property assignment / inputs / nf_type  set NokiaSVNFM
86   - commit
87   - submit for testing
88
89  - Test VF
90
91   - Log in as tester role
92   - Select VF
93   - Start testing button
94   - Accept testing
95
96  - Create Service
97
98   - Log in as designer role
99   - home / add / add service
100   - name = select a name easy to remember
101   - project code = 123456
102   - Check in & check out (required to save a safe point to restore to if something goes wrong)
103
104  - Add created VF (Composition)
105
106   - drag icon to main picture (be patient only drag once, if multiple icons appear restart procedure )
107   - Check in
108   - Open service again and verify that the VF is part of the service under composition
109
110  - Submit for testing
111  - Test Service
112
113   - Log in as tester role (jm0007)
114   - start testing & accept
115
116  - Approve service
117
118   - Log in as governence user (gv0001)
119   - Select service and press approve
120
121  - Distribute the service
122
123   - Log in as operations personen (op0001)
124   - Select service and push distribute
125   - Click on monitor (verify that the state of the service is distributed)