Cleanup bootstrap.sh.
[csit.git] / bootstrap.sh
1 #!/bin/bash
2
3 #sudo apt-get -y install libpython2.7-dev
4
5 #VIRL_VMS="10.30.51.53,10.30.51.51,10.30.51.52"
6 #IFS=',' read -ra ADDR <<< "${VIRL_VMS}"
7 #
8 #function ssh_do() {
9 #    echo
10 #    echo "### "  ssh $@
11 #    ssh -i priv_key -o StrictHostKeyChecking=no $@
12 #}
13
14 #for addr in "${ADDR[@]}"; do
15 #    echo
16 #    echo ${addr}
17 #    echo
18 #
19 #    ssh_do cisco@${addr} hostname || true
20 #    ssh_do cisco@${addr} "ifconfig -a" || true
21 #    ssh_do cisco@${addr} "lspci -Dnn | grep 0200" || true
22 #    ssh_do cisco@${addr} "free -m" || true
23 #    ssh_do cisco@${addr} "cat /proc/meminfo" || true
24 #    ssh_do cisco@${addr} "dpkg -l vpp\*" || true
25 #    ssh_do cisco@${addr} "lshw -c network" || true
26 #    ssh_do cisco@${addr} "sudo -S sh -c 'echo exec show  hardware | vpp_api_test '"
27 #done
28
29 virtualenv env
30 . env/bin/activate
31
32 echo pip install
33 pip install -r requirements.txt
34
35 PYTHONPATH=`pwd` pybot -L TRACE -v TOPOLOGY_PATH:topologies/available/virl.yaml --exclude PERFTEST tests || true
36

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.