2 # Global configuration file for strongswan integration testing.
4 # Copyright (C) 2004 Eric Marchionni, Patrik Rayo
5 # Zuercher Hochschule Winterthur
7 # This program is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by the
9 # Free Software Foundation; either version 2 of the License, or (at your
10 # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 if [ -f testing.conf.local ]
22 # Root directory of testing
23 : ${TESTDIR=/srv/strongswan-testing}
25 # Kernel configuration
26 : ${KERNELVERSION=3.8.1}
27 : ${KERNEL=linux-$KERNELVERSION}
28 : ${KERNELTARBALL=$KERNEL.tar.bz2}
29 : ${KERNELCONFIG=$DIR/../config/kernel/config-3.8}
30 : ${KERNELPATCH=ha-3.8-abicompat.patch.bz2}
32 # strongSwan version used in tests
33 : ${SWANVERSION=5.0.3}
35 # Build directory where the guest kernel and images will be built
36 : ${BUILDDIR=$TESTDIR/build}
37 # Directory shared between host and guests
38 : ${SHAREDDIR=$BUILDDIR/shared}
41 : ${LOGFILE=$BUILDDIR/testing.log}
43 # Directory used for loop-mounts
44 : ${LOOPDIR=$BUILDDIR/loop}
46 # Common image settings
48 : ${IMGDIR=$BUILDDIR/images}
51 # The base image is a pristine OS installation created using debootstrap.
53 : ${BASEIMGSUITE=wheezy}
54 : ${BASEIMGARCH=amd64}
55 : ${BASEIMG=$IMGDIR/debian-$BASEIMGSUITE-$BASEIMGARCH.$IMGEXT}
56 : ${BASEIMGMIRROR=http://cdn.debian.net/debian}
59 # The root image is the origin of all guest images. It is a clone of the base
60 # image and contains additional test-specific software and patches.
61 : ${ROOTIMG=$IMGDIR/root.$IMGEXT}
65 : ${NBDPARTITION=${NBDEV}p1}
66 : ${VIRTIMGSTORE=/var/lib/libvirt/images}
67 : ${KVMUSER=libvirt-qemu}
70 # Directory where test results will be stored
71 : ${TESTRESULTSDIR=$TESTDIR/testresults}
73 ##############################################################
74 # Enable particular steps in the make-testing
76 : ${ENABLE_BUILD_BASEIMAGE=yes}
77 : ${ENABLE_BUILD_ROOTIMAGE=yes}
78 : ${ENABLE_BUILD_GUESTKERNEL=yes}
79 : ${ENABLE_BUILD_GUESTIMAGES=yes}
81 ##############################################################
82 # hostname and corresponding IPv4 and IPv6 addresses
83 # You may change the IPs but keep them in the same subnet,
84 # this means retain the netmasks!
85 # Also don't use IPs ending with 254, they are reserved!
88 alice,10.1.0.10,192.168.0.50 \
90 moon,192.168.0.1,10.1.0.1 \
91 carol,192.168.0.100,10.3.0.1 \
92 winnetou,192.168.0.150 \
93 dave,192.168.0.200,10.3.0.2 \
94 sun,192.168.0.2,10.2.0.1 \
98 alice,fec1::10,fec0::5 \
100 moon,fec0::1,fec1::1 \
101 carol,fec0::10,fec3::1 \
103 dave,fec0::20,fec3::2 \
104 sun,fec0::2,fec2::1 \
107 ##############################################################
108 # VPN gateways / clients
109 # The hosts stated here will be created. Possible values
110 # are sun, moon, dave, carol, alice, venus, bob, winnetou.
112 : ${STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"}