]> git.ipfire.org Git - thirdparty/strongswan.git/blame - testing/testing.conf
Drop unneeded UMLKERNEL variable
[thirdparty/strongswan.git] / testing / testing.conf
CommitLineData
997358a6 1#!/bin/bash
f9df3d06 2# Global configuration file for strongswan integration testing.
997358a6
MW
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.
997358a6
MW
16
17# Root directory of testing
bf48ee33 18TESTDIR=~/strongswan-testing
997358a6 19
f9df3d06
RB
20# Kernel configuration
21KERNELVERSION=3.5.3
22KERNEL=linux-$KERNELVERSION
23KERNELTARBALL=$KERNEL.tar.bz2
24KERNELCONFIG=$PWD/config/kernel/config-3.5
25KERNELPATCH=ha-3.0.patch.bz2
997358a6 26
beff82dd
RB
27# strongSwan version used in tests
28SWANVERSION=5.0.2dr4
29
619c5430 30# Build directory where the guest kernel and images will be built
bf48ee33 31BUILDDIR=$TESTDIR/umlbuild
997358a6 32
aa5803e0
RB
33# Logfile
34LOGFILE=$BUILDDIR/testing.log
35
36# Directory used for loop-mounts
37LOOPDIR=$BUILDDIR/loop
38
39# Base image settings
d47b7518 40ROOTFSSIZE=1024
aa5803e0
RB
41ROOTFSSUITE=wheezy
42ROOTFSARCH=amd64
43ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.img
44ROOTFSMIRROR=http://cdn.debian.net/debian
e61ce6ee 45ROOTFSCOMPILEDIR=$BUILDDIR/compile
aa5803e0 46
62a277cf
RB
47# Path to guest images
48ROOTFSDIR=$BUILDDIR/root-fs
49
9b3316ed
RB
50# libvirt config
51VIRTIMGSTORE=/var/lib/libvirt/images
52
997358a6 53# Directory where test results will be stored
bf48ee33 54TESTRESULTSDIR=$TESTDIR/testresults
997358a6 55
7ec11936 56# SSH configuration (speedup SSH)
bf48ee33 57SSHCONF="-F $TESTDIR/testing/ssh_config"
7ec11936 58
997358a6
MW
59# Timezone for the UMLs, look in /usr/share/zoneinfo!
60TZUML="Europe/Zurich"
61
62##############################################################
9b3316ed 63# Enable particular steps in the make-testing
997358a6 64#
aa5803e0 65ENABLE_BUILD_BASEIMAGE="yes"
f9df3d06 66ENABLE_BUILD_GUESTKERNEL="yes"
b820f8aa
MW
67ENABLE_BUILD_UMLROOTFS="yes"
68ENABLE_BUILD_UMLHOSTFS="yes"
997358a6 69
997358a6
MW
70##############################################################
71# If set to "yes" only the tests stated at $SELECTEDTESTS
72# will be executed. (use "yes" or "no")
73#
74SELECTEDTESTSONLY="no"
75
76# Tests to do if $SELECTEDTESTSONLY is set "yes".
77#
c598ac63 78SELECTEDTESTS="ikev2/rw-cert"
997358a6
MW
79
80##############################################################
fc0afb68
AS
81# hostname and corresponding IPv4 and IPv6 addresses
82# You may change the IPs but keep them in the same subnet,
997358a6
MW
83# this means retain the netmasks!
84# Also don't use IPs ending with 254, they are reserved!
85#
fc0afb68 86HOSTNAMEIPV4="\
c598ac63 87alice,10.1.0.10,192.168.0.50 \
fc0afb68
AS
88venus,10.1.0.20 \
89moon,192.168.0.1,10.1.0.1 \
b820f8aa 90carol,192.168.0.100,10.3.0.1 \
fc0afb68
AS
91winnetou,192.168.0.150 \
92dave,192.168.0.200,10.3.0.2 \
93sun,192.168.0.2,10.2.0.1 \
94bob,10.2.0.10"
95
96HOSTNAMEIPV6="\
c598ac63 97alice,fec1::10,fec0::5 \
fc0afb68
AS
98venus,fec1::20 \
99moon,fec0::1,fec1::1 \
100carol,fec0::10,fec3::1 \
101winnetou,fec0::15 \
102dave,fec0::20,fec3::2 \
103sun,fec0::2,fec2::1 \
104bob,fec2::10"
997358a6
MW
105
106##############################################################
107# VPN gateways / clients
108# The hosts stated here will be created. Possible values
109# are sun, moon, dave, carol, alice, venus, bob, winnetou.
997358a6 110#
9b3316ed 111STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"