aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release/installation/installation.instructions.rst
blob: 2e6fa2e0371518bd8484fed176d753ce77605061 (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
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

===================
Domino Installation
===================

Note: The steps below are tested for Ubuntu (16.04, 14.04) and OS X El Capitan.

Prerequisites
-------------
* git
* python-pip
* python (version =2.7)
* tosca-parser (version >=0.4.0)
* heat-translator (version >=0.5.0)

Installation Steps (Single Node)
--------------------------------

* Step-0: Prepare Environment

.. code-block:: bash

  > $sudo pip install tosca-parser
  > $sudo pip install heat-translator
  > $sudo pip install requests

* Step-1: Get the Domino code

.. code-block:: bash

  git clone https://gerrit.opnfv.org/gerrit/domino -b stable/danube

* Step-2: Go to the main domino directory

.. code-block:: bash

  cd domino

You should see DominoClient.py, DominoServer.py, and domino-cli.py as executables.

Installation Steps (Multiple Node)
----------------------------------

Repeat the installation steps for single node on each node. The script
run_on_remotenodes.sh under ./domino/tests directory deploys the Domino Code on three
hosts from a deployment node and tests RPC calls. In the script, the private key location and
remote host IP addresses must be manually entered. IS_IPandKEY_CONFIGURED should be
set true, i.e., IS_IPandKEY_CONFIGURED=true.