~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/intel/pod5/maas/config.sh

  • Committer: Narinder Gupta
  • Date: 2015-08-26 14:35:04 UTC
  • Revision ID: git-v1:62101c28c8245ebe97c548669c27cd2899cbfbab
Added a script to have a openstack with odl bundle.

Crate files which will get used by CI to build and
deploy the OPNFV platform using JOID. Added script to deploy
master branch of openstack with Ubuntu with ODL.

deploy.sh will copy the appropriate deploy.sh ad deployopnfv.sh and
run the scripts.

Change-Id: Ia1fd744d36bd153def4ef6aab4643cf440e90206
JIRA:JOID-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# TODO
 
4
# run the script to configure MAASS with set of data
 
5
MAASUSER=admin
 
6
MAASPASS=admin
 
7
MAASINTF="br0"
 
8
MAASGATEWAY=10.4.0.1
 
9
MAASDHCPIPSTART=10.4.1.50
 
10
MAASDHCPIPEND=10.4.1.254
 
11
MAASSTATICSTART=10.4.2.20
 
12
MAASSTATICEND=10.4.2.254
 
13
MAASUPSTREAMDNS=10.4.0.2
 
14
MAASPROXY="http://10.4.1.1:8000/"
 
15
# END
 
16
 
 
17
export MAAS_URL="http://10.4.1.1/MAAS/"
 
18
export APIKEY="c6tcQz4tyS3ALajCtF:sqcWhw8MkxTjUDLZrm:hBhszBLv5EqrY8h6yktFXWUT5825ShvE"
 
19
 
 
20
# TODO
 
21
# collect the mac address and BMC detais to add a node into MAAS.
 
22
INTELPOD5SERV1BMCIP=10.4.2.8
 
23
INTELPOD5SERV1MAC1="00:1e:67:e0:0a:4a"
 
24
INTELPOD5SERV1MAC2="00:1e:67:e0:0a:4b"
 
25
INTELPOD5SERV1MAC3="00:1e:67:d0:9a:10"
 
26
INTELPOD5SERV1MAC4="00:1e:67:d0:9a:11"
 
27
 
 
28
INTELPOD5SERV2BMCIP=10.4.2.9
 
29
INTELPOD5SERV2MAC1="00:1e:67:e0:08:b0"
 
30
INTELPOD5SERV2MAC2="00:1e:67:e0:08:b1"
 
31
INTELPOD5SERV2MAC3="00:1e:67:d0:99:ee"
 
32
INTELPOD5SERV2MAC4="00:1e:67:d0:99:ef"
 
33
 
 
34
INTELPOD5SERV3BMCIP=10.4.2.7
 
35
INTELPOD5SERV3MAC1="00:1e:67:e0:08:7e"
 
36
INTELPOD5SERV3MAC2="00:1e:67:e0:08:7f"
 
37
INTELPOD5SERV3MAC3="00:1e:67:c2:23:d8"
 
38
INTELPOD5SERV3MAC4="00:1e:67:c2:23:d9"
 
39
 
 
40
INTELPOD5SERV4BMCIP=10.4.2.10
 
41
INTELPOD5SERV5MAC1="00:1e:67:cf:b8:92"
 
42
INTELPOD5SERV5MAC2="00:1e:67:cf:b8:93"
 
43
INTELPOD5SERV5MAC3="00:1e:67:d0:9b:0c"
 
44
INTELPOD5SERV5MAC4="00:1e:67:d0:9b:0d"
 
45
 
 
46
POWERADDRESS="qemu+ssh://user@10.4.1.1/system"
 
47
POWERID1="bootstrap"
 
48
POWERID2="node1"
 
49
POWERID2="node2"
 
50
POWERPASSWORD="Intel.123"
 
51
 
 
52
bootstrapMAC1="52:54:00:11:d1:85"
 
53
bootstrapMAC2="52:54:00:61:03:ae"
 
54
 
 
55
node1MAC1="52:54:00:1f:dc:44"
 
56
node1MAC2="52:54:00:23:e9:f9"
 
57
 
 
58
node2MAC1="52:54:00:08:20:97"
 
59
node2MAC2="52:54:00:af:55:38"
 
60
 
 
61
 
 
62
# BMC username and password for power management
 
63
INTELPOD5BMCUSERNAME=root
 
64
INTELPOD5BMCPASS=root
 
65
 
 
66
# END
 
67
maas login admin $MAAS_URL $APIKEY
 
68
#maas admin nodes list