mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-18 10:51:04 +02:00
Builds and OVA from scratch with the most updated tools in one command. The build process is based on Vagrant. Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
19 lines
438 B
Bash
Executable File
19 lines
438 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
|
|
cp /etc/skel/.bashrc ~/
|
|
cp /etc/skel/.profile ~/
|
|
cp /etc/skel/.bash_logout ~/
|
|
|
|
# ONOS
|
|
git clone https://github.com/opennetworkinglab/onos.git
|
|
echo "export ONOS_ROOT=~/onos" >> ~/.bashrc
|
|
echo "source ~/onos/tools/dev/bash_profile" >> ~/.bashrc
|
|
|
|
# Build and install P4 tools
|
|
bash ~/onos/tools/dev/bin/onos-setup-p4-dev
|
|
|
|
# Mininet
|
|
git clone git://github.com/mininet/mininet ~/mininet
|
|
sudo ~/mininet/util/install.sh -nwv
|