
Appendix B Ubuntu.sh
25
fi
fi
if [ "$DPDK_Pass" = "1" ]; then
echo "= DPDK SW PASS $DPDK_Ver" >> $file
else
echo "= DPDK SW FAIL $DPDK_Ver" >> $file
SW_Fail=1
fi;
if [ "$nic_driver_pass" = "1" ]; then
echo "= NIC Driver PASS $I40eVersion" >> $file
else
echo "= NIC Driver FAIL $I40eVersion" >> $file
SW_Fail=1
fi;
if [ "$OS_Pass" = "1" ]; then
echo "= OS PASS $OS" >> $file
else
echo "= OS FAIL $OS" >> $file
SW_Fail=1
fi;
if [ "$Qemu_Pass" = "1" ]; then
echo "= KVM/QEMU PASS $QEMU" >> $file
else
echo "= KVM/QEMU FAIL $QEMU" >> $file
SW_Fail=1
fi;
if [ "$Lib_Pass" = "1" ]; then
echo "= Libvirt PASS $libvirtfailstr" >> $file
else
echo "= Libvirt FAIL $libvirtfailstr" >> $file
SW_Fail=1
fi;
if [ "$SW_Fail" = "1" ]; then
sw_string="Software stacks, BIOS, Intel Platform Technology - FAIL"
else
sw_string="Software stacks, BIOS, Intel Platform Technology - PASS"
fi
echo "=== SCOREBOARD SUMMARY " >> $file
echo "" >> $file
echo "=== Intel Select Reference " >> $file
if [ "$check" = 1 ]; then
if [ "$base" = "1" ]; then
echo "= Intel Select Reference HW BOM Base - PASS || $sw_string = " >> $file
else echo "= Intel Select Reference HW BOM Base - FAIL $failbase || $sw_string =" >> $file
fi
if [ "$plus" = "1" ]; then
echo "= Intel Select Reference HW BOM Plus - PASS || $sw_string = " >> $file
else
echo "= Intel Select Reference HW BOM Plus - FAIL $failplus || $sw_string = " >> $file
fi
else
if [ "$2" = "base" ]; then
if [ "$base" = "1" ]; then
echo "= Intel Select Reference HW BOM Base - PASS || $sw_string =" >> $file
else
echo "= Intel Select Reference HW BOM Base - FAIL $failbase || $sw_string =">> $file
fi
fi
if [ "$2" = "plus" ]; then
if [ "$plus" = "1" ]; then
echo "= Intel Select Reference HW BOM Plus - PASS || $sw_string =" >> $file
else
echo "= Intel Select Reference HW BOM Plus - FAIL $failplus || $sw_string =">> $file
fi
fi
fi
echo "" >> $file
echo "" >> $file
echo " -------- RAW DATA CAPTURES ---------" >> $file