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