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