Add Honeycomb interface management tests (ipv4, ipv6, ethernet, routing)
[csit.git] / bootstrap-hw-tb2.sh
index bb5afca..5da9630 100755 (executable)
@@ -1,16 +1,30 @@
 #!/bin/bash
+# Copyright (c) 2016 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 set -x
 
-sudo apt-get -y update
-sudo apt-get -y install libpython2.7-dev python-virtualenv
+#TODO: remove this file after changing csit-vpp-verify job configuration
+if [ ! -e bootstrap-verify-perf.sh ]
+then
+    echo 'ERROR: No bootstrap-verify-perf.sh found'
+    exit 1
+fi
 
-virtualenv env
-. env/bin/activate
+# make sure that bootstrap-verify-perf.sh is executable
+chmod +x bootstrap-verify-perf.sh
+# run the script
+./bootstrap-verify-perf.sh *.deb
 
-echo pip install
-pip install -r requirements.txt
+# vim: ts=4 ts=4 sts=4 et :
 
-PYTHONPATH=`pwd` pybot -L TRACE \
-    -v TOPOLOGY_PATH:topologies/available/lf_testbed2-710-520.yaml \
-    -s performance tests/