Merge "Auto Generated INFO.yaml file"
[joid.git] / ci / README
1 MAAS pre requisite before deploying the solution:
2 =================================================
3
4 MAAS version 1.9.3 or latest should be installed and configure
5 from ppa:maas/stable
6
7 Please do the following once you have configure the MAAS cluster and regional
8 controller.
9
10 1. Create two KVM virtual machine and have it named as bootstrap.maas and
11    node1.maas
12 2. Maually add chassis in MAAS with virsh as option and have both nodes listed
13    and commionined in MAAS.
14 3. Have all other physical nodes added into maas by PXE boot the nodes and
15    make sure node gets pxe booted through MAAS.
16 4. Tag all physical nodes as physical.
17 5. Tag bootstrap.maas as bootstrap and node1.maas as neutron and gateway.
18
19 install juju
20 ============
21
22 add juju stable ppa by running command sudo apt-add-repository ppa:juju/stable
23 then run the following commands to do an juju install.
24
25 sudo apt-get update
26 sudo apt-get install juju
27
28 copy the environments.yaml file into ~/.juju/ directory and modify accordingly
29 MAAS_URL
30 MAAS_UUID
31
32 deploy the bundle
33 =================
34
35 run the following commands to clone a git repository and run the bundle.
36
37 git clone https://gerrit.opnfv.org/gerrit/joid.git
38
39 copy the environments.yaml file from ~/.juju/ to joid/ci/
40
41 # to deploy odl with mitaka in noha mode
42 ./deploy.sh -s odl -o mitaka -t noha
43
44 # to deploy opencontail with liberty in noha mode
45 ./deply.sh -s opencontrail -o liberty -t noha
46
47 NOTE: Wait for approximately 30-45 minutes and your openstack will be ready to use.
48