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 2008 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # ident "@(#)config.vars 1.3 08/04/22 SMI" 27 # 28 29 # This file defines test suite configuration variables. It contains 30 # three sections: 31 # 1) STF-defined variables 32 # 2) Configuration variables without defaults 33 # 3) Configuration variables with defaults 34 # 35 # The test suite user should not modify section #1. He/she may 36 # modify section #2 and must provide definitions for section #3. 37 38 # 39 #-------------------------------------------------------------- 40 # SECTION 1: STF-defined variables 41 #-------------------------------------------------------------- 42 # 43 44 STF_VARIABLES="TST_INT TST_NUM RMT_INT RMT_NUM LOCAL_HST RMT_HST \ 45 MAX_MULTICAST_GRP TST_PASS NETPERF_HOME DTRACE_SWITCH \ 46 SYSINFO_PRINT RUN_MODE DRIVER_NAME DRIVER_SPEED" 47 48 STF_NOT_SAFE="TST_PASS DTRACE_SWITCH SYSINFO_PRINT" 49 50 # 51 #-------------------------------------------------------------- 52 # SECTION 2: Configuration variables without defaults 53 #-------------------------------------------------------------- 54 # 55 56 # 57 # Provide network driver name you want 58 # to test. for example: "bge" 59 # 60 61 TST_INT=${TST_INT:-change_me_now} 62 63 # 64 # Provide the instance number of the under test physical interface. 65 # for example: "0" 66 # 67 68 TST_NUM=${TST_NUM:-change_me_now} 69 70 # 71 # Provide the remote interface instance you want 72 # to test. for example: "bge" 73 # 74 75 RMT_INT=${RMT_INT:-change_me_now} 76 77 # 78 # Provide the remote instance number. 79 # for example: "0" 80 # 81 82 RMT_NUM=${RMT_NUM:-change_me_now} 83 84 # 85 # Provide local host interface name of the under testing driver, which 86 # acts as the local machine of test. It can be either the interface's IP 87 # address or the interface's name. for example: "11.0.1.1" or "hostname1" 88 # 89 90 LOCAL_HST=${LOCAL_HST:-change_me_now} 91 92 # 93 # Provide remote host interface name, which 94 # acted as the target machine of test. It can be either the 95 # interface's IP address or the interface's name. for example: 96 # "11.0.1.2" or "remotename1" 97 # 98 99 RMT_HST=${RMT_HST:-change_me_now} 100 101 # 102 # Provide the test password of the root user on remote system 103 # 104 105 TST_PASS=${TST_PASS:-change_me_now} 106 107 # 108 # Provide the bin directory that the netperf is installed 109 # 110 NETPERF_HOME=${NETPERF_HOME:-"${STF_TOOLS}/../SUNWstc-netperf2/bin/"} 111 112 # 113 #-------------------------------------------------------------- 114 # SECTION 3: Configuration variables with defaults 115 #-------------------------------------------------------------- 116 # 117 118 # 119 # Dtrace switch, yes/no 120 # If yes, it will generate a test coverage report after test complete 121 # Please don't enable it, if you want to do a formal testing 122 # 123 # 124 DTRACE_SWITCH=${DTRACE_SWITCH:-no} 125 126 # 127 # Maximum multicast group supported by the NIC 128 # under test. It is set to default value 64, which 129 # is the min value of known NIC's multicast support 130 # 131 MAX_MULTICAST_GRP=${MAX_MULTICAST_GRP:-64} 132 133 # 134 # Print system information in log 135 # including: ifconfig, netstat, prtconf 136 # Legal value: yes/no 137 # 138 SYSINFO_PRINT=${SYSINFO_PRINT:-no} 139 140 # 141 # Configure the strength of NICDRV, the run mode is based on 142 # the different test objective, like for ONPIT or for LOW-END driver 143 # or for WiFi. The default value is "normal". 144 # 145 RUN_MODE=${RUN_MODE:-normal} 146 147 DRIVER_NAME=${DRIVER_NAME:-no} 148 DRIVER_SPEED=${DRIVER_SPEED:-1G} 149 150