Add scapy and udpreplay to robot Vagrant image
[releng/builder.git] / vagrant / integration-robotframework / bootstrap.sh
index c088f9cd266b5e30b7c015899192ae071681c7d5..f384118f2c0865c7ea93cb14b4d12e50578d33c8 100644 (file)
@@ -11,7 +11,13 @@ yum install -q -y java-1.7.0-openjdk-devel git perl-XML-XPath
 
 # The following are known requirements for our robotframework environments
 yum install -q -y python-{devel,importlib,requests,setuptools,virtualenv,docker-py} \
-    robotframework{,-{httplibrary,requests,sshlibrary}}
+    robotframework{,-{httplibrary,requests,sshlibrary}} scapy
+
+# Install `udpreplay` to be used for (lispflowmapping) performance tests
+yum install -q -y libpcap-devel boost-devel
+git clone https://github.com/ska-sa/udpreplay.git &> /dev/null
+cd udpreplay
+make &> /dev/null && cp udpreplay /usr/local/bin
 
 # To handle the prompt style that is expected all over the environment
 # with how use use robotframework we need to make sure that it is