]> git.ipfire.org Git - thirdparty/strongswan.git/blob - testing/testing.conf
testing: Increase base image size so there is space for test results on winnetou
[thirdparty/strongswan.git] / testing / testing.conf
1 #!/bin/bash
2 # Global configuration file for strongswan integration testing.
3 #
4 # Copyright (C) 2004 Eric Marchionni, Patrik Rayo
5 # Zuercher Hochschule Winterthur
6 #
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>.
11 #
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
15 # for more details.
16
17 # Root directory of testing
18 TESTDIR=/srv/strongswan-testing
19
20 # Kernel configuration
21 KERNELVERSION=3.8.1
22 KERNEL=linux-$KERNELVERSION
23 KERNELTARBALL=$KERNEL.tar.bz2
24 KERNELCONFIG=$DIR/../config/kernel/config-3.8
25 KERNELPATCH=ha-3.8-abicompat.patch.bz2
26
27 # strongSwan version used in tests
28 SWANVERSION=5.0.3
29
30 # Build directory where the guest kernel and images will be built
31 BUILDDIR=$TESTDIR/build
32 # Directory shared between host and guests
33 SHAREDDIR=$BUILDDIR/shared
34
35 # Logfile
36 LOGFILE=$BUILDDIR/testing.log
37
38 # Directory used for loop-mounts
39 LOOPDIR=$BUILDDIR/loop
40
41 # Common image settings
42 IMGEXT=qcow2
43 IMGDIR=$BUILDDIR/images
44
45 # Base image settings
46 # The base image is a pristine OS installation created using debootstrap.
47 BASEIMGSIZE=1280
48 BASEIMGSUITE=wheezy
49 BASEIMGARCH=amd64
50 BASEIMG=$IMGDIR/debian-$BASEIMGSUITE-$BASEIMGARCH.$IMGEXT
51 BASEIMGMIRROR=http://cdn.debian.net/debian
52
53 # Root image settings
54 # The root image is the origin of all guest images. It is a clone of the base
55 # image and contains additional test-specific software and patches.
56 ROOTIMG=$IMGDIR/root.$IMGEXT
57
58 # libvirt config
59 NBDEV=/dev/nbd0
60 NBDPARTITION=${NBDEV}p1
61 VIRTIMGSTORE=/var/lib/libvirt/images
62 KVMUSER=libvirt-qemu
63 KVMGROUP=kvm
64
65 # Directory where test results will be stored
66 TESTRESULTSDIR=$TESTDIR/testresults
67
68 ##############################################################
69 # Enable particular steps in the make-testing
70 #
71 ENABLE_BUILD_BASEIMAGE="yes"
72 ENABLE_BUILD_ROOTIMAGE="yes"
73 ENABLE_BUILD_GUESTKERNEL="yes"
74 ENABLE_BUILD_GUESTIMAGES="yes"
75
76 ##############################################################
77 # hostname and corresponding IPv4 and IPv6 addresses
78 # You may change the IPs but keep them in the same subnet,
79 # this means retain the netmasks!
80 # Also don't use IPs ending with 254, they are reserved!
81 #
82 HOSTNAMEIPV4="\
83 alice,10.1.0.10,192.168.0.50 \
84 venus,10.1.0.20 \
85 moon,192.168.0.1,10.1.0.1 \
86 carol,192.168.0.100,10.3.0.1 \
87 winnetou,192.168.0.150 \
88 dave,192.168.0.200,10.3.0.2 \
89 sun,192.168.0.2,10.2.0.1 \
90 bob,10.2.0.10"
91
92 HOSTNAMEIPV6="\
93 alice,fec1::10,fec0::5 \
94 venus,fec1::20 \
95 moon,fec0::1,fec1::1 \
96 carol,fec0::10,fec3::1 \
97 winnetou,fec0::15 \
98 dave,fec0::20,fec3::2 \
99 sun,fec0::2,fec2::1 \
100 bob,fec2::10"
101
102 ##############################################################
103 # VPN gateways / clients
104 # The hosts stated here will be created. Possible values
105 # are sun, moon, dave, carol, alice, venus, bob, winnetou.
106 #
107 STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"