X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=packer%2Fprovision%2Fmininet-ovs-2.5.sh;h=5e7274335d156302acdb4c634ff6ff1575648a24;hb=a70a6aa4295a49f2fa018deed83db572e70d393e;hp=1702c8fe2cd5b015b1bf03bd748f8843bef43393;hpb=4c795879a60c04e5083cc1fe94fbfa4516017201;p=releng%2Fbuilder.git diff --git a/packer/provision/mininet-ovs-2.5.sh b/packer/provision/mininet-ovs-2.5.sh index 1702c8fe2..5e7274335 100644 --- a/packer/provision/mininet-ovs-2.5.sh +++ b/packer/provision/mininet-ovs-2.5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # vim: sw=4 ts=4 sts=4 et tw=72 : @@ -15,16 +15,15 @@ export DEBIAN_FRONTEND=noninteractive # ups echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc -# remove all force-yes with --allow* echo '---> Install OpenVSwitch 2.5.0' -apt-get update -y --force-yes -apt-get install -y --force-yes openvswitch-switch openvswitch-vtep +apt-get update -m +apt-get install openvswitch-switch openvswitch-vtep echo '---> Installing mininet' -apt-get install -y --force-yes mininet +apt-get install mininet echo '---> Installing build pre-requisites' -apt-get install -y --force-yes build-essential snmp libsnmp-dev snmpd libpcap-dev \ +apt-get install build-essential snmp libsnmp-dev snmpd libpcap-dev \ autoconf make automake libtool libconfig-dev libssl-dev libffi-dev libssl-doc pkg-config git clone https://github.com/intracom-telecom-sdn/mtcbench.git @@ -38,13 +37,23 @@ make cp cbench /usr/local/bin/ echo '---> Installing exabgp' -apt-get install -y --force-yes exabgp - -echo '---> All Python package installation should happen in virtualenv' -apt-get install -y --force-yes python-virtualenv python-pip +apt-get install exabgp # Install vlan for vlan based tests in VTN suites -apt-get install -y --force-yes -qq vlan +apt-get install vlan # Install netaddr package which is needed by some custom mininet topologies -apt-get install -y --force-yes -qq python-netaddr +apt-get install python-netaddr + +# Check out quagga , compile and install for router functionalities +echo "Installing the Quagga..." +mkdir -p /tmp/build_quagga +cd /tmp/build_quagga +git clone https://github.com/6WIND/zrpcd.git +cd zrpcd +git checkout 20170731 +chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh +/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t + +# Removing the build_quagga folder +rm -rf /tmp/build_quagga/