blob: d8f3709b7fb93253a045e39dc35544bffc4e2168 [file] [log] [blame]
Carmelo Casconed6615072017-12-15 00:53:43 -08001#!/bin/bash
2set -xe
3
4cp /etc/skel/.bashrc ~/
5cp /etc/skel/.profile ~/
6cp /etc/skel/.bash_logout ~/
7
8# ONOS
9git clone https://github.com/opennetworkinglab/onos.git
10echo "export ONOS_ROOT=~/onos" >> ~/.bashrc
11echo "source ~/onos/tools/dev/bash_profile" >> ~/.bashrc
12
13# Build and install P4 tools
14bash ~/onos/tools/dev/bin/onos-setup-p4-dev
15
16# Mininet
17git clone git://github.com/mininet/mininet ~/mininet
18sudo ~/mininet/util/install.sh -nwv