X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Fmininet-ovs-2.5.sh;h=7cbab296ab9cee1c07585a76dd5797c42693b4e1;hb=4e1a100fa7b43f32be3fd526d5bf12e666734817;hp=90258f4e42b644b0f0c1c9ca52cd9ac6a668dc3a;hpb=b17f2dc375ed2ecb17cb2bc5b6f9cab1b9130e13;p=releng%2Fbuilder.git diff --git a/packer/provision/mininet-ovs-2.5.sh b/packer/provision/mininet-ovs-2.5.sh index 90258f4e4..7cbab296a 100644 --- a/packer/provision/mininet-ovs-2.5.sh +++ b/packer/provision/mininet-ovs-2.5.sh @@ -19,6 +19,12 @@ echo '---> Install OpenVSwitch 2.5.0' apt-get update -m apt-get install openvswitch-switch openvswitch-vtep +# Temporary workaround required to bring up OVS +# post-install without which OVS daemon exits. +service openvswitch-switch restart +# Verify the OVS service status +service openvswitch-switch status + echo '---> Installing mininet' apt-get install mininet @@ -39,24 +45,8 @@ cp cbench /usr/local/bin/ echo '---> Installing exabgp' apt-get install exabgp -echo '---> All Python package installation should happen in virtualenv' -apt-get install python-virtualenv python-pip - # Install vlan for vlan based tests in VTN suites apt-get install vlan # Install netaddr package which is needed by some custom mininet topologies apt-get install python-netaddr - -#Check out 6Wind quagga with tag name '20170418', 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 20170418 -chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t -v 2 - -# Removing the build_quagga folder -rm -rf /tmp/build_quagga/