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 # Root directory of testing
18 UMLTESTDIR=~/strongswan-testing
20 # Kernel configuration
22 KERNEL=linux-$KERNELVERSION
23 KERNELTARBALL=$KERNEL.tar.bz2
24 KERNELCONFIG=$PWD/config/kernel/config-3.5
25 KERNELPATCH=ha-3.0.patch.bz2
27 # strongSwan version used in tests
30 # Directory where the UML kernels and file system will be built
31 BUILDDIR=$UMLTESTDIR/umlbuild
34 LOGFILE=$BUILDDIR/testing.log
36 # Directory used for loop-mounts
37 LOOPDIR=$BUILDDIR/loop
43 ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.img
44 ROOTFSMIRROR=http://cdn.debian.net/debian
45 ROOTFSCOMPILEDIR=$BUILDDIR/compile
47 # Path to guest images
48 ROOTFSDIR=$BUILDDIR/root-fs
51 VIRTIMGSTORE=/var/lib/libvirt/images
53 # Filename of the built UML Kernel
54 UMLKERNEL=$BUILDDIR/linux-uml-$KERNELVERSION
56 # Directory where test results will be stored
57 TESTRESULTSDIR=$UMLTESTDIR/testresults
59 # SSH configuration (speedup SSH)
60 SSHCONF="-F $UMLTESTDIR/testing/ssh_config"
62 # Timezone for the UMLs, look in /usr/share/zoneinfo!
65 ##############################################################
66 # Enable particular steps in the make-testing
68 ENABLE_BUILD_BASEIMAGE="yes"
69 ENABLE_BUILD_GUESTKERNEL="yes"
70 ENABLE_BUILD_UMLROOTFS="yes"
71 ENABLE_BUILD_UMLHOSTFS="yes"
73 ##############################################################
74 # If set to "yes" only the tests stated at $SELECTEDTESTS
75 # will be executed. (use "yes" or "no")
77 SELECTEDTESTSONLY="no"
79 # Tests to do if $SELECTEDTESTSONLY is set "yes".
81 SELECTEDTESTS="ikev2/rw-cert"
83 ##############################################################
84 # hostname and corresponding IPv4 and IPv6 addresses
85 # You may change the IPs but keep them in the same subnet,
86 # this means retain the netmasks!
87 # Also don't use IPs ending with 254, they are reserved!
90 alice,10.1.0.10,192.168.0.50 \
92 moon,192.168.0.1,10.1.0.1 \
93 carol,192.168.0.100,10.3.0.1 \
94 winnetou,192.168.0.150 \
95 dave,192.168.0.200,10.3.0.2 \
96 sun,192.168.0.2,10.2.0.1 \
100 alice,fec1::10,fec0::5 \
102 moon,fec0::1,fec1::1 \
103 carol,fec0::10,fec3::1 \
105 dave,fec0::20,fec3::2 \
106 sun,fec0::2,fec2::1 \
109 ##############################################################
110 # VPN gateways / clients
111 # The hosts stated here will be created. Possible values
112 # are sun, moon, dave, carol, alice, venus, bob, winnetou.
114 STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"