numam-spdk/test/iscsi_tgt/common.sh
Seth Howell f1bf28de41 test: set all coremasks to use 8 or fewer cores.
This will allow us to reduce core assignments for build pool vms to 8.

Change-Id: I405a12f2c1041f77f90add0b5d27abd75f7b948d
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/403559
Reviewed-by: John Kariuki <John.K.Kariuki@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-13 00:51:37 -04:00

23 lines
520 B
Bash

if [ -z $TARGET_IP ]; then
TARGET_IP=127.0.0.1
echo "TARGET_IP not defined in environment; defaulting to $TARGET_IP"
fi
if [ -z $INITIATOR_IP ]; then
INITIATOR_IP=127.0.0.1
echo "INITIATOR_IP not defined in environment; defaulting to $INITIATOR_IP"
fi
if [ -z $ISCSI_PORT ]; then
ISCSI_PORT=3260
echo "ISCSI_PORT not defined in environment; defaulting to $ISCSI_PORT"
fi
if [ -z "$ISCSI_APP" ]; then
ISCSI_APP=./app/iscsi_tgt/iscsi_tgt
fi
if [ -z "$ISCSI_TEST_CORE_MASK" ]; then
ISCSI_TEST_CORE_MASK=0xFF
fi