summaryrefslogtreecommitdiffstats
path: root/ci/README
blob: 39ed04c96800b950ed10cc804e83f5571ad88250 (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
MAAS pre requisite before deploying the solution:
=================================================

MAAS version 1.9.3 or latest should be installed and configure
from ppa:maas/stable

Please do the following once you have configure the MAAS cluster and regional
controller.

1. Create two KVM virtual machine and have it named as bootstrap.maas and
   node1.maas
2. Maually add chassis in MAAS with virsh as option and have both nodes listed
   and commionined in MAAS.
3. Have all other physical nodes added into maas by PXE boot the nodes and
   make sure node gets pxe booted through MAAS.
4. Tag all physical nodes as physical.
5. Tag bootstrap.maas as bootstrap and node1.maas as neutron and gateway.

install juju
============

add juju stable ppa by running command sudo apt-add-repository ppa:juju/stable
then run the following commands to do an juju install.

sudo apt-get update
sudo apt-get install juju

copy the environments.yaml file into ~/.juju/ directory and modify accordingly
MAAS_URL
MAAS_UUID

deploy the bundle
=================

run the following commands to clone a git repository and run the bundle.

git clone https://gerrit.opnfv.org/gerrit/joid.git

copy the environments.yaml file from ~/.juju/ to joid/ci/

# to deploy odl with mitaka in noha mode
./deploy.sh -s odl -o mitaka -t noha

# to deploy opencontail with liberty in noha mode
./deply.sh -s opencontrail -o liberty -t noha

NOTE: Wait for approximately 30-45 minutes and your openstack will be ready to use.