3 # vim: sw=4 ts=4 sts=4 et tw=72 :
5 # force any errors to cause the script and job to end in failure
8 # Ensure that necessary variables are set to enable noninteractive mode in
10 export DEBIAN_FRONTEND=noninteractive
12 # To handle the prompt style that is expected all over the environment
13 # with how use use robotframework we need to make sure that it is
14 # consistent for any of the users that are created during dynamic spin
16 echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc
18 echo '---> Install OpenVSwitch 2.5.0'
19 add-apt-repository -y ppa:sgauthier/openvswitch-dpdk
20 apt-get update -y --force-yes
21 apt-get install -y --force-yes openvswitch-switch openvswitch-vtep
23 echo '---> Installing mininet 2.2.1'
24 git clone git://github.com/mininet/mininet
26 git checkout -b 2.2.1 2.2.1
28 mininet/util/install.sh -nf
30 echo '---> Installing MT-Cbench'
31 apt-get install -y --force-yes build-essential snmp libsnmp-dev snmpd libpcap-dev \
32 autoconf make automake libtool libconfig-dev libssl-dev libffi-dev libssl-doc pkg-config
33 git clone https://github.com/intracom-telecom-sdn/mtcbench.git
34 mtcbench/build_mtcbench.sh
35 cp mtcbench/oflops/cbench/cbench /usr/local/bin/
37 echo '---> Installing exabgp'
38 apt-get install -y --force-yes exabgp
40 echo '---> All Python package installation should happen in virtualenv'
41 apt-get install -y --force-yes python-virtualenv python-pip