summaryrefslogtreecommitdiffstats
path: root/ci/intel/pod5/maas/config.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canoncial.com>2015-08-20 15:08:19 -0500
committerNarinder Gupta <narinder.gupta@canoncial.com>2015-08-26 09:35:04 -0500
commit62101c28c8245ebe97c548669c27cd2899cbfbab (patch)
tree1532976f0f1ae5247ee7b526d51d55d13ee02fb2 /ci/intel/pod5/maas/config.sh
parent4be26ea349cb89643530d3510130db2cdc133ec8 (diff)
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
Diffstat (limited to 'ci/intel/pod5/maas/config.sh')
-rw-r--r--ci/intel/pod5/maas/config.sh68
1 files changed, 68 insertions, 0 deletions
diff --git a/ci/intel/pod5/maas/config.sh b/ci/intel/pod5/maas/config.sh
new file mode 100644
index 00000000..b5190b0f
--- /dev/null
+++ b/ci/intel/pod5/maas/config.sh
@@ -0,0 +1,68 @@
+#!/bin/bash
+
+# TODO
+# run the script to configure MAASS with set of data
+MAASUSER=admin
+MAASPASS=admin
+MAASINTF="br0"
+MAASGATEWAY=10.4.0.1
+MAASDHCPIPSTART=10.4.1.50
+MAASDHCPIPEND=10.4.1.254
+MAASSTATICSTART=10.4.2.20
+MAASSTATICEND=10.4.2.254
+MAASUPSTREAMDNS=10.4.0.2
+MAASPROXY="http://10.4.1.1:8000/"
+# END
+
+export MAAS_URL="http://10.4.1.1/MAAS/"
+export APIKEY="c6tcQz4tyS3ALajCtF:sqcWhw8MkxTjUDLZrm:hBhszBLv5EqrY8h6yktFXWUT5825ShvE"
+
+# TODO
+# collect the mac address and BMC detais to add a node into MAAS.
+INTELPOD5SERV1BMCIP=10.4.2.8
+INTELPOD5SERV1MAC1="00:1e:67:e0:0a:4a"
+INTELPOD5SERV1MAC2="00:1e:67:e0:0a:4b"
+INTELPOD5SERV1MAC3="00:1e:67:d0:9a:10"
+INTELPOD5SERV1MAC4="00:1e:67:d0:9a:11"
+
+INTELPOD5SERV2BMCIP=10.4.2.9
+INTELPOD5SERV2MAC1="00:1e:67:e0:08:b0"
+INTELPOD5SERV2MAC2="00:1e:67:e0:08:b1"
+INTELPOD5SERV2MAC3="00:1e:67:d0:99:ee"
+INTELPOD5SERV2MAC4="00:1e:67:d0:99:ef"
+
+INTELPOD5SERV3BMCIP=10.4.2.7
+INTELPOD5SERV3MAC1="00:1e:67:e0:08:7e"
+INTELPOD5SERV3MAC2="00:1e:67:e0:08:7f"
+INTELPOD5SERV3MAC3="00:1e:67:c2:23:d8"
+INTELPOD5SERV3MAC4="00:1e:67:c2:23:d9"
+
+INTELPOD5SERV4BMCIP=10.4.2.10
+INTELPOD5SERV5MAC1="00:1e:67:cf:b8:92"
+INTELPOD5SERV5MAC2="00:1e:67:cf:b8:93"
+INTELPOD5SERV5MAC3="00:1e:67:d0:9b:0c"
+INTELPOD5SERV5MAC4="00:1e:67:d0:9b:0d"
+
+POWERADDRESS="qemu+ssh://user@10.4.1.1/system"
+POWERID1="bootstrap"
+POWERID2="node1"
+POWERID2="node2"
+POWERPASSWORD="Intel.123"
+
+bootstrapMAC1="52:54:00:11:d1:85"
+bootstrapMAC2="52:54:00:61:03:ae"
+
+node1MAC1="52:54:00:1f:dc:44"
+node1MAC2="52:54:00:23:e9:f9"
+
+node2MAC1="52:54:00:08:20:97"
+node2MAC2="52:54:00:af:55:38"
+
+
+# BMC username and password for power management
+INTELPOD5BMCUSERNAME=root
+INTELPOD5BMCPASS=root
+
+# END
+maas login admin $MAAS_URL $APIKEY
+#maas admin nodes list