src/functions/functions.wpa_supplicant \
src/functions/functions.zone \
src/network-radvd-config \
- src/dhclient-helper \
src/header-config \
src/header-port \
src/header-zone \
src/ppp/dialer \
src/ppp/pppoe-server
+dist_network_SCRIPTS = \
+ src/dhclient-helper
+
dist_helpers_SCRIPTS = \
src/helpers/dhcpd-config-helper \
src/helpers/firewall-kernel-init \
test/nitsi/include/setup
NITSI_TESTS = \
- test/nitsi/test/hello-world \
test/nitsi/test/make-check \
+ test/nitsi/test/phase1 \
test/nitsi/test/raw-device-get-by-mac \
test/nitsi/test/zone-new-bridge \
test/nitsi/test/zone-port-attach-bridge
EXTRA_DIST += \
test/nitsi/test/settings.in \
- test/nitsi/test/hello-world/recipe \
- test/nitsi/test/hello-world/settings \
test/nitsi/test/make-check/recipe.in \
test/nitsi/test/make-check/settings.in \
test/nitsi/test/raw-device-get-by-mac/recipe \
test/nitsi/test/zone-new-bridge/recipe \
test/nitsi/test/zone-new-bridge/settings.in \
test/nitsi/test/zone-port-attach-bridge/recipe \
- test/nitsi/test/zone-port-attach-bridge/settings.in \
- test/nitsi/test/zone-up_down/recipe \
- test/nitsi/test/zone-up_down/settings.in \
- test/nitsi/test/vpn-ipsec-ipv64-ipv4-vti/recipe
+ test/nitsi/test/zone-port-attach-bridge/settings.in
CLEANFILES += \
test/nitsi/test/settings \
test/nitsi/test/make-check/settings \
test/nitsi/test/raw-device-get-by-mac/settings \
test/nitsi/test/zone-new-bridge/settings \
- test/nitsi/test/zone-port-attach-bridge/settings \
- test/nitsi/test/zone-up_down/settings
+ test/nitsi/test/zone-port-attach-bridge/settings
NITSI_ENVIRONMENT =
--- /dev/null
+# The file contains some basic setup that creates two zones
+# and a couple of ports
+
+# This contains the basic network configuration for all vpn-tests
+include: ../include/alice-port-vars
+include: ../include/bob-port-vars
+
+# Create an uplink zone
+all: network zone new upl0 bridge
+all: network zone upl0 port attach ${p_net1}
+
+# Create a local zone
+all: network zone new net0 bridge
+
+# Attach a dummy port to net0
+all: network port new dummy
+all: network zone net0 port attach d0
+
+# Add IP addresses for Alice
+alice: network zone upl0 config new static 192.168.100.101/24
+alice: network zone upl0 config new static 2001:db8:100::101/64
+alice: network zone net0 config new static 192.168.200.1/24
+alice: network zone net0 config new static 2001:db8:200::1/64
+
+# Add IP addresses for Bob
+bob: network zone upl0 config new static 192.168.100.102/24
+bob: network zone upl0 config new static 2001:db8:100::102/64
+bob: network zone net0 config new static 192.168.201.1/24
+bob: network zone net0 config new static 2001:db8:201::1/64
+
+# Print what has been brought up
+all: network status