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 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 #
27
28 # check and set global variables
29
30 typeset -ix STC2_IP_STARTUP_TIMEOUT=${STC2_IP_STARTUP_TIMEOUT:-15}
31
32 # IPv4 networks to use for this test suite
33
34 typeset -a IP_V4_NET=( )
35 IP_V4_NET[0]=10.100.0.0/24
36 IP_V4_NET[1]=10.100.1.0/24
37 IP_V4_NET[2]=10.100.2.0/24
38 IP_V4_NET[3]=10.100.3.0/24
39 IP_V4_NET[4]=10.100.4.0/24
40 IP_V4_NET[5]=10.100.5.0/24
41 IP_V4_NET[6]=10.100.6.0/24
42 IP_V4_NET[7]=10.100.7.0/24
43 IP_V4_NET[8]=10.100.8.0/24
44 IP_V4_NET[9]=10.100.9.0/24
45
46 #IPv6 Site prefix (48 bit prefix)
47 typeset -x IP_V6_SITE_PREFIX=3000:
48
49 # IPv6 subnet prefixes to use for this test suite
50 typeset -a IP_V6_NET=( )
51 IP_V6_NET[0]=${IP_V6_SITE_PREFIX}0::/64
52 IP_V6_NET[1]=${IP_V6_SITE_PREFIX}1::/64
53 IP_V6_NET[2]=${IP_V6_SITE_PREFIX}2::/64
54 IP_V6_NET[3]=${IP_V6_SITE_PREFIX}3::/64
55 IP_V6_NET[4]=${IP_V6_SITE_PREFIX}4::/64
56 IP_V6_NET[5]=${IP_V6_SITE_PREFIX}5::/64
57 IP_V6_NET[6]=${IP_V6_SITE_PREFIX}6::/64
58 IP_V6_NET[7]=${IP_V6_SITE_PREFIX}7::/64
59 IP_V6_NET[8]=${IP_V6_SITE_PREFIX}8::/64
60 IP_V6_NET[9]=${IP_V6_SITE_PREFIX}9::/64
61
62 # Port to use for sending/receiving TCP/UDP/SCTP traffic
63 PORT=6999
64
65 # The location within a zone filesystem to install the multiecho program
66 ZONE_MULTIECHO=/var/tmp/multiecho
67
68 # The location within a zone filesystem to install the ipt_tests program
69 ZONE_IPT_TESTS=/var/tmp/ipt_tests
70