Merge "This patch contains scripts to publish the data to local Grafana Dashboard...
authorJiang, Yunhong <yunhong.jiang@intel.com>
Fri, 14 Oct 2016 05:26:39 +0000 (05:26 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 14 Oct 2016 05:26:39 +0000 (05:26 +0000)
docker_image_build/Dockerfile

index fd1ea58..fa71954 100644 (file)
@@ -5,5 +5,7 @@
 #
 FROM kvmfornfv1:latest
 RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/colorado
+RUN var=`grep "loops" /root/yardstick/samples/cyclictest-node-context.yaml |awk '{ print $2/1000 }'`; \
+    sed -i -e "s/3600/$((var+1500))/g" /root/yardstick/yardstick/ssh.py
 RUN cd /root/yardstick && python setup.py install
 WORKDIR /root