b71294ed66
This patch is used to test iscsi target with 30 target_node connection. Each target_node uses one lvol bdev based on lvol store and nvme bdev. Change-Id: I233ed6a32b417b23f2c01975a6c7fce0f46f22f3 Signed-off-by: Hailiang Wang <hailiangx.e.wang@intel.com> Reviewed-on: https://review.gerrithub.io/389431 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
23 lines
522 B
Bash
23 lines
522 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=0xFFFF
|
|
fi
|