Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (19 sloc) 764 Bytes
#!/bin/bash
apt-get update -y
apt-get install -y software-properties-common
add-apt-repository -y ppa:openjdk-r/ppa
apt-get update -y
apt-get install -y openjdk-8-jdk git
# Mininet installation
git clone https://github.com/mininet/mininet
bash mininet/util/install.sh
# ODL Installation
odl_release=0.6.0-Carbon
odl_distribution=distribution-karaf
wget https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/$odl_distribution/$odl_release/$odl_distribution-$odl_release.tar.gz
tar xvf $odl_distribution-$odl_release.tar.gz
cd $odl_distribution-$odl_release
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre
./bin/start
sleep 180
./bin/client feature:install odl-dlux-core odl-dluxapps-topology odl-restconf odl-l2switch-switch