aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-10-06 07:40:39 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-10-06 07:40:39 +0000
commit564363ee2991496f71980a5439644883b9933a93 (patch)
tree80b0b7d8bb43ab7ebd9c33b4c80a48a3adabb596 /testing
parentdc48763940b7d5a25f8fe313ec4e6920899fcebd (diff)
downloadstrongswan-564363ee2991496f71980a5439644883b9933a93.tar.bz2
strongswan-564363ee2991496f71980a5439644883b9933a93.tar.xz
new net configuration format
Diffstat (limited to 'testing')
-rw-r--r--testing/hosts/alice/etc/conf.d/net7
-rw-r--r--testing/hosts/bob/etc/conf.d/net6
-rw-r--r--testing/hosts/carol/etc/conf.d/net6
-rw-r--r--testing/hosts/dave/etc/conf.d/net6
-rw-r--r--testing/hosts/moon/etc/conf.d/net9
-rw-r--r--testing/hosts/sun/etc/conf.d/net9
-rw-r--r--testing/hosts/venus/etc/conf.d/net7
-rw-r--r--testing/hosts/winnetou/etc/conf.d/net6
8 files changed, 28 insertions, 28 deletions
diff --git a/testing/hosts/alice/etc/conf.d/net b/testing/hosts/alice/etc/conf.d/net
index 089dc5fc8..02494db97 100644
--- a/testing/hosts/alice/etc/conf.d/net
+++ b/testing/hosts/alice/etc/conf.d/net
@@ -2,10 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_ALICE broadcast 10.1.255.255 netmask 255.255.0.0 add PH_IP6_ALICE/16"
+config_eth0=( "PH_IP_ALICE broadcast 10.1.255.255 netmask 255.255.0.0"
+ "PH_IP6_ALICE/16" )
# For setting the default gateway
#
-gateway="eth0/PH_IP_MOON1"
-
+routes_eth0=( "default via PH_IP_MOON1" )
diff --git a/testing/hosts/bob/etc/conf.d/net b/testing/hosts/bob/etc/conf.d/net
index 977889fd2..bd0b3a5ce 100644
--- a/testing/hosts/bob/etc/conf.d/net
+++ b/testing/hosts/bob/etc/conf.d/net
@@ -2,9 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_BOB broadcast 10.2.255.255 netmask 255.255.0.0 add PH_IP6_BOB/16"
+config_eth0=( "PH_IP_BOB broadcast 10.2.255.255 netmask 255.255.0.0"
+ "PH_IP6_BOB/16" )
# For setting the default gateway
#
-gateway="eth0/PH_IP_SUN1"
+routes_eth0=( "default via PH_IP_SUN1" )
diff --git a/testing/hosts/carol/etc/conf.d/net b/testing/hosts/carol/etc/conf.d/net
index afd322cb8..f7f685942 100644
--- a/testing/hosts/carol/etc/conf.d/net
+++ b/testing/hosts/carol/etc/conf.d/net
@@ -2,9 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_CAROL broadcast 192.168.0.255 netmask 255.255.255.0 add PH_IP6_CAROL/16"
+config_eth0=( "PH_IP_CAROL broadcast 192.168.0.255 netmask 255.255.255.0"
+ "PH_IP6_CAROL/16" )
# For setting the default gateway
#
-gateway="eth0/192.168.0.254"
+routes_eth0=( "default via 192.168.0.254" )
diff --git a/testing/hosts/dave/etc/conf.d/net b/testing/hosts/dave/etc/conf.d/net
index f89dc5eed..2b902525a 100644
--- a/testing/hosts/dave/etc/conf.d/net
+++ b/testing/hosts/dave/etc/conf.d/net
@@ -2,9 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_DAVE broadcast 192.168.0.255 netmask 255.255.255.0 add PH_IP6_DAVE/16"
+config_eth0=( "PH_IP_DAVE broadcast 192.168.0.255 netmask 255.255.255.0"
+ "PH_IP6_DAVE/16" )
# For setting the default gateway
#
-gateway="eth0/192.168.0.254"
+routes_eth0=( "default via 192.168.0.254" )
diff --git a/testing/hosts/moon/etc/conf.d/net b/testing/hosts/moon/etc/conf.d/net
index 1e74a9964..7f09fd8a5 100644
--- a/testing/hosts/moon/etc/conf.d/net
+++ b/testing/hosts/moon/etc/conf.d/net
@@ -2,10 +2,11 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_MOON broadcast 192.168.0.255 netmask 255.255.255.0 add PH_IP6_MOON/16"
-iface_eth1="PH_IP_MOON1 broadcast 10.1.255.255 netmask 255.255.0.0 add PH_IP6_MOON1/16"
+config_eth0=( "PH_IP_MOON broadcast 192.168.0.255 netmask 255.255.255.0"
+ "PH_IP6_MOON/16" )
+config_eth1=( "PH_IP_MOON1 broadcast 10.1.255.255 netmask 255.255.0.0"
+ "PH_IP6_MOON1/16" )
# For setting the default gateway
#
-gateway="eth0/192.168.0.254"
+routes_eth0=( "default via 192.168.0.254" )
diff --git a/testing/hosts/sun/etc/conf.d/net b/testing/hosts/sun/etc/conf.d/net
index d3154db65..4a6370ab7 100644
--- a/testing/hosts/sun/etc/conf.d/net
+++ b/testing/hosts/sun/etc/conf.d/net
@@ -2,12 +2,13 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_SUN broadcast 192.168.0.255 netmask 255.255.255.0 add PH_IP6_SUN/16"
-iface_eth1="PH_IP_SUN1 broadcast 10.2.255.255 netmask 255.255.0.0 add PH_IP6_SUN1/16"
+config_eth0=( "PH_IP_SUN broadcast 192.168.0.255 netmask 255.255.255.0"
+ "PH_IP6_SUN/16" )
+config_eth1=( "PH_IP_SUN1 broadcast 10.2.255.255 netmask 255.255.0.0"
+ "PH_IP6_SUN1/16" )
# For setting the default gateway
#
-gateway="eth0/192.168.0.254"
+routes_eth0=( "default via 192.168.0.254" )
diff --git a/testing/hosts/venus/etc/conf.d/net b/testing/hosts/venus/etc/conf.d/net
index 9f93275f8..43ec97807 100644
--- a/testing/hosts/venus/etc/conf.d/net
+++ b/testing/hosts/venus/etc/conf.d/net
@@ -2,10 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_VENUS broadcast 10.1.255.255 netmask 255.255.0.0 add PH_IP6_VENUS/16"
+config_eth0=( "PH_IP_VENUS broadcast 10.1.255.255 netmask 255.255.0.0"
+ "PH_IP6_VENUS/16" )
# For setting the default gateway
#
-gateway="eth0/PH_IP_MOON1"
-
+routes_eth0=( "default via PH_IP_MOON1" )
diff --git a/testing/hosts/winnetou/etc/conf.d/net b/testing/hosts/winnetou/etc/conf.d/net
index 6a1ad6406..7fbc37014 100644
--- a/testing/hosts/winnetou/etc/conf.d/net
+++ b/testing/hosts/winnetou/etc/conf.d/net
@@ -2,9 +2,9 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-iface_lo="127.0.0.1 netmask 255.0.0.0"
-iface_eth0="PH_IP_WINNETOU broadcast 192.168.0.255 netmask 255.255.255.0 add PH_IP6_WINNETOU/16"
+config_eth0=( "PH_IP_WINNETOU broadcast 192.168.0.255 netmask 255.255.255.0"
+ "PH_IP6_WINNETOU/16" )
# For setting the default gateway
#
-gateway="eth0/192.168.0.254"
+routes_eth0=( "default via 192.168.0.254" )