blob: f3b545a884a1ff749bd242e2e576d786d5fb1b61 [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::
33 Prior to deployment of ONAP, there is no need to download manually any Docker Container.
34 The Heat deployment takes care to automatically download the Docker Containers.
35
36
Gildas Lanilisc10c7c92017-11-21 11:50:18 -080037.. _demo-installing-running-onap-requirements:
38
Rich Bennetta4cf27d2017-11-12 23:11:28 -050039**Requirements**
40================
41
42OpenStack
43---------
Eric Debeau5fc91322018-03-20 21:18:58 +000044ONAP installation is validated on
45`OpenStack Ocata <https://releases.openstack.org/ocata/>`_ or latter release.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050046
Eric Debeau5fc91322018-03-20 21:18:58 +000047You can use various Cloud providers offering OpenStack based solutions.
48A list of available Cloud providers on the
49`OpenStack marketplace <https://www.openstack.org/marketplace/public-clouds/>`_.
Eric Debeauc0095d12017-11-15 23:58:49 +000050
51You can use your private Cloud infrastructure.
52
53The following OpenStack components must be deployed in the infrastructure:
Rich Bennetta4cf27d2017-11-12 23:11:28 -050054 - *Cinder*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050055 - *Glance*
Eric Debeaua9634e72017-11-14 12:32:22 +000056 - *Heat*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050057 - *Horizon*
58 - *Keystone*
Eric Debeaua9634e72017-11-14 12:32:22 +000059 - *Neutron*
60 - *Nova*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050061
Eric Debeaua9634e72017-11-14 12:32:22 +000062To deploy OpenStack, you can use various solutions:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010063 - `OpenStack installation guide <https://docs.openstack.org/install-guide/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050064 - `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 +010065 - `OpenStack Ocata installation guide <https://docs.openstack.org/ocata/install/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050066
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010067.. tip::
Eric Debeau5fc91322018-03-20 21:18:58 +000068 - Notice the documentation version mentioned in the URL, e.g. ocata/, pike/,
69 latest/ ...
70 - The installation is pretty huge, some automated scripts have been created by
71 the community:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010072
73 - `OpenStack installation with Ansible (All openstack services) <https://docs.openstack.org/openstack-ansible/latest/>`_
Eric Debeau5fc91322018-03-20 21:18:58 +000074 - `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 +010075
Eric Debeau5fc91322018-03-20 21:18:58 +000076The OpenStack infrastructure must enable internet access and you need to have
77an "External network" already configured properly.
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010078The External network ID will have to be provided in the Heat environment file.
Eric Debeaua9634e72017-11-14 12:32:22 +000079
80ONAP components
81---------------
Eric Debeau5fc91322018-03-20 21:18:58 +000082The following table presents the mapping between the created VM and the ONAP
83components, and provides VM information (flavor and image):
Eric Debeaua9634e72017-11-14 12:32:22 +000084
85 =================== ================= ======= ============
86 VM name ONAP project(s) Flavor Image
87 =================== ================= ======= ============
88 onap-aai-inst1 AAI xlarge Ubuntu 14.04
89 onap-aai-inst2 AAI/UI xlarge Ubuntu 14.04
90 onap-appc APPC, CCSDK large Ubuntu 14.04
91 onap-clamp CLAMP medium Ubuntu 16.04
92 onap-dns-server *Internal DNS* small Ubuntu 14.04
93 onap-message-router DMAAP large Ubuntu 14.04
Eric Debeau3cf9a632018-05-22 19:57:38 +000094 onap-multi-service MSB, VF-C, VNFSDK xlarge Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +000095 onap-policy Policy xlarge Ubuntu 14.04
96 onap-portal Portal, CLI large Ubuntu 14.04
97 onap-robot Integration medium Ubuntu 16.04
98 onap-sdc SDC xlarge Ubuntu 16.04
99 onap-sdnc SDNC, CCSDK large Ubuntu 14.04
100 onap-so SO large Ubuntu 16.04
101 onap-vid VID medium Ubuntu 14.04
Eric Debeaub1726b52018-05-23 09:08:53 +0000102 onap-dcae DCAE, Holmes xlarge Ubuntu 16.04
Eric Debeau3cf9a632018-05-22 19:57:38 +0000103 onap-music Music large Ubuntu 14.04
104 onap-oof OOF large Ubuntu 16.04
105 onap-aaf AAF medium Ubuntu 16.04
106 onap-sms AAF medium Ubuntu 16.04
107 onap-nbi External API small Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +0000108 =================== ================= ======= ============
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500109
110Footprint
111---------
112The ONAP installation requires the following footprint:
Eric Debeau3cf9a632018-05-22 19:57:38 +0000113 - 20 VM
114 - 88 vCPU
115 - 176 GB RAM
116 - 1.76 TB Storage
117 - 20 floating IP addresses
Eric Debeaua9634e72017-11-14 12:32:22 +0000118
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800119.. Note: You should also reserve some resources for the VNFs to be deployed.
Eric Debeaua9634e72017-11-14 12:32:22 +0000120
121Artifacts
122---------
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800123The following artifacts must be deployed on the OpenStack infrastructure:
Eric Debeaua9634e72017-11-14 12:32:22 +0000124 - a public SSH key to access the various VM
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100125 - Ubuntu 14.04 image (https://cloud-images.ubuntu.com/releases/14.04/14.04/)
126 - Ubuntu 16.04 image (https://cloud-images.ubuntu.com/releases/16.04/release/)
Eric Debeau3cf9a632018-05-22 19:57:38 +0000127 - Set of flavors: small, medium, large, xlarge
Eric Debeaua9634e72017-11-14 12:32:22 +0000128
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800129.. Note: The floating IP may be private IP.
Eric Debeaua9634e72017-11-14 12:32:22 +0000130
Eric Debeau5fc91322018-03-20 21:18:58 +0000131.. Note: Basic flavors can reuse the default flavors as defined by
132 OpenStack
133 <https://docs.openstack.org/horizon/latest/admin/manage-flavors.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500134
135Security
136--------
Eric Debeau5fc91322018-03-20 21:18:58 +0000137The default installation assumes that the Default security group is configured
138to enable full access between the ONAP components.
139Depending on your environment, we may need to open some security groups
140(eg when using the portal from your desktop).
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500141
Eric Debeau5fc91322018-03-20 21:18:58 +0000142The list of various services and ports used can be found on the
143`ONAP wiki - ports <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500144
145**Deployment**
146==============
147
Eric Debeauc0095d12017-11-15 23:58:49 +0000148Source files
149------------
150
Eric Debeau5fc91322018-03-20 21:18:58 +0000151Both following files must be downloaded and configured to match your
152configuration:
Eric Debeau5adb1782017-11-17 20:34:11 +0000153
Eric Debeau5fc91322018-03-20 21:18:58 +0000154- Template file:
Rich Bennett52b5c092018-09-01 09:48:13 -0400155 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml?h=beijing
Eric Debeau5fc91322018-03-20 21:18:58 +0000156- Environment file:
Rich Bennett52b5c092018-09-01 09:48:13 -0400157 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env?h=beijing
Eric Debeauc0095d12017-11-15 23:58:49 +0000158
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800159The environment file must be customized as described in the following sections.
Eric Debeau5adb1782017-11-17 20:34:11 +0000160
Eric Debeau5fc91322018-03-20 21:18:58 +0000161.. Note Beijing release files
Eric Debeau5adb1782017-11-17 20:34:11 +0000162
Eric Debeauc0095d12017-11-15 23:58:49 +0000163Description
164-----------
165
Eric Debeau3cf9a632018-05-22 19:57:38 +0000166The ONAP Heat template spins up all the components including the DCAE.
Eric Debeau5fc91322018-03-20 21:18:58 +0000167The template, onap_openstack.yaml, comes with an environment file,
Eric Debeauc0095d12017-11-15 23:58:49 +0000168onap_openstack.env, in which all the default values are defined.
169
Eric Debeau3cf9a632018-05-22 19:57:38 +0000170The Heat template is composed of two sections: (i) parameters, and (ii)
Eric Debeauc0095d12017-11-15 23:58:49 +0000171resources.
172The parameter section contains the declaration and
173description of the parameters that will be used to spin up ONAP, such as
174public network identifier, URLs of code and artifacts repositories, etc.
175The default values of these parameters can be found in the environment
176file.
177
178The resource section contains the definition of:
179
Eric Debeau5fc91322018-03-20 21:18:58 +0000180- ONAP Private Management Network, which ONAP components use to communicate
181 with each other and with VNFs
Eric Debeauc0095d12017-11-15 23:58:49 +0000182- ONAP Virtual Machines (VMs)
Eric Debeaub1726b52018-05-23 09:08:53 +0000183- Public key pair used to access ONAP VMs
Eric Debeauc0095d12017-11-15 23:58:49 +0000184- Virtual interfaces towards the ONAP Private Management Network
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800185- Disk volumes
Eric Debeauc0095d12017-11-15 23:58:49 +0000186
187Each VM specification includes Operating System image name, VM size
188(i.e. flavor), VM name, etc. Each VM has two virtual network interfaces:
189one towards the public network and one towards the ONAP Private
190Management network, as described above. Furthermore, each VM runs a
191post-instantiation script that downloads and installs software
192dependencies (e.g. Java JDK, gcc, make, Python, ...) and ONAP software
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800193packages and Docker containers from remote repositories.
Eric Debeauc0095d12017-11-15 23:58:49 +0000194
Eric Debeau3cf9a632018-05-22 19:57:38 +0000195When the Heat template is executed, the OpenStack Heat engine creates
196the resources defined in the Heat template, based on the parameters
Eric Debeauc0095d12017-11-15 23:58:49 +0000197values defined in the environment file.
198
199Environment file
200----------------
201
Eric Debeau3cf9a632018-05-22 19:57:38 +0000202Before running Heat, it is necessary to customize the environment file.
Eric Debeauc0095d12017-11-15 23:58:49 +0000203Indeed, some parameters, namely public_net_id, pub_key,
204openstack_tenant_id, openstack_username, and openstack_api_key,
205need to be set depending on the user's environment:
206
207**Global parameters**
208
209::
210
211 public_net_id: PUT YOUR NETWORK ID/NAME HERE
212 pub_key: PUT YOUR PUBLIC KEY HERE
213 openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
214 openstack_username: PUT YOUR OPENSTACK USERNAME HERE
215 openstack_api_key: PUT YOUR OPENSTACK PASSWORD HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000216 keystone_url: PUT THE KEYSTONE URL HERE (do not include version number)
217
218openstack_region parameter is set to RegionOne (OpenStack default). If
219your OpenStack is using another Region, please modify this parameter.
220
221public_net_id is the unique identifier (UUID) or name of the public
222network of the cloud provider. To get the public_net_id, use the
223following OpenStack CLI command (ext is the name of the external
224network, change it with the name of the external network of your
225installation)
226
227::
228
229 openstack network list | grep ext | awk '{print $2}'
230
231pub_key is string value of the public key that will be installed in
232each ONAP VM. To create a public/private key pair in Linux, please
233execute the following instruction:
234
235::
236
237 user@ubuntu:~$ ssh-keygen -t rsa
238
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800239The following operations create the public/private key pair:
Eric Debeauc0095d12017-11-15 23:58:49 +0000240
241::
242
243 Generating public/private rsa key pair.
244 Enter file in which to save the key (/home/user/.ssh/id_rsa):
245 Created directory '/home/user/.ssh'.
246 Enter passphrase (empty for no passphrase):
247 Enter same passphrase again:
248 Your identification has been saved in /home/user/.ssh/id_rsa.
249 Your public key has been saved in /home/user/.ssh/id_rsa.pub.
250
251openstack_username, openstack_tenant_id (password), and
252openstack_api_key are user's credentials to access the
253OpenStack-based cloud.
254
255**Images and flavors parameters**
256
257::
258
Eric Debeau5fc91322018-03-20 21:18:58 +0000259 ubuntu_1404_image: PUT THE UBUNTU 14.04 IMAGE NAME HERE
260 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
280**Network parameters**
281
282::
283
Eric Debeau3cf9a632018-05-22 19:57:38 +0000284 dns_list: PUT THE ADDRESS OF THE EXTERNAL DNS HERE (e.g. a comma-separated list
285 of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems)
Eric Debeau5fc91322018-03-20 21:18:58 +0000286 external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000287 dns_forwarder: PUT THE IP OF DNS FORWARDER FOR ONAP DEPLOYMENT'S OWN DNS SERVER
288 oam_network_cidr: 10.0.0.0/16
289
Eric Debeau5fc91322018-03-20 21:18:58 +0000290You can use the Google Public DNS 8.8.8.8 and 4.4.4.4 address or your internal
291DNS servers.
Eric Debeauc0095d12017-11-15 23:58:49 +0000292
Eric Debeau5fc91322018-03-20 21:18:58 +0000293ONAP installs a DNS server used to resolve IP addresses in the ONAP OAM private
294network.
Eric Debeauc0095d12017-11-15 23:58:49 +0000295
296**DCAE Parameters**
297
Eric Debeau3cf9a632018-05-22 19:57:38 +0000298For Beijing Release, all the DCAE components are deployed in a single
299virtual machine.
300You must specify R2 to run R2 DCAE components.
301Is you are using R1 to get R1 ONAP, you must fill all the other
302DCAE parameters.
303Please refer to the Amsterdam documentation to fill these parameters.
Eric Debeauc0095d12017-11-15 23:58:49 +0000304::
305
Eric Debeau3cf9a632018-05-22 19:57:38 +0000306 dcae_deployment_profile: PUT DCAE DEPLOYMENT PROFILE (R1, R2MVP, R2, or R2PLUS)
Eric Debeauc0095d12017-11-15 23:58:49 +0000307
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500308Instantiation
309-------------
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500310
Eric Debeauc0095d12017-11-15 23:58:49 +0000311The ONAP platform can be instantiated via Horizon (OpenStack dashboard)
312or Command Line.
313
314**Instantiation via Horizon:**
315
316- Login to Horizon URL with your personal credentials
317- Click "Stacks" from the "Orchestration" menu
318- Click "Launch Stack"
Eric Debeaub1726b52018-05-23 09:08:53 +0000319- Paste or manually upload the Heat template file (onap_openstack.yaml) in the
Eric Debeau5fc91322018-03-20 21:18:58 +0000320 "Template Source" form
Eric Debeaub1726b52018-05-23 09:08:53 +0000321- Paste or manually upload the Heat environment file (onap_openstack.env) in
Eric Debeau5fc91322018-03-20 21:18:58 +0000322 the "Environment Source" form
Eric Debeauc0095d12017-11-15 23:58:49 +0000323- Click "Next" - Specify a name in the "Stack Name" form
324- Provide the password in the "Password" form
325- Click "Launch"
326
327**Instantiation via Command Line:**
328
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100329- You need to have the OpenStack Heat service installed:
Eric Debeauc0095d12017-11-15 23:58:49 +0000330
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100331- Create a file (named i.e. ~/openstack/openrc) that sets all the
332 environmental variables required to access your OpenStack tenant:
Eric Debeauc0095d12017-11-15 23:58:49 +0000333
334::
335
336 export OS_AUTH_URL=INSERT THE AUTH URL HERE
337 export OS_USERNAME=INSERT YOUR USERNAME HERE
338 export OS_TENANT_ID=INSERT YOUR TENANT ID HERE
339 export OS_REGION_NAME=INSERT THE REGION HERE
340 export OS_PASSWORD=INSERT YOUR PASSWORD HERE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100341 export OS_USER_DOMAIN_NAME=INSERT YOUR DOMAIN HERE
342 export OS_PROJECT_NAME=INSERT YOUR PROJECT NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000343
344- Run the script from command line:
345
346::
347
348 source ~/openstack/openrc
349
350- In order to install the ONAP platform, type:
351
352::
353
Eric Debeau3cf9a632018-05-22 19:57:38 +0000354 # Old Heat client
355
356::
357
Eric Debeau5fc91322018-03-20 21:18:58 +0000358 heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE)
359 -e PATH_TO_ENV_FILE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100360
361 OR
362
Eric Debeau3cf9a632018-05-22 19:57:38 +0000363::
364
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100365 # New OpenStack client
Eric Debeau5fc91322018-03-20 21:18:58 +0000366 openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE)
367 -e PATH_TO_ENV_FILE STACK_NAME
Eric Debeauc0095d12017-11-15 23:58:49 +0000368
369
Eric Debeau3cf9a632018-05-22 19:57:38 +0000370.. Note The Heat template deployment may take time (up to one hour)
Eric Debeau5fc91322018-03-20 21:18:58 +0000371 depending on your hardware environment.
Eric Debeauc0095d12017-11-15 23:58:49 +0000372
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500373Test the installation
374---------------------
Eric Debeau5fc91322018-03-20 21:18:58 +0000375Every ONAP component offers a HealthCheck REST API. The Robot Virtual Machine
376(*onap-robot*) can be used to test that every components run smoothly.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500377Run the following command to perform the HealthCheck:
378
379.. code-block:: bash
380
Eric Debeau5fc91322018-03-20 21:18:58 +0000381 docker exec -it openecompete_container /var/opt/OpenECOMP_ETE/runTags.sh
382 -i health
383 -d ./html
384 -V /share/config/integration_robot_properties.py
385 -V /share/config/integration_preload_parameters.py
386 -V /share/config/vm_properties.py
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500387
Eric Debeau3cf9a632018-05-22 19:57:38 +0000388This test suite will execute 40 tests towards the various ONAP components.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500389
Eric Debeau5fc91322018-03-20 21:18:58 +0000390After the installation, it is possible to deploy the various use-cases
391described in `ONAP wiki - demos <https://wiki.onap.org/display/DW/Running+the+ONAP+Demos>`_.
Eric Debeau5adb1782017-11-17 20:34:11 +0000392
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500393Detect problems
394---------------
395If all the tests are not OK, many causes are possible.
396Here is a simple procedure to detect where the problem occurs:
397
398* Check the OpenStack Virtual Machine logs
Eric Debeau5fc91322018-03-20 21:18:58 +0000399* Connect to the Virtual Machine and check that the various containers are
400 running.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500401
Eric Debeau5fc91322018-03-20 21:18:58 +0000402The list of containers are described on the `ONAP wiki - containers <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
403In case some containers are missing, check the Docker logs using the following
404command:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500405
406.. code-block:: bash
407
408 sudo docker ps -a
409 sudo docker logs <containerid>
410
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500411**Portal configuration**
412========================
Eric Debeaua9634e72017-11-14 12:32:22 +0000413The current ONAP installation is using the *onap.org* domain.
Eric Debeau5fc91322018-03-20 21:18:58 +0000414To use the portal on your desktop, you must configure the following information
Rich Bennett52b5c092018-09-01 09:48:13 -0400415in your *hosts* file (located in /etc/hosts for Linux or
Eric Debeau5fc91322018-03-20 21:18:58 +0000416/windows/system32/drivers/etc/hosts for Windows):
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500417
418.. code-block:: bash
419
Eric Debeaua9634e72017-11-14 12:32:22 +0000420 <onap-policy_ip> policy.api.simpledemo.onap.org
421 <onap-portal_ip> portal.api.simpledemo.onap.org
422 <onap-sdc_ip> sdc.api.simpledemo.onap.org
423 <onap-vid_ip> vid.api.simpledemo.onap.org
424 <onap-aai-inst1_ip> aai.api.simpledemo.onap.org
425 <onap-aai-inst2_ip> aai.ui.simpledemo.onap.org
426
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500427
Eric Debeau5fc91322018-03-20 21:18:58 +0000428You can use the Horizon dashboard to get the IP addresses associated with the
429Virtual Machines or use the following command line:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500430
431.. code-block:: bash
432
433 openstack server list
434
Eric Debeau5fc91322018-03-20 21:18:58 +0000435Launch the portal on the
436http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500437
Eric Debeaua9634e72017-11-14 12:32:22 +0000438Various users are predefined as presented in the following table:
439
440 .. csv-table::
441 :header: Role, Login
442 :widths: 20, 20
443
444 Superuser,demo
445 Designer,cs0008
446 Tester,jm0007
447 Governor,gv0001
448 Ops,op0001
449
450The password is *demo123456!*
451
Eric Debeau5fc91322018-03-20 21:18:58 +0000452Go to the `Portal component user guide
453<http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500454
455Other UI documentation:
Eric Debeaua9634e72017-11-14 12:32:22 +0000456 - `CLAMP <http://onap.readthedocs.io/en/latest/submodules/clamp.git/docs/index.html>`_
Eric Debeauc0095d12017-11-15 23:58:49 +0000457 - `SDC <http://onap.readthedocs.io/en/latest/submodules/sdc.git/docs/index.html>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000458 - `UI Use-Case <http://onap.readthedocs.io/en/latest/submodules/usecase-ui.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500459
460
461**Components**
462==============
463
Eric Debeau5fc91322018-03-20 21:18:58 +0000464The list of various services and ports used can be found on the
465`ONAP wiki - services <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000466
Eric Debeau3cf9a632018-05-22 19:57:38 +0000467.. This work is licensed under a Creative Commons Attribution 4.0
468.. International License.
469.. http://creativecommons.org/licenses/by/4.0
470.. Copyright 2017-2018 ONAP
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500471
472
Eric Debeaua9634e72017-11-14 12:32:22 +0000473.. contents::