1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 # COMSTAR TARGET TYPE
  28 TARGET_TYPE=FCOE
  29 
  30 # TEST LOG Directory
  31 STC_NAME=comstar
  32 
  33 # TEST LOG Directory
  34 LOGDIR=/var/tmp/comstar_log/fcoe
  35 
  36 # EXPECT location
  37 EXPECT=/usr/dist/exe/expect
  38 
  39 # FC INITIATOR HOST
  40 # example: FC_IHOST="10.13.49.49"
  41 FC_IHOST=
  42 
  43 # ZPOOL NAME
  44 ZP=comstar
  45 
  46 # Block DEVICE SLICE LIST. The total size of these slices should be larger
  47 # than 8G by default.
  48 # example: BDEVS="/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s7"
  49 BDEVS=
  50 
  51 # Raw DEVICE SLICE LIST.The total size of these slices should be larger
  52 # than 8G by default.
  53 # example: RDEVS="/dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s7"
  54 RDEVS=
  55 
  56 # TIMEOUT for local or remote command line execution, default 180 seconds
  57 TIME_OUT=180
  58 
  59 # ZFS Volume Number for Stress Testing, default 8
  60 VOL_MAX=4
  61 
  62 # ZFS Volume Size for Stress Testing, default 1g
  63 VOL_SIZE=1g
  64 
  65 # FAULT INJECTION Mapping configuration, if set 0, each LUN is mapped to 
  66 # only one initiator host group
  67 # if set 1, each LUN is mapped to all the initiator host group 
  68 FULL_MAPPING=1
  69 
  70 # FCOEDOIO is 0 as default, only verifying FCoE target without I/O 
  71 FCOEDOIO=0
  72 
  73 # FCOEVISIBLE is 1 as default
  74 FCOEVISIBLE=1
  75 
  76 # Fault Injection Parameters for SWITCH CABLE PULL              
  77 # $1: Switch Type, CISCO is supported
  78 # $2: Switch IP Address
  79 # $3: Administrator Username
  80 # $4: Administrator Pasword
  81 # $5: Switch Port Number
  82 # example: FC_TARGET_SWITCH_PORT="CISCONEXUS:127.0.0.1:admin:password:4,5"
  83 FC_TARGET_SWITCH_PORT=
  84 
  85 # Fault Injection Arguments for luxadmlip
  86 # number of seconds, default 131
  87 LIP_MODVAL=131
  88 # number of seconds for upper boundary, default 120
  89 LIP_UPPERBNDRY=120
  90 # number of seconds for lower boundary, default 90
  91 LIP_LOWERBNDRY=90
  92 # max number of cycles, defualt 30
  93 LIP_MAX_ITER=2
  94 
  95 # number of seconds between host side cable pull and target side cable pull 
  96 # with I/O operation, default 300
  97 TS_SNOOZE=300
  98 # number of seconds between stmf smf service online and offline, default 10 
  99 SS_SNOOZE=10
 100 # number of seconds between fc target port online and offline, default 20 
 101 FT_SNOOZE=20
 102 # number of cycles of test to run, default 2
 103 TS_MAX_ITER=2
 104