+# JOB SETTING
+case ${JOB_NAME} in
+ *2n-skx*)
+ TOPOLOGIES=$TOPOLOGIES_2N_SKX
+ TOPOLOGIES_TAGS="2_node_*_link_topo"
+ ;;
+ *3n-skx*)
+ TOPOLOGIES=$TOPOLOGIES_3N_SKX
+ TOPOLOGIES_TAGS="3_node_*_link_topo"
+ ;;
+ *)
+ TOPOLOGIES=$TOPOLOGIES_3N_HSW
+ TOPOLOGIES_TAGS="3_node_*_link_topo"
+ ;;
+esac
+case ${JOB_NAME} in
+ *hc2vpp*)
+ DUT="hc2vpp"
+ ;;
+ *vpp*)
+ DUT="vpp"
+ ;;
+ *ligato*)
+ DUT="kubernetes"
+ ;;
+ *dpdk*)
+ DUT="dpdk"
+
+ # If we run this script from CSIT jobs we want to use stable version
+ DPDK_REPO='https://fast.dpdk.org/rel/'
+ if [[ ${TEST_TAG} == *DAILY ]] || \
+ [[ ${TEST_TAG} == *WEEKLY ]];
+ then
+ echo Downloading latest DPDK packages from repo...
+ DPDK_STABLE_VER=$(wget --no-check-certificate --quiet -O - ${DPDK_REPO} | \
+ grep -v '2015' | grep -Eo 'dpdk-[^\"]+xz' | tail -1)
+ else
+ echo Downloading DPDK packages of specific version from repo...
+ DPDK_STABLE_VER='dpdk-18.05.tar.xz'
+ fi
+ wget --no-check-certificate --quiet ${DPDK_REPO}${DPDK_STABLE_VER}
+ ;;
+ *)
+ echo "Unable to identify dut type based on JOB_NAME variable: ${JOB_NAME}"
+ exit 1
+ ;;
+esac