diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-04-26 14:57:47 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-04-26 14:57:47 +0200 |
commit | 10e5fb2b9b2f27c83b3e5a1d048b158d5cf42a43 (patch) | |
tree | bf1d05a2e37dbd1911b86fcc026fbe49b0239c71 /testing/start-testing | |
parent | 7585facf05d927eb6df3929ce09ed5e60d905437 (diff) | |
download | vyos-strongswan-10e5fb2b9b2f27c83b3e5a1d048b158d5cf42a43.tar.gz vyos-strongswan-10e5fb2b9b2f27c83b3e5a1d048b158d5cf42a43.zip |
Imported Upstream version 5.0.3
Diffstat (limited to 'testing/start-testing')
-rwxr-xr-x | testing/start-testing | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/start-testing b/testing/start-testing index 183729423..45cf4c9b9 100755 --- a/testing/start-testing +++ b/testing/start-testing @@ -9,13 +9,13 @@ CONFDIR=$DIR/config/kvm KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage KNLTARGET=/var/run/kvm-swan-kernel HOSTFSTARGET=/var/run/kvm-swan-hostfs -MCASTBRS="virbr1 virbr2" +MCASTBRS="test-br0 test-br1" echo "Starting test environment" [ `id -u` -eq 0 ] || die "You must be root to run $0" -check_commands virsh +check_commands kvm virsh log_action "Deploying kernel $KERNEL" execute "ln -fs $KNLSRC $KNLTARGET" @@ -41,8 +41,11 @@ done for br in $MCASTBRS do cd /sys/devices/virtual/net/$br/brif - for vnet in `find . -name "vnet*"` + for vnet in `find . -name "*eth?"` do echo 2 > $vnet/multicast_router done done + +echo 0x08 > /sys/devices/virtual/net/test-br0/bridge/group_fwd_mask + |