blob: afbbd6bf8ab8d8013ae82badd8cce730cb24981f [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 Bennetta4cf27d2017-11-12 23:11:28 -050013
Eric Debeau3cf9a632018-05-22 19:57:38 +000014===============================================
15**Setting Up Full ONAP using Virtual Machines**
16===============================================
Rich Bennetta4cf27d2017-11-12 23:11:28 -050017
18.. _demo-installing-running-onap:
19
20**Context**
21===========
Eric Debeau5fc91322018-03-20 21:18:58 +000022ONAP may be deployed in different contexts depending on your requirements.
23The recommended installation for Beijng Release over virtual machines is based
24on OpenStack HEAT Template.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050025
Eric Debeau5fc91322018-03-20 21:18:58 +000026The VNFs managed by ONAP may be deployed in different OpenStack tenants or
27based on top of VMware based infrastructure. For details, refer
28:ref:`to MultiCloud project<index-multicloud>`.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050029
Eric Debeau5fc91322018-03-20 21:18:58 +000030The current installation is based on the single tenant deployment (all the ONAP
Eric Debeau3cf9a632018-05-22 19:57:38 +000031components will be hosted in a unique tenant).
Eric Debeau5adb1782017-11-17 20:34:11 +000032
Gildas Lanilisc10c7c92017-11-21 11:50:18 -080033.. _demo-installing-running-onap-requirements:
34
Rich Bennetta4cf27d2017-11-12 23:11:28 -050035**Requirements**
36================
37
38OpenStack
39---------
Eric Debeau5fc91322018-03-20 21:18:58 +000040ONAP installation is validated on
41`OpenStack Ocata <https://releases.openstack.org/ocata/>`_ or latter release.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050042
Eric Debeau5fc91322018-03-20 21:18:58 +000043You can use various Cloud providers offering OpenStack based solutions.
44A list of available Cloud providers on the
45`OpenStack marketplace <https://www.openstack.org/marketplace/public-clouds/>`_.
Eric Debeauc0095d12017-11-15 23:58:49 +000046
47You can use your private Cloud infrastructure.
48
49The following OpenStack components must be deployed in the infrastructure:
Rich Bennetta4cf27d2017-11-12 23:11:28 -050050 - *Cinder*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050051 - *Glance*
Eric Debeaua9634e72017-11-14 12:32:22 +000052 - *Heat*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050053 - *Horizon*
54 - *Keystone*
Eric Debeaua9634e72017-11-14 12:32:22 +000055 - *Neutron*
56 - *Nova*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050057
Eric Debeaua9634e72017-11-14 12:32:22 +000058To deploy OpenStack, you can use various solutions:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010059 - `OpenStack installation guide <https://docs.openstack.org/install-guide/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050060 - `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 +010061 - `OpenStack Ocata installation guide <https://docs.openstack.org/ocata/install/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050062
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010063.. tip::
Eric Debeau5fc91322018-03-20 21:18:58 +000064 - Notice the documentation version mentioned in the URL, e.g. ocata/, pike/,
65 latest/ ...
66 - The installation is pretty huge, some automated scripts have been created by
67 the community:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010068
69 - `OpenStack installation with Ansible (All openstack services) <https://docs.openstack.org/openstack-ansible/latest/>`_
Eric Debeau5fc91322018-03-20 21:18:58 +000070 - `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 +010071
Eric Debeau5fc91322018-03-20 21:18:58 +000072The OpenStack infrastructure must enable internet access and you need to have
73an "External network" already configured properly.
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010074The External network ID will have to be provided in the Heat environment file.
Eric Debeaua9634e72017-11-14 12:32:22 +000075
76ONAP components
77---------------
Eric Debeau5fc91322018-03-20 21:18:58 +000078The following table presents the mapping between the created VM and the ONAP
79components, and provides VM information (flavor and image):
Eric Debeaua9634e72017-11-14 12:32:22 +000080
81 =================== ================= ======= ============
82 VM name ONAP project(s) Flavor Image
83 =================== ================= ======= ============
84 onap-aai-inst1 AAI xlarge Ubuntu 14.04
85 onap-aai-inst2 AAI/UI xlarge Ubuntu 14.04
86 onap-appc APPC, CCSDK large Ubuntu 14.04
87 onap-clamp CLAMP medium Ubuntu 16.04
88 onap-dns-server *Internal DNS* small Ubuntu 14.04
89 onap-message-router DMAAP large Ubuntu 14.04
Eric Debeau3cf9a632018-05-22 19:57:38 +000090 onap-multi-service MSB, VF-C, VNFSDK xlarge Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +000091 onap-policy Policy xlarge Ubuntu 14.04
92 onap-portal Portal, CLI large Ubuntu 14.04
93 onap-robot Integration medium Ubuntu 16.04
94 onap-sdc SDC xlarge Ubuntu 16.04
95 onap-sdnc SDNC, CCSDK large Ubuntu 14.04
96 onap-so SO large Ubuntu 16.04
97 onap-vid VID medium Ubuntu 14.04
Eric Debeaub1726b52018-05-23 09:08:53 +000098 onap-dcae DCAE, Holmes xlarge Ubuntu 16.04
Eric Debeau3cf9a632018-05-22 19:57:38 +000099 onap-music Music large Ubuntu 14.04
100 onap-oof OOF large Ubuntu 16.04
101 onap-aaf AAF medium Ubuntu 16.04
102 onap-sms AAF medium Ubuntu 16.04
103 onap-nbi External API small Ubuntu 16.04
Eric Debeaua9634e72017-11-14 12:32:22 +0000104 =================== ================= ======= ============
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500105
106Footprint
107---------
108The ONAP installation requires the following footprint:
Eric Debeau3cf9a632018-05-22 19:57:38 +0000109 - 20 VM
110 - 88 vCPU
111 - 176 GB RAM
112 - 1.76 TB Storage
113 - 20 floating IP addresses
Eric Debeaua9634e72017-11-14 12:32:22 +0000114
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800115.. Note: You should also reserve some resources for the VNFs to be deployed.
Eric Debeaua9634e72017-11-14 12:32:22 +0000116
117Artifacts
118---------
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800119The following artifacts must be deployed on the OpenStack infrastructure:
Eric Debeaua9634e72017-11-14 12:32:22 +0000120 - a public SSH key to access the various VM
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100121 - Ubuntu 14.04 image (https://cloud-images.ubuntu.com/releases/14.04/14.04/)
122 - Ubuntu 16.04 image (https://cloud-images.ubuntu.com/releases/16.04/release/)
Eric Debeau3cf9a632018-05-22 19:57:38 +0000123 - Set of flavors: small, medium, large, xlarge
Eric Debeaua9634e72017-11-14 12:32:22 +0000124
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800125.. Note: The floating IP may be private IP.
Eric Debeaua9634e72017-11-14 12:32:22 +0000126
Eric Debeau5fc91322018-03-20 21:18:58 +0000127.. Note: Basic flavors can reuse the default flavors as defined by
128 OpenStack
129 <https://docs.openstack.org/horizon/latest/admin/manage-flavors.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500130
131Security
132--------
Eric Debeau5fc91322018-03-20 21:18:58 +0000133The default installation assumes that the Default security group is configured
134to enable full access between the ONAP components.
135Depending on your environment, we may need to open some security groups
136(eg when using the portal from your desktop).
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500137
Eric Debeau5fc91322018-03-20 21:18:58 +0000138The list of various services and ports used can be found on the
139`ONAP wiki - ports <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500140
141**Deployment**
142==============
143
Eric Debeauc0095d12017-11-15 23:58:49 +0000144Source files
145------------
146
Eric Debeau5fc91322018-03-20 21:18:58 +0000147Both following files must be downloaded and configured to match your
148configuration:
Eric Debeau5adb1782017-11-17 20:34:11 +0000149
Eric Debeau5fc91322018-03-20 21:18:58 +0000150- Template file:
151 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml
152- Environment file:
153 https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env
Eric Debeauc0095d12017-11-15 23:58:49 +0000154
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800155The environment file must be customized as described in the following sections.
Eric Debeau5adb1782017-11-17 20:34:11 +0000156
Eric Debeau5fc91322018-03-20 21:18:58 +0000157.. Note Beijing release files
Eric Debeau5adb1782017-11-17 20:34:11 +0000158
Eric Debeauc0095d12017-11-15 23:58:49 +0000159Description
160-----------
161
Eric Debeau3cf9a632018-05-22 19:57:38 +0000162The ONAP Heat template spins up all the components including the DCAE.
Eric Debeau5fc91322018-03-20 21:18:58 +0000163The template, onap_openstack.yaml, comes with an environment file,
Eric Debeauc0095d12017-11-15 23:58:49 +0000164onap_openstack.env, in which all the default values are defined.
165
Eric Debeau3cf9a632018-05-22 19:57:38 +0000166The Heat template is composed of two sections: (i) parameters, and (ii)
Eric Debeauc0095d12017-11-15 23:58:49 +0000167resources.
168The parameter section contains the declaration and
169description of the parameters that will be used to spin up ONAP, such as
170public network identifier, URLs of code and artifacts repositories, etc.
171The default values of these parameters can be found in the environment
172file.
173
174The resource section contains the definition of:
175
Eric Debeau5fc91322018-03-20 21:18:58 +0000176- ONAP Private Management Network, which ONAP components use to communicate
177 with each other and with VNFs
Eric Debeauc0095d12017-11-15 23:58:49 +0000178- ONAP Virtual Machines (VMs)
Eric Debeaub1726b52018-05-23 09:08:53 +0000179- Public key pair used to access ONAP VMs
Eric Debeauc0095d12017-11-15 23:58:49 +0000180- Virtual interfaces towards the ONAP Private Management Network
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800181- Disk volumes
Eric Debeauc0095d12017-11-15 23:58:49 +0000182
183Each VM specification includes Operating System image name, VM size
184(i.e. flavor), VM name, etc. Each VM has two virtual network interfaces:
185one towards the public network and one towards the ONAP Private
186Management network, as described above. Furthermore, each VM runs a
187post-instantiation script that downloads and installs software
188dependencies (e.g. Java JDK, gcc, make, Python, ...) and ONAP software
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800189packages and Docker containers from remote repositories.
Eric Debeauc0095d12017-11-15 23:58:49 +0000190
Eric Debeau3cf9a632018-05-22 19:57:38 +0000191When the Heat template is executed, the OpenStack Heat engine creates
192the resources defined in the Heat template, based on the parameters
Eric Debeauc0095d12017-11-15 23:58:49 +0000193values defined in the environment file.
194
195Environment file
196----------------
197
Eric Debeau3cf9a632018-05-22 19:57:38 +0000198Before running Heat, it is necessary to customize the environment file.
Eric Debeauc0095d12017-11-15 23:58:49 +0000199Indeed, some parameters, namely public_net_id, pub_key,
200openstack_tenant_id, openstack_username, and openstack_api_key,
201need to be set depending on the user's environment:
202
203**Global parameters**
204
205::
206
207 public_net_id: PUT YOUR NETWORK ID/NAME HERE
208 pub_key: PUT YOUR PUBLIC KEY HERE
209 openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
210 openstack_username: PUT YOUR OPENSTACK USERNAME HERE
211 openstack_api_key: PUT YOUR OPENSTACK PASSWORD HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000212 keystone_url: PUT THE KEYSTONE URL HERE (do not include version number)
213
214openstack_region parameter is set to RegionOne (OpenStack default). If
215your OpenStack is using another Region, please modify this parameter.
216
217public_net_id is the unique identifier (UUID) or name of the public
218network of the cloud provider. To get the public_net_id, use the
219following OpenStack CLI command (ext is the name of the external
220network, change it with the name of the external network of your
221installation)
222
223::
224
225 openstack network list | grep ext | awk '{print $2}'
226
227pub_key is string value of the public key that will be installed in
228each ONAP VM. To create a public/private key pair in Linux, please
229execute the following instruction:
230
231::
232
233 user@ubuntu:~$ ssh-keygen -t rsa
234
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800235The following operations create the public/private key pair:
Eric Debeauc0095d12017-11-15 23:58:49 +0000236
237::
238
239 Generating public/private rsa key pair.
240 Enter file in which to save the key (/home/user/.ssh/id_rsa):
241 Created directory '/home/user/.ssh'.
242 Enter passphrase (empty for no passphrase):
243 Enter same passphrase again:
244 Your identification has been saved in /home/user/.ssh/id_rsa.
245 Your public key has been saved in /home/user/.ssh/id_rsa.pub.
246
247openstack_username, openstack_tenant_id (password), and
248openstack_api_key are user's credentials to access the
249OpenStack-based cloud.
250
251**Images and flavors parameters**
252
253::
254
Eric Debeau5fc91322018-03-20 21:18:58 +0000255 ubuntu_1404_image: PUT THE UBUNTU 14.04 IMAGE NAME HERE
256 ubuntu_1604_image: PUT THE UBUNTU 16.04 IMAGE NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000257 flavor_small: PUT THE SMALL FLAVOR NAME HERE
258 flavor_medium: PUT THE MEDIUM FLAVOR NAME HERE
259 flavor_large: PUT THE LARGE FLAVOR NAME HERE
260 flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000261
262To get the images in your OpenStack environment, use the following
263OpenStack CLI command:
264
265::
266
267 openstack image list | grep 'ubuntu'
268
269To get the flavor names used in your OpenStack environment, use the
270following OpenStack CLI command:
271
272::
273
274 openstack flavor list
275
276**Network parameters**
277
278::
279
Eric Debeau3cf9a632018-05-22 19:57:38 +0000280 dns_list: PUT THE ADDRESS OF THE EXTERNAL DNS HERE (e.g. a comma-separated list
281 of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems)
Eric Debeau5fc91322018-03-20 21:18:58 +0000282 external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000283 dns_forwarder: PUT THE IP OF DNS FORWARDER FOR ONAP DEPLOYMENT'S OWN DNS SERVER
284 oam_network_cidr: 10.0.0.0/16
285
Eric Debeau5fc91322018-03-20 21:18:58 +0000286You can use the Google Public DNS 8.8.8.8 and 4.4.4.4 address or your internal
287DNS servers.
Eric Debeauc0095d12017-11-15 23:58:49 +0000288
Eric Debeau5fc91322018-03-20 21:18:58 +0000289ONAP installs a DNS server used to resolve IP addresses in the ONAP OAM private
290network.
Eric Debeauc0095d12017-11-15 23:58:49 +0000291
292**DCAE Parameters**
293
Eric Debeau3cf9a632018-05-22 19:57:38 +0000294For Beijing Release, all the DCAE components are deployed in a single
295virtual machine.
296You must specify R2 to run R2 DCAE components.
297Is you are using R1 to get R1 ONAP, you must fill all the other
298DCAE parameters.
299Please refer to the Amsterdam documentation to fill these parameters.
Eric Debeauc0095d12017-11-15 23:58:49 +0000300::
301
Eric Debeau3cf9a632018-05-22 19:57:38 +0000302 dcae_deployment_profile: PUT DCAE DEPLOYMENT PROFILE (R1, R2MVP, R2, or R2PLUS)
Eric Debeauc0095d12017-11-15 23:58:49 +0000303
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500304Instantiation
305-------------
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500306
Eric Debeauc0095d12017-11-15 23:58:49 +0000307The ONAP platform can be instantiated via Horizon (OpenStack dashboard)
308or Command Line.
309
310**Instantiation via Horizon:**
311
312- Login to Horizon URL with your personal credentials
313- Click "Stacks" from the "Orchestration" menu
314- Click "Launch Stack"
Eric Debeaub1726b52018-05-23 09:08:53 +0000315- Paste or manually upload the Heat template file (onap_openstack.yaml) in the
Eric Debeau5fc91322018-03-20 21:18:58 +0000316 "Template Source" form
Eric Debeaub1726b52018-05-23 09:08:53 +0000317- Paste or manually upload the Heat environment file (onap_openstack.env) in
Eric Debeau5fc91322018-03-20 21:18:58 +0000318 the "Environment Source" form
Eric Debeauc0095d12017-11-15 23:58:49 +0000319- Click "Next" - Specify a name in the "Stack Name" form
320- Provide the password in the "Password" form
321- Click "Launch"
322
323**Instantiation via Command Line:**
324
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100325- You need to have the OpenStack Heat service installed:
Eric Debeauc0095d12017-11-15 23:58:49 +0000326
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100327- Create a file (named i.e. ~/openstack/openrc) that sets all the
328 environmental variables required to access your OpenStack tenant:
Eric Debeauc0095d12017-11-15 23:58:49 +0000329
330::
331
332 export OS_AUTH_URL=INSERT THE AUTH URL HERE
333 export OS_USERNAME=INSERT YOUR USERNAME HERE
334 export OS_TENANT_ID=INSERT YOUR TENANT ID HERE
335 export OS_REGION_NAME=INSERT THE REGION HERE
336 export OS_PASSWORD=INSERT YOUR PASSWORD HERE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100337 export OS_USER_DOMAIN_NAME=INSERT YOUR DOMAIN HERE
338 export OS_PROJECT_NAME=INSERT YOUR PROJECT NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000339
340- Run the script from command line:
341
342::
343
344 source ~/openstack/openrc
345
346- In order to install the ONAP platform, type:
347
348::
349
Eric Debeau3cf9a632018-05-22 19:57:38 +0000350 # Old Heat client
351
352::
353
Eric Debeau5fc91322018-03-20 21:18:58 +0000354 heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE)
355 -e PATH_TO_ENV_FILE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100356
357 OR
358
Eric Debeau3cf9a632018-05-22 19:57:38 +0000359::
360
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100361 # New OpenStack client
Eric Debeau5fc91322018-03-20 21:18:58 +0000362 openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE)
363 -e PATH_TO_ENV_FILE STACK_NAME
Eric Debeauc0095d12017-11-15 23:58:49 +0000364
365
Eric Debeau3cf9a632018-05-22 19:57:38 +0000366.. Note The Heat template deployment may take time (up to one hour)
Eric Debeau5fc91322018-03-20 21:18:58 +0000367 depending on your hardware environment.
Eric Debeauc0095d12017-11-15 23:58:49 +0000368
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500369Test the installation
370---------------------
Eric Debeau5fc91322018-03-20 21:18:58 +0000371Every ONAP component offers a HealthCheck REST API. The Robot Virtual Machine
372(*onap-robot*) can be used to test that every components run smoothly.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500373Run the following command to perform the HealthCheck:
374
375.. code-block:: bash
376
Eric Debeau5fc91322018-03-20 21:18:58 +0000377 docker exec -it openecompete_container /var/opt/OpenECOMP_ETE/runTags.sh
378 -i health
379 -d ./html
380 -V /share/config/integration_robot_properties.py
381 -V /share/config/integration_preload_parameters.py
382 -V /share/config/vm_properties.py
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500383
Eric Debeau3cf9a632018-05-22 19:57:38 +0000384This test suite will execute 40 tests towards the various ONAP components.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500385
Eric Debeau5fc91322018-03-20 21:18:58 +0000386After the installation, it is possible to deploy the various use-cases
387described in `ONAP wiki - demos <https://wiki.onap.org/display/DW/Running+the+ONAP+Demos>`_.
Eric Debeau5adb1782017-11-17 20:34:11 +0000388
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500389Detect problems
390---------------
391If all the tests are not OK, many causes are possible.
392Here is a simple procedure to detect where the problem occurs:
393
394* Check the OpenStack Virtual Machine logs
Eric Debeau5fc91322018-03-20 21:18:58 +0000395* Connect to the Virtual Machine and check that the various containers are
396 running.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500397
Eric Debeau5fc91322018-03-20 21:18:58 +0000398The list of containers are described on the `ONAP wiki - containers <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
399In case some containers are missing, check the Docker logs using the following
400command:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500401
402.. code-block:: bash
403
404 sudo docker ps -a
405 sudo docker logs <containerid>
406
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500407**Portal configuration**
408========================
Eric Debeaua9634e72017-11-14 12:32:22 +0000409The current ONAP installation is using the *onap.org* domain.
Eric Debeau5fc91322018-03-20 21:18:58 +0000410To use the portal on your desktop, you must configure the following information
necuser5232e6e2018-07-19 12:28:06 +0530411in your *host* file (located in /etc/hosts for Linux or
Eric Debeau5fc91322018-03-20 21:18:58 +0000412/windows/system32/drivers/etc/hosts for Windows):
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500413
414.. code-block:: bash
415
Eric Debeaua9634e72017-11-14 12:32:22 +0000416 <onap-policy_ip> policy.api.simpledemo.onap.org
417 <onap-portal_ip> portal.api.simpledemo.onap.org
418 <onap-sdc_ip> sdc.api.simpledemo.onap.org
419 <onap-vid_ip> vid.api.simpledemo.onap.org
420 <onap-aai-inst1_ip> aai.api.simpledemo.onap.org
421 <onap-aai-inst2_ip> aai.ui.simpledemo.onap.org
422
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500423
Eric Debeau5fc91322018-03-20 21:18:58 +0000424You can use the Horizon dashboard to get the IP addresses associated with the
425Virtual Machines or use the following command line:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500426
427.. code-block:: bash
428
429 openstack server list
430
Eric Debeau5fc91322018-03-20 21:18:58 +0000431Launch the portal on the
432http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500433
Eric Debeaua9634e72017-11-14 12:32:22 +0000434Various users are predefined as presented in the following table:
435
436 .. csv-table::
437 :header: Role, Login
438 :widths: 20, 20
439
440 Superuser,demo
441 Designer,cs0008
442 Tester,jm0007
443 Governor,gv0001
444 Ops,op0001
445
446The password is *demo123456!*
447
Eric Debeau5fc91322018-03-20 21:18:58 +0000448Go to the `Portal component user guide
449<http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500450
451Other UI documentation:
Eric Debeaua9634e72017-11-14 12:32:22 +0000452 - `CLAMP <http://onap.readthedocs.io/en/latest/submodules/clamp.git/docs/index.html>`_
Eric Debeauc0095d12017-11-15 23:58:49 +0000453 - `SDC <http://onap.readthedocs.io/en/latest/submodules/sdc.git/docs/index.html>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000454 - `UI Use-Case <http://onap.readthedocs.io/en/latest/submodules/usecase-ui.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500455
456
457**Components**
458==============
459
Eric Debeau5fc91322018-03-20 21:18:58 +0000460The list of various services and ports used can be found on the
461`ONAP wiki - services <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000462
Eric Debeau3cf9a632018-05-22 19:57:38 +0000463.. This work is licensed under a Creative Commons Attribution 4.0
464.. International License.
465.. http://creativecommons.org/licenses/by/4.0
466.. Copyright 2017-2018 ONAP
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500467
468
Eric Debeaua9634e72017-11-14 12:32:22 +0000469.. contents::