summaryrefslogtreecommitdiffstats
path: root/docs/guides/onap-user/vfw-design-tutorial/index.rst
blob: 171d295d29e0da07413eba1657bec04978513e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
.. This work is licensed under a Creative Commons Attribution 4.0
.. International License. http://creativecommons.org/licenses/by/4.0
.. Copyright © 2017-2020 Aarna Networks, Inc.

vFW Service Design Tutorial
###########################

Browser settings
================

This exercise will use the ONAP Portal. To interact properly with Portal services, please make sure to set the
following settings in your Firefox browser before starting the Service Design and Deployment.

Check your Firefox browser setting to make sure that Remote Proxy DNS setting is on

* Type "about:config" in the address bar
* Select "Accept the risk"
* In the Search enter Proxy
* Enable "network.proxy.socks_remote_dns  = true" (Just double click to change the flag)
* Please make sure to undo this change after testing, since this could cause potential security risk!

Check your Firefox settings to allow mixed contents

* Type "about:config" in the address bar
* In the Search enter Mixed
* Click on variable security.mixed_content.block_active_content
* Change the value to False (Just double click to change the flag)

Below are the portal URL & User Login details to connect to the ONAP portal

https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm

User login credentials and roles
::

  Username=cs0008, password=demo123456!, Role=DESIGNER
  Username=demo,   password=demo123456!, Role=ADMIN

.. note::
  From F release onwards, service design and deployment can be done with cs0008 and demo users

Ex: To open portal URL from FireFox browser and accept SSL certificate exception after the settings

|image8|

Login into the portal as designer (cs0008) and enter password (demo123456!) then click on LOGIN

|image21|

Service Design & Distribution using SDC GUI
===========================================

In this section, you will learn the following through the SDC GUI

* How to create a Vendor License Model
* How to create and onboard Vendor Software Product
* How to create a Service
* How to distribute a Service

Let us start by creating the VLM

1. Create Vendor Licence Model (VLM) in SDC

 A. Login to the ONAP portal as designer cs0008 / demo123456!
 B. Go to SDC → ONBOARD → WORKSPACE → CREATE NEW VLM (Enter below attributes and Create)

 |image35|

 |image34|

 C. Create New License Key Group

 |image15|

 D. Create Entitlement Pool

 |image38|

 E. Create Feature Group (Assign Entitlement Pool & License Key Group in other 2 tabs)

 |image5|

 |image40|

 |image27|

 F. Create License Agreement (Assign Feature Group under the Feature Group Tab)

 |image32|

 |image9|

 G. Click Submit (Top Right Corner of the page) and fill comment then press Commit & Submit

 |image7|

2. Create Vendor Software Product (VSP)

Prerequisite: Download VNF Heat package from gerrit

.. code: bash
   git clone "https://gerrit.onap.org/r/demo"

and copy the required HEAT package & use it while upload the package

 A. Go to SDC Home → ONBOARD → WORKSPACE  → CREATE NEW VSP (complete all the fields, click on Network Package
 checkbox then click create)

 |image22|

 B. Assign the license Agreement by selecting the Missing icon

 |image20|

 C. Select the Licenses drop down box (populate all three fields)

 |image24|

 D. Go to Overview (Left hand side bar), select Software Product Attachments in the right pane, click Select file

   Import HEAT package (ex: vfw_demo.zip) by clicking Select File Button. This file should be copied to your
   local workstation where the browser is running.

 |image37|

It will take you to the setup page

|image25|

 E. Click on “PROCEED TO VALIDATION” and ignore warnings

 |image17|

 F. Click Submit (right corner), fill the comment then press COMMIT & SUBMIT, you will see submit successful message

 |image3|

3. Import Vendor Software Product and certify

 A. Go to the SDC Home page click Import VSP button

 |image13|

 B. From the Import VSP box, expand a VSP name and click the Import VSP icon

 |image39|

 C. In the General section, complete all fields then click create (top right corner)

 |image43|

 D. Click Check In to save changes (top right corner), enter a comment and click OK

 |image29|

 E.  click CATALOG and search for the checked-in VF, you will see your VF In Design Check In state

 |image10|

 F. Click the VF and click certify (top right corner), enter a comment then click OK

 |image11|

 |image31|

4. Create a Service and certify

 A. Go to SDC UI → Home Page and Select the Add Service Button

 |image44|

 B In the General section, complete all fields then click Create

 |image19|

 C. select the “Composition” Menu on the left hand side menu bar

 |image41|

 D. On the Composition Page, Search for the vFW_demo service (look under Application L4+)

 |image14|

 E. On the Composition Page, Search for  Generic NeutronNet (look under Generic/Network Elements)

 |image26|

 F. Drag and drop vFW_demo created earlier during onboarding & the Generic NeutronNet onto the right hand side palette

 |image1|

 G. Connect the elements by connecting + signs and Select appropriate options for
 Requirements and Capabilities, click Next then click Finish at the end

 |image33|

 |image2|

 |image23|

 |image36|

 H. Click Check In to save changes, Enter a comment and click OK

 |image6|

 I. click CATALOG and search for the checked-in Service, you will see you service is in
 Design Checkin state

 |image28|

 J. Click the Service and click Certify, Enter a comment and click OK, you will
 see certification succeeded message

 |image31|

5. Distribute the Service

 A. From the SDC HOME page, click CATALOG and search for the service
 (it will be in Waiting For Distribution state)

 |image18|

 B. Select the service that is Ready for Distribution, click Distribute (top right corner)

 |image30|

 |image12|

 C. To Monitor Distribution, click on Distribution on the left pane

 |image41|

 |image16|


.. |image1| image:: media/image1.png
.. |image2| image:: media/image2.png
.. |image3| image:: media/image3.png
.. |image5| image:: media/image5.png
.. |image6| image:: media/image6.png
.. |image7| image:: media/image7.png
.. |image8| image:: media/image8.png
.. |image9| image:: media/image9.png
.. |image10| image:: media/image10.png
.. |image11| image:: media/image11.png
.. |image12| image:: media/image12.png
.. |image13| image:: media/image13.png
.. |image14| image:: media/image14.png
.. |image15| image:: media/image15.png
.. |image16| image:: media/image16.png
.. |image17| image:: media/image17.png
.. |image18| image:: media/image18.png
.. |image19| image:: media/image19.png
.. |image20| image:: media/image20.png
.. |image21| image:: media/image21.png
.. |image22| image:: media/image22.png
.. |image23| image:: media/image23.png
.. |image24| image:: media/image24.png
.. |image25| image:: media/image25.png
.. |image26| image:: media/image26.png
.. |image27| image:: media/image27.png
.. |image28| image:: media/image28.png
.. |image29| image:: media/image29.png
.. |image30| image:: media/image30.png
.. |image31| image:: media/image31.png
.. |image32| image:: media/image32.png
.. |image33| image:: media/image33.png
.. |image34| image:: media/image34.png
.. |image35| image:: media/image35.png
.. |image36| image:: media/image36.png
.. |image37| image:: media/image37.png
.. |image38| image:: media/image38.png
.. |image39| image:: media/image39.png
.. |image40| image:: media/image40.png
.. |image41| image:: media/image41.png
.. |image43| image:: media/image43.png
.. |image44| image:: media/image44.png