X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2Fovercloud-opendaylight.sh;h=af65910e04acedf53e0bd1a9797fab6cabb12e85;hb=c552a3c5b0c1c34293930fef8525057fc519a457;hp=3e403bbc8217419ec87eede334c5d7125b16890a;hpb=605514ba7d4d1d251aaae7018589629cd6e2a1c7;p=apex.git diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh index 3e403bbc..af65910e 100755 --- a/build/overcloud-opendaylight.sh +++ b/build/overcloud-opendaylight.sh @@ -18,6 +18,13 @@ cp -f overcloud-full.qcow2 overcloud-full-opendaylight_build.qcow2 ##### Adding OpenDaylight to overcloud ##### ############################################### +# tar up fdio networking-odl +rm -rf fds +git clone https://gerrit.opnfv.org/gerrit/fds +pushd fds > /dev/null +tar -czvf ../networking-odl.tar.gz networking-odl +popd > /dev/null + # Beryllium Repo cat > /tmp/opendaylight.repo << EOF [opendaylight-4-release] @@ -39,10 +46,15 @@ EOF # SDNVPN - Copy tunnel setup script wget https://raw.githubusercontent.com/openstack/fuel-plugin-opendaylight/brahmaputra-sr2/deployment_scripts/puppet/modules/opendaylight/templates/setup_TEPs.py +# Honeycomb RPM +wget $fdio_uri_base/$honeycomb_pkg + # install ODL packages # install Jolokia for ODL HA # Patch in OPNFV custom puppet-tripleO +# install Honeycomb LIBGUESTFS_BACKEND=direct virt-customize \ + --upload networking-odl.tar.gz:/root/ \ --upload /tmp/opendaylight_boron.repo:/etc/yum.repos.d/opendaylight.repo \ --run-command "yum install --downloadonly --downloaddir=/root/boron/ opendaylight" \ --upload /tmp/opendaylight.repo:/etc/yum.repos.d/opendaylight.repo \ @@ -50,6 +62,8 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --install https://github.com/michaeltchapman/networking_rpm/raw/master/openstack-neutron-bgpvpn-2015.2-1.el7.centos.noarch.rpm \ --run-command "wget https://github.com/rhuss/jolokia/releases/download/v1.3.3/jolokia-1.3.3-bin.tar.gz -O /tmp/jolokia-1.3.3-bin.tar.gz" \ --run-command "tar -xvf /tmp/jolokia-1.3.3-bin.tar.gz -C /opt/opendaylight/system/org" \ + --upload $honeycomb_pkg:/root/ \ + --run-command "yum -y install /root/$honeycomb_pkg" \ --upload ./setup_TEPs.py:/tmp \ -a overcloud-full-opendaylight_build.qcow2