Updating netperf-2.7.0.tar.gz tar URL for CentOS template

The netperf-2.7.0.tar.gz file from ftp.netperf.org is no longer
available. As a result, netperf doesn't build successfully on
the external shaker server, which causes CentOS-based Shaker
tests to fail. All netperf source and tar files have been migrated
to github. This fix changes the URL for netperf-2.7.0 to the
appropriate tar file on github. In addition, the parent directory
within the tar file has changed to "netperf-netperf-2.7.0".

A similar commit has been filed for the shaker image:
https://review.openstack.org/#/c/482177/

Change-Id: Ib7db0a0e7c5cbce7f6674b341b71aa38bbd24e24
This commit is contained in:
Dan Macpherson 2017-07-11 01:18:25 +10:00
parent c827666691
commit 929f2eb645

View File

@ -2,9 +2,9 @@
# Run as root to setup a shaker-server to run external network tests with # Run as root to setup a shaker-server to run external network tests with
yum install -y epel-release yum install -y epel-release
yum install -y wget iperf iperf3 gcc gcc-c++ python-devel screen zeromq zeromq-devel yum install -y wget iperf iperf3 gcc gcc-c++ python-devel screen zeromq zeromq-devel
wget ftp://ftp.netperf.org/netperf/netperf-2.7.0.tar.gz wget https://github.com/HewlettPackard/netperf/archive/netperf-2.7.0.tar.gz
tar xvzf netperf-2.7.0.tar.gz tar xvzf netperf-2.7.0.tar.gz
pushd netperf-2.7.0 pushd netperf-netperf-2.7.0
./configure --enable-demo=yes ./configure --enable-demo=yes
make make
make install make install