1. Update testpmd to DPDK 17.05.2;
2. Update VPP to 17.07-30;
3. Fix the script to use the new kernel;
buildvm
Change-Id: Icd62ff1c383598db4f80bc9b36794ff0f8d0e56c
Signed-off-by: Yichen Wang <yicwang@cisco.com>
gs_url=artifacts.opnfv.org/nfvbench/images
# image version number
-__version__=0.3
+__version__=0.4
image_name=nfvbenchvm_centos-$__version__
# if image exists skip building
--- /dev/null
+#!/bin/bash
+
+grubby --set-default-index=0
#!/bin/bash
-DPDK=dpdk-17.05
-DPDK_UNTAR=dpdk-17.05
+DPDK=dpdk-17.05.2
+DPDK_UNTAR=dpdk-stable-17.05.2
# pick up the kernel version for the target image
kernel_version=`ls -t /lib/modules | awk 'NR==1 {print}'`
sleep 2
done
if [ ! -f $NFVBENCH_CONF ]; then
- exit 0
+ exit 0
fi
# Parse and obtain all configurations
echo "Configuring vpp..."
cp /vpp/startup.conf /etc/vpp/startup.conf
cp /vpp/vm.conf /etc/vpp/vm.conf
-
+
sed -i "s/{{PCI_ADDRESS_1}}/$PCI_ADDRESS_1/g" /etc/vpp/startup.conf
sed -i "s/{{PCI_ADDRESS_2}}/$PCI_ADDRESS_2/g" /etc/vpp/startup.conf
sed -i "s/{{WORKER_CORES}}/$WORKER_CORES/g" /etc/vpp/startup.conf