blob: 250d38ff436f0cc297d4951be2cc4118a7fa1d01 [file] [log] [blame]
Eric Debeau3cf9a632018-05-22 19:57:38 +00001.. This work is licensed undera Creative Commons Attribution 4.0
2.. International License.
3.. http://creativecommons.org/licenses/by/4.0
4.. Copyright 2017-2018 ONAP
Rich Bennetta4cf27d2017-11-12 23:11:28 -05005
6
7.. contents::
8 :depth: 2
9..
10
Eric Debeau3cf9a632018-05-22 19:57:38 +000011.. index:: Setting Up Full ONAP using Virtual Machines
Rich Bennettb921b992017-11-17 08:28:37 -050012
Rich Bennett52b5c092018-09-01 09:48:13 -040013==============================
14**Setting Up ONAP using Heat**
15==============================
Rich Bennetta4cf27d2017-11-12 23:11:28 -050016
Rich Bennett52b5c092018-09-01 09:48:13 -040017.. _installing-onap-heat:
Rich Bennetta4cf27d2017-11-12 23:11:28 -050018
19**Context**
20===========
Eric Debeau5fc91322018-03-20 21:18:58 +000021ONAP may be deployed in different contexts depending on your requirements.
22The recommended installation for Beijng Release over virtual machines is based
Rich Bennett52b5c092018-09-01 09:48:13 -040023on OpenStack Heat Template.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050024
Eric Debeau5fc91322018-03-20 21:18:58 +000025The VNFs managed by ONAP may be deployed in different OpenStack tenants or
26based on top of VMware based infrastructure. For details, refer
27:ref:`to MultiCloud project<index-multicloud>`.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050028
Eric Debeau5fc91322018-03-20 21:18:58 +000029The current installation is based on the single tenant deployment (all the ONAP
Eric Debeau3cf9a632018-05-22 19:57:38 +000030components will be hosted in a unique tenant).
Eric Debeau5adb1782017-11-17 20:34:11 +000031
Rich Bennett52b5c092018-09-01 09:48:13 -040032.. note::
Eric Debeau53770c62018-11-26 21:10:53 +000033 Prior to deployment of ONAP, there is no need to download manually any
34 Docker Container.
35 The Heat deployment takes care to automatically download the Docker
36 Containers.
Rich Bennett52b5c092018-09-01 09:48:13 -040037
38
Gildas Lanilisc10c7c92017-11-21 11:50:18 -080039.. _demo-installing-running-onap-requirements:
40
Rich Bennetta4cf27d2017-11-12 23:11:28 -050041**Requirements**
42================
43
44OpenStack
45---------
Eric Debeau5fc91322018-03-20 21:18:58 +000046ONAP installation is validated on
47`OpenStack Ocata <https://releases.openstack.org/ocata/>`_ or latter release.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050048
Eric Debeau5fc91322018-03-20 21:18:58 +000049You can use various Cloud providers offering OpenStack based solutions.
50A list of available Cloud providers on the
51`OpenStack marketplace <https://www.openstack.org/marketplace/public-clouds/>`_.
Eric Debeauc0095d12017-11-15 23:58:49 +000052
53You can use your private Cloud infrastructure.
54
55The following OpenStack components must be deployed in the infrastructure:
Rich Bennetta4cf27d2017-11-12 23:11:28 -050056 - *Cinder*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050057 - *Glance*
Eric Debeaua9634e72017-11-14 12:32:22 +000058 - *Heat*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050059 - *Horizon*
60 - *Keystone*
Eric Debeaua9634e72017-11-14 12:32:22 +000061 - *Neutron*
62 - *Nova*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050063
Eric Debeaua9634e72017-11-14 12:32:22 +000064To deploy OpenStack, you can use various solutions:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010065 - `OpenStack installation guide <https://docs.openstack.org/install-guide/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050066 - `OPNFV Cross Community Continuous Integration - XCI installer <http://docs.opnfv.org/en/latest/infrastructure/xci.html>`_
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010067 - `OpenStack Ocata installation guide <https://docs.openstack.org/ocata/install/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050068
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010069.. tip::
Eric Debeau5fc91322018-03-20 21:18:58 +000070 - Notice the documentation version mentioned in the URL, e.g. ocata/, pike/,
71 latest/ ...
72 - The installation is pretty huge, some automated scripts have been created by
73 the community:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010074
75 - `OpenStack installation with Ansible (All openstack services) <https://docs.openstack.org/openstack-ansible/latest/>`_
Eric Debeau5fc91322018-03-20 21:18:58 +000076 - `OpenStack Ocata installation scripts for testing environment(DO NOT install Heat, Designate and Cinder Volume services) <https://github.com/reachsrirams/openstack-scripts>`_
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010077
Eric Debeau5fc91322018-03-20 21:18:58 +000078The OpenStack infrastructure must enable internet access and you need to have
79an "External network" already configured properly.
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010080The External network ID will have to be provided in the Heat environment file.
Eric Debeaua9634e72017-11-14 12:32:22 +000081
82ONAP components
83---------------
Eric Debeau5fc91322018-03-20 21:18:58 +000084The following table presents the mapping between the created VM and the ONAP
85components, and provides VM information (flavor and image):
Eric Debeaua9634e72017-11-14 12:32:22 +000086
87 =================== ================= ======= ============
88 VM name ONAP project(s) Flavor Image
89 =================== ================= ======= ============
Eric Debeau53770c62018-11-26 21:10:53 +000090 onap-aai-inst1 AAI xlarge Ubuntu 16.04
91 onap-aai-inst2 AAI/UI xlarge Ubuntu 16.04
92 onap-appc APPC, CCSDK large Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +000093 onap-clamp CLAMP medium Ubuntu 16.04
Eric Debeau53770c62018-11-26 21:10:53 +000094 onap-dns-server *Internal DNS* small Ubuntu 16.04
95 onap-message-router DMAAP large Ubuntu 16.04
Eric Debeau3cf9a632018-05-22 19:57:38 +000096 onap-multi-service MSB, VF-C, VNFSDK xlarge Ubuntu 16.04
Eric Debeau53770c62018-11-26 21:10:53 +000097 onap-policy Policy xlarge Ubuntu 16.04
98 onap-portal Portal, CLI large Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +000099 onap-robot Integration medium Ubuntu 16.04
100 onap-sdc SDC xlarge Ubuntu 16.04
Eric Debeau53770c62018-11-26 21:10:53 +0000101 onap-sdnc SDNC, CCSDK large Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +0000102 onap-so SO large Ubuntu 16.04
Eric Debeau53770c62018-11-26 21:10:53 +0000103 onap-vid VID medium Ubuntu 16.04
Eric Debeaub1726b52018-05-23 09:08:53 +0000104 onap-dcae DCAE, Holmes xlarge Ubuntu 16.04
Eric Debeau53770c62018-11-26 21:10:53 +0000105 onap-music Music large Ubuntu 16.04
Eric Debeau3cf9a632018-05-22 19:57:38 +0000106 onap-oof OOF large Ubuntu 16.04
107 onap-aaf AAF medium Ubuntu 16.04
108 onap-sms AAF medium Ubuntu 16.04
109 onap-nbi External API small Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +0000110 =================== ================= ======= ============
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500111
112Footprint
113---------
114The ONAP installation requires the following footprint:
Eric Debeau3cf9a632018-05-22 19:57:38 +0000115 - 20 VM
116 - 88 vCPU
117 - 176 GB RAM
118 - 1.76 TB Storage
119 - 20 floating IP addresses
Eric Debeaua9634e72017-11-14 12:32:22 +0000120
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800121.. Note: You should also reserve some resources for the VNFs to be deployed.
Eric Debeaua9634e72017-11-14 12:32:22 +0000122
123Artifacts
124---------
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800125The following artifacts must be deployed on the OpenStack infrastructure:
Eric Debeaua9634e72017-11-14 12:32:22 +0000126 - a public SSH key to access the various VM
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100127 - Ubuntu 16.04 image (https://cloud-images.ubuntu.com/releases/16.04/release/)
Eric Debeau3cf9a632018-05-22 19:57:38 +0000128 - Set of flavors: small, medium, large, xlarge
Eric Debeaua9634e72017-11-14 12:32:22 +0000129
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800130.. Note: The floating IP may be private IP.
Eric Debeaua9634e72017-11-14 12:32:22 +0000131
Eric Debeau5fc91322018-03-20 21:18:58 +0000132.. Note: Basic flavors can reuse the default flavors as defined by
133 OpenStack
134 <https://docs.openstack.org/horizon/latest/admin/manage-flavors.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500135
136Security
137--------
Eric Debeau5fc91322018-03-20 21:18:58 +0000138The default installation assumes that the Default security group is configured
139to enable full access between the ONAP components.
140Depending on your environment, we may need to open some security groups
141(eg when using the portal from your desktop).
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500142
Eric Debeau5fc91322018-03-20 21:18:58 +0000143The list of various services and ports used can be found on the
144`ONAP wiki - ports <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500145
146**Deployment**
147==============
148
Eric Debeauc0095d12017-11-15 23:58:49 +0000149Source files
150------------
151
Eric Debeau5fc91322018-03-20 21:18:58 +0000152Both following files must be downloaded and configured to match your
153configuration:
Eric Debeau5adb1782017-11-17 20:34:11 +0000154
Eric Debeau5fc91322018-03-20 21:18:58 +0000155- Template file:
Eric Debeau53770c62018-11-26 21:10:53 +0000156 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml?h=casablanca
Eric Debeau5fc91322018-03-20 21:18:58 +0000157- Environment file:
Eric Debeau53770c62018-11-26 21:10:53 +0000158 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env?h=casablanca
Eric Debeauc0095d12017-11-15 23:58:49 +0000159
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800160The environment file must be customized as described in the following sections.
Eric Debeau5adb1782017-11-17 20:34:11 +0000161
Eric Debeau5fc91322018-03-20 21:18:58 +0000162.. Note Beijing release files
Eric Debeau5adb1782017-11-17 20:34:11 +0000163
Eric Debeauc0095d12017-11-15 23:58:49 +0000164Description
165-----------
166
Eric Debeau3cf9a632018-05-22 19:57:38 +0000167The ONAP Heat template spins up all the components including the DCAE.
Eric Debeau5fc91322018-03-20 21:18:58 +0000168The template, onap_openstack.yaml, comes with an environment file,
Eric Debeauc0095d12017-11-15 23:58:49 +0000169onap_openstack.env, in which all the default values are defined.
170
Eric Debeau3cf9a632018-05-22 19:57:38 +0000171The Heat template is composed of two sections: (i) parameters, and (ii)
Eric Debeauc0095d12017-11-15 23:58:49 +0000172resources.
173The parameter section contains the declaration and
174description of the parameters that will be used to spin up ONAP, such as
175public network identifier, URLs of code and artifacts repositories, etc.
176The default values of these parameters can be found in the environment
177file.
178
179The resource section contains the definition of:
180
Eric Debeau5fc91322018-03-20 21:18:58 +0000181- ONAP Private Management Network, which ONAP components use to communicate
182 with each other and with VNFs
Eric Debeauc0095d12017-11-15 23:58:49 +0000183- ONAP Virtual Machines (VMs)
Eric Debeaub1726b52018-05-23 09:08:53 +0000184- Public key pair used to access ONAP VMs
Eric Debeauc0095d12017-11-15 23:58:49 +0000185- Virtual interfaces towards the ONAP Private Management Network
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800186- Disk volumes
Eric Debeauc0095d12017-11-15 23:58:49 +0000187
188Each VM specification includes Operating System image name, VM size
189(i.e. flavor), VM name, etc. Each VM has two virtual network interfaces:
190one towards the public network and one towards the ONAP Private
191Management network, as described above. Furthermore, each VM runs a
192post-instantiation script that downloads and installs software
193dependencies (e.g. Java JDK, gcc, make, Python, ...) and ONAP software
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800194packages and Docker containers from remote repositories.
Eric Debeauc0095d12017-11-15 23:58:49 +0000195
Eric Debeau3cf9a632018-05-22 19:57:38 +0000196When the Heat template is executed, the OpenStack Heat engine creates
197the resources defined in the Heat template, based on the parameters
Eric Debeauc0095d12017-11-15 23:58:49 +0000198values defined in the environment file.
199
200Environment file
201----------------
202
Eric Debeau3cf9a632018-05-22 19:57:38 +0000203Before running Heat, it is necessary to customize the environment file.
Eric Debeauc0095d12017-11-15 23:58:49 +0000204Indeed, some parameters, namely public_net_id, pub_key,
205openstack_tenant_id, openstack_username, and openstack_api_key,
206need to be set depending on the user's environment:
207
208**Global parameters**
209
210::
211
212 public_net_id: PUT YOUR NETWORK ID/NAME HERE
213 pub_key: PUT YOUR PUBLIC KEY HERE
214 openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
215 openstack_username: PUT YOUR OPENSTACK USERNAME HERE
216 openstack_api_key: PUT YOUR OPENSTACK PASSWORD HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000217 keystone_url: PUT THE KEYSTONE URL HERE (do not include version number)
218
219openstack_region parameter is set to RegionOne (OpenStack default). If
220your OpenStack is using another Region, please modify this parameter.
221
222public_net_id is the unique identifier (UUID) or name of the public
223network of the cloud provider. To get the public_net_id, use the
224following OpenStack CLI command (ext is the name of the external
225network, change it with the name of the external network of your
226installation)
227
228::
229
230 openstack network list | grep ext | awk '{print $2}'
231
232pub_key is string value of the public key that will be installed in
233each ONAP VM. To create a public/private key pair in Linux, please
234execute the following instruction:
235
236::
237
238 user@ubuntu:~$ ssh-keygen -t rsa
239
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800240The following operations create the public/private key pair:
Eric Debeauc0095d12017-11-15 23:58:49 +0000241
242::
243
244 Generating public/private rsa key pair.
245 Enter file in which to save the key (/home/user/.ssh/id_rsa):
246 Created directory '/home/user/.ssh'.
247 Enter passphrase (empty for no passphrase):
248 Enter same passphrase again:
249 Your identification has been saved in /home/user/.ssh/id_rsa.
250 Your public key has been saved in /home/user/.ssh/id_rsa.pub.
251
252openstack_username, openstack_tenant_id (password), and
253openstack_api_key are user's credentials to access the
254OpenStack-based cloud.
255
256**Images and flavors parameters**
257
258::
259
Eric Debeau5fc91322018-03-20 21:18:58 +0000260 ubuntu_1604_image: PUT THE UBUNTU 16.04 IMAGE NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000261 flavor_small: PUT THE SMALL FLAVOR NAME HERE
262 flavor_medium: PUT THE MEDIUM FLAVOR NAME HERE
263 flavor_large: PUT THE LARGE FLAVOR NAME HERE
264 flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000265
266To get the images in your OpenStack environment, use the following
267OpenStack CLI command:
268
269::
270
271 openstack image list | grep 'ubuntu'
272
273To get the flavor names used in your OpenStack environment, use the
274following OpenStack CLI command:
275
276::
277
278 openstack flavor list
279
Eric Debeau53770c62018-11-26 21:10:53 +0000280**Proxy parameters**
281
282::
283 http_proxy: PUT YOUR HTTP PROXY ADDRESS (if you don't work behind a proxy put no_proxy)
284 https_proxy: PUT YOUR HTTPS PROXY ADDRESS (if you don't work behind a proxy put no_proxy)
285
Eric Debeauc0095d12017-11-15 23:58:49 +0000286**Network parameters**
287
288::
289
Eric Debeau3cf9a632018-05-22 19:57:38 +0000290 dns_list: PUT THE ADDRESS OF THE EXTERNAL DNS HERE (e.g. a comma-separated list
291 of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems)
Eric Debeau5fc91322018-03-20 21:18:58 +0000292 external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000293 dns_forwarder: PUT THE IP OF DNS FORWARDER FOR ONAP DEPLOYMENT'S OWN DNS SERVER
294 oam_network_cidr: 10.0.0.0/16
295
Eric Debeau5fc91322018-03-20 21:18:58 +0000296You can use the Google Public DNS 8.8.8.8 and 4.4.4.4 address or your internal
297DNS servers.
Eric Debeauc0095d12017-11-15 23:58:49 +0000298
Eric Debeau5fc91322018-03-20 21:18:58 +0000299ONAP installs a DNS server used to resolve IP addresses in the ONAP OAM private
300network.
Eric Debeauc0095d12017-11-15 23:58:49 +0000301
302**DCAE Parameters**
303
Eric Debeau53770c62018-11-26 21:10:53 +0000304Depending on the set of DCAE compoennts to be deployed, you can select
305
306- R3 MVP - This profile includes a minimum set of DCAE components that will
307 support the vFW/vDNS, vCPE. and vVoLTE use cases. It will deploy the
308 following components: Consul server, Config Binding Service, Postgres
309 database, VES collector, TCA analytics, Holmes rule management, Holmes
310 engine management
311- R3 - This profile also deploys the rest of the DCAE platform. With R3
312 deployment profile, DCAE supports CLAMP and full control loop
313 functionalities. These additional components are: Cloudify Manager,
314 Deployment Handler, Policy Handler, Service Change Handler, Inventory API.
315- R3PLUS - This profile deploys the DCAE R2 stretch goal service components,
316 namely: PNF Registration Handler, SNMP Trap collector, HV-VES Collector,
317 Missing Heartbeat Detection analytics, Universal Mapper
318
Eric Debeauc0095d12017-11-15 23:58:49 +0000319::
320
Eric Debeau53770c62018-11-26 21:10:53 +0000321 dcae_deployment_profile: PUT DCAE DEPLOYMENT PROFILE (R3MVP, R3, or R3PLUS)
Eric Debeauc0095d12017-11-15 23:58:49 +0000322
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500323Instantiation
324-------------
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500325
Eric Debeauc0095d12017-11-15 23:58:49 +0000326The ONAP platform can be instantiated via Horizon (OpenStack dashboard)
327or Command Line.
328
329**Instantiation via Horizon:**
330
331- Login to Horizon URL with your personal credentials
332- Click "Stacks" from the "Orchestration" menu
333- Click "Launch Stack"
Eric Debeaub1726b52018-05-23 09:08:53 +0000334- Paste or manually upload the Heat template file (onap_openstack.yaml) in the
Eric Debeau5fc91322018-03-20 21:18:58 +0000335 "Template Source" form
Eric Debeaub1726b52018-05-23 09:08:53 +0000336- Paste or manually upload the Heat environment file (onap_openstack.env) in
Eric Debeau5fc91322018-03-20 21:18:58 +0000337 the "Environment Source" form
Eric Debeauc0095d12017-11-15 23:58:49 +0000338- Click "Next" - Specify a name in the "Stack Name" form
339- Provide the password in the "Password" form
340- Click "Launch"
341
342**Instantiation via Command Line:**
343
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100344- You need to have the OpenStack Heat service installed:
Eric Debeauc0095d12017-11-15 23:58:49 +0000345
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100346- Create a file (named i.e. ~/openstack/openrc) that sets all the
347 environmental variables required to access your OpenStack tenant:
Eric Debeauc0095d12017-11-15 23:58:49 +0000348
349::
350
351 export OS_AUTH_URL=INSERT THE AUTH URL HERE
352 export OS_USERNAME=INSERT YOUR USERNAME HERE
353 export OS_TENANT_ID=INSERT YOUR TENANT ID HERE
354 export OS_REGION_NAME=INSERT THE REGION HERE
355 export OS_PASSWORD=INSERT YOUR PASSWORD HERE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100356 export OS_USER_DOMAIN_NAME=INSERT YOUR DOMAIN HERE
357 export OS_PROJECT_NAME=INSERT YOUR PROJECT NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000358
359- Run the script from command line:
360
361::
362
363 source ~/openstack/openrc
364
365- In order to install the ONAP platform, type:
366
367::
368
Eric Debeau3cf9a632018-05-22 19:57:38 +0000369 # Old Heat client
370
371::
372
Eric Debeau5fc91322018-03-20 21:18:58 +0000373 heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE)
374 -e PATH_TO_ENV_FILE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100375
376 OR
377
Eric Debeau3cf9a632018-05-22 19:57:38 +0000378::
379
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100380 # New OpenStack client
Eric Debeau5fc91322018-03-20 21:18:58 +0000381 openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE)
382 -e PATH_TO_ENV_FILE STACK_NAME
Eric Debeauc0095d12017-11-15 23:58:49 +0000383
384
Eric Debeau3cf9a632018-05-22 19:57:38 +0000385.. Note The Heat template deployment may take time (up to one hour)
Eric Debeau5fc91322018-03-20 21:18:58 +0000386 depending on your hardware environment.
Eric Debeauc0095d12017-11-15 23:58:49 +0000387
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500388Test the installation
389---------------------
Eric Debeau5fc91322018-03-20 21:18:58 +0000390Every ONAP component offers a HealthCheck REST API. The Robot Virtual Machine
391(*onap-robot*) can be used to test that every components run smoothly.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500392Run the following command to perform the HealthCheck:
393
394.. code-block:: bash
395
Eric Debeau53770c62018-11-26 21:10:53 +0000396 docker exec -it openecompete_container /var/opt/OpenECOMP_ETE/runTags.sh \
397 -i health \
398 -d ./html \
399 -V /share/config/integration_robot_properties.py \
400 -V /share/config/integration_preload_parameters.py \
Eric Debeau5fc91322018-03-20 21:18:58 +0000401 -V /share/config/vm_properties.py
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500402
Eric Debeau3cf9a632018-05-22 19:57:38 +0000403This test suite will execute 40 tests towards the various ONAP components.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500404
Eric Debeau5fc91322018-03-20 21:18:58 +0000405After the installation, it is possible to deploy the various use-cases
406described in `ONAP wiki - demos <https://wiki.onap.org/display/DW/Running+the+ONAP+Demos>`_.
Eric Debeau5adb1782017-11-17 20:34:11 +0000407
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500408Detect problems
409---------------
410If all the tests are not OK, many causes are possible.
411Here is a simple procedure to detect where the problem occurs:
412
413* Check the OpenStack Virtual Machine logs
Eric Debeau5fc91322018-03-20 21:18:58 +0000414* Connect to the Virtual Machine and check that the various containers are
415 running.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500416
Eric Debeau5fc91322018-03-20 21:18:58 +0000417The list of containers are described on the `ONAP wiki - containers <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
418In case some containers are missing, check the Docker logs using the following
419command:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500420
421.. code-block:: bash
422
423 sudo docker ps -a
424 sudo docker logs <containerid>
425
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500426**Portal configuration**
427========================
Eric Debeaua9634e72017-11-14 12:32:22 +0000428The current ONAP installation is using the *onap.org* domain.
Eric Debeau5fc91322018-03-20 21:18:58 +0000429To use the portal on your desktop, you must configure the following information
Rich Bennett52b5c092018-09-01 09:48:13 -0400430in your *hosts* file (located in /etc/hosts for Linux or
Eric Debeau5fc91322018-03-20 21:18:58 +0000431/windows/system32/drivers/etc/hosts for Windows):
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500432
433.. code-block:: bash
434
Eric Debeaua9634e72017-11-14 12:32:22 +0000435 <onap-policy_ip> policy.api.simpledemo.onap.org
436 <onap-portal_ip> portal.api.simpledemo.onap.org
437 <onap-sdc_ip> sdc.api.simpledemo.onap.org
438 <onap-vid_ip> vid.api.simpledemo.onap.org
439 <onap-aai-inst1_ip> aai.api.simpledemo.onap.org
440 <onap-aai-inst2_ip> aai.ui.simpledemo.onap.org
441
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500442
Eric Debeau5fc91322018-03-20 21:18:58 +0000443You can use the Horizon dashboard to get the IP addresses associated with the
444Virtual Machines or use the following command line:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500445
446.. code-block:: bash
447
448 openstack server list
449
Eric Debeau5fc91322018-03-20 21:18:58 +0000450Launch the portal on the
451http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500452
Eric Debeaua9634e72017-11-14 12:32:22 +0000453Various users are predefined as presented in the following table:
454
455 .. csv-table::
456 :header: Role, Login
457 :widths: 20, 20
458
459 Superuser,demo
460 Designer,cs0008
461 Tester,jm0007
462 Governor,gv0001
463 Ops,op0001
464
465The password is *demo123456!*
466
Eric Debeau5fc91322018-03-20 21:18:58 +0000467Go to the `Portal component user guide
468<http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500469
470Other UI documentation:
Eric Debeaua9634e72017-11-14 12:32:22 +0000471 - `CLAMP <http://onap.readthedocs.io/en/latest/submodules/clamp.git/docs/index.html>`_
Eric Debeauc0095d12017-11-15 23:58:49 +0000472 - `SDC <http://onap.readthedocs.io/en/latest/submodules/sdc.git/docs/index.html>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000473 - `UI Use-Case <http://onap.readthedocs.io/en/latest/submodules/usecase-ui.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500474
475
476**Components**
477==============
478
Eric Debeau5fc91322018-03-20 21:18:58 +0000479The list of various services and ports used can be found on the
480`ONAP wiki - services <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000481
Eric Debeau3cf9a632018-05-22 19:57:38 +0000482.. This work is licensed under a Creative Commons Attribution 4.0
483.. International License.
484.. http://creativecommons.org/licenses/by/4.0
485.. Copyright 2017-2018 ONAP
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500486
487
Eric Debeaua9634e72017-11-14 12:32:22 +0000488.. contents::