File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / testing / testing.conf
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:20:09 2021 UTC (3 years, 6 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, HEAD
strongswan 5.9.2

    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: TESTINGDIR=$(dirname `readlink -f ${BASH_SOURCE[0]}`)
   18: if [ -f $TESTINGDIR/testing.conf.local ]
   19: then
   20: 	. $TESTINGDIR/testing.conf.local
   21: fi
   22: 
   23: # Root directory of testing
   24: : ${TESTDIR=/srv/strongswan-testing}
   25: 
   26: # Kernel configuration
   27: : ${KERNELVERSION=5.8.10}
   28: : ${KERNEL=linux-$KERNELVERSION}
   29: : ${KERNELTARBALL=$KERNEL.tar.xz}
   30: : ${KERNELCONFIG=$DIR/../config/kernel/config-5.8}
   31: : ${KERNELPATCH=ha-5.0-abicompat.patch.bz2}
   32: 
   33: # strongSwan version used in tests
   34: : ${SWANVERSION=5.9.2}
   35: 
   36: # Build directory where the guest kernel and images will be built
   37: : ${BUILDDIR=$TESTDIR/build}
   38: 
   39: # Logfile
   40: : ${LOGFILE=$BUILDDIR/testing.log}
   41: 
   42: # Directory used for loop-mounts
   43: : ${LOOPDIR=$BUILDDIR/loop}
   44: 
   45: # Common image settings
   46: : ${IMGEXT=qcow2}
   47: : ${IMGDIR=$BUILDDIR/images}
   48: 
   49: # Base image settings
   50: # The base image is a pristine OS installation created using debootstrap.
   51: : ${BASEIMGSIZE=2500}
   52: : ${BASEIMGSUITE=buster}
   53: : ${BASEIMGARCH=amd64}
   54: : ${BASEIMG=$IMGDIR/debian-$BASEIMGSUITE-$BASEIMGARCH.$IMGEXT}
   55: : ${BASEIMGMIRROR=http://http.debian.net/debian}
   56: : ${BASEIMGEXTREPOHOST=download.strongswan.org}
   57: : ${BASEIMGEXTKEY=https://$BASEIMGEXTREPOHOST/testing/repos/strongswan-testing.gpg.key}
   58: : ${BASEIMGEXTREPO=https://$BASEIMGEXTREPOHOST/testing/repos/apt/debian}
   59: 
   60: # Directory shared between host and guests
   61: : ${SHAREDDIR=$BUILDDIR/shared/$BASEIMGSUITE}
   62: 
   63: # Root image settings
   64: # The root image is the origin of all guest images. It is a clone of the base
   65: # image and contains additional test-specific software and patches.
   66: : ${ROOTIMG=$IMGDIR/root.$IMGEXT}
   67: 
   68: # libvirt config
   69: : ${NBDEV=/dev/nbd0}
   70: : ${NBDPARTITION=${NBDEV}p1}
   71: : ${VIRTIMGSTORE=/var/lib/libvirt/images}
   72: : ${KVMUSER=libvirt-qemu}
   73: : ${KVMGROUP=kvm}
   74: 
   75: # Directory where test results will be stored
   76: : ${TESTRESULTSDIR=$TESTDIR/testresults}
   77: 
   78: ##############################################################
   79: # Enable particular steps in the make-testing script
   80: #
   81: : ${ENABLE_BUILD_BASEIMAGE=yes}
   82: : ${ENABLE_BUILD_ROOTIMAGE=yes}
   83: : ${ENABLE_BUILD_GUESTKERNEL=yes}
   84: : ${ENABLE_BUILD_CERTIFICATES=yes}
   85: : ${ENABLE_BUILD_GUESTIMAGES=yes}
   86: 
   87: ##############################################################
   88: # hostname and corresponding IPv4 and IPv6 addresses
   89: # You may change the IPs but keep them in the same subnet,
   90: # this means retain the netmasks!
   91: # Also don't use IPs ending with 254, they are reserved!
   92: #
   93: : ${HOSTNAMEIPV4="\
   94: alice,10.1.0.10,192.168.0.50 \
   95: venus,10.1.0.20 \
   96: moon,192.168.0.1,10.1.0.1 \
   97: carol,192.168.0.100,10.3.0.1 \
   98: winnetou,192.168.0.150 \
   99: dave,192.168.0.200,10.3.0.2 \
  100: sun,192.168.0.2,10.2.0.1 \
  101: bob,10.2.0.10"}
  102: 
  103: : ${HOSTNAMEIPV6="\
  104: alice,fec1::10,fec0::5 \
  105: venus,fec1::20 \
  106: moon,fec0::1,fec1::1 \
  107: carol,fec0::10,fec3::1 \
  108: winnetou,fec0::15 \
  109: dave,fec0::20,fec3::2 \
  110: sun,fec0::2,fec2::1 \
  111: bob,fec2::10"}
  112: 
  113: ##############################################################
  114: # VPN gateways / clients
  115: # The hosts stated here will be created. Possible values
  116: # are sun, moon, dave, carol, alice, venus, bob, winnetou.
  117: #
  118: : ${STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>