aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/sql/ip-pool-db-restart/evaltest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-05-20 18:30:39 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-05-20 18:30:39 +0000
commit59495f8ae2e5d6938c22b57b46460b74f60eea27 (patch)
treeab61e6e9e02097ec2ee18267a24a7e0ddc0f84be /testing/tests/sql/ip-pool-db-restart/evaltest.dat
parent49aeafc5028f8b2473a8e2d2c7661627936ac8f8 (diff)
downloadstrongswan-59495f8ae2e5d6938c22b57b46460b74f60eea27.tar.bz2
strongswan-59495f8ae2e5d6938c22b57b46460b74f60eea27.tar.xz
added the sql/ip-pool-db-restart and sql/ip-pool-db-expired scenarios
Diffstat (limited to 'testing/tests/sql/ip-pool-db-restart/evaltest.dat')
-rw-r--r--testing/tests/sql/ip-pool-db-restart/evaltest.dat26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/tests/sql/ip-pool-db-restart/evaltest.dat b/testing/tests/sql/ip-pool-db-restart/evaltest.dat
new file mode 100644
index 000000000..83914322c
--- /dev/null
+++ b/testing/tests/sql/ip-pool-db-restart/evaltest.dat
@@ -0,0 +1,26 @@
+carol::cat /var/log/daemon.log::installing new virtual IP PH_IP_CAROL1::YES
+carol::ip addr list dev eth0::PH_IP_CAROL1::YES
+carol::ip route list table 220::10.1.0.0/16.*src PH_IP_CAROL1::YES
+carol::ipsec status::home.*INSTALLED::YES
+carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
+dave::cat /var/log/daemon.log::installing new virtual IP PH_IP_DAVE1::YES
+dave::ip addr list dev eth0::PH_IP_DAVE1::YES
+dave::ip route list table 220::10.1.0.0/16.*src PH_IP_DAVE1::YES
+dave::ipsec status::home.*INSTALLED::YES
+dave::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
+moon::cat /var/log/daemon.log::peer requested virtual IP %any::YES
+moon::cat /var/log/daemon.log::reassigning address from valid lease from pool.*bigpool::YES
+moon::cat /var/log/daemon.log::assigning virtual IP::YES
+moon::ipsec pool --status::bigpool.*10.3.0.1.*10.3.255.254.*static.*2::YES
+moon::ipsec pool --leases::bigpool.*10.3.0.1.*carol@strongswan.org.*online::YES
+moon::ipsec pool --leases::bigpool.*10.3.0.2.*dave@strongswan.org.*online::YES
+moon::ipsec status::rw.*ESTABLISHED.*carol@strongswan.org::YES
+moon::ipsec status::rw.*ESTABLISHED.*dave@strongswan.org::YES
+moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP::YES
+moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP::YES
+moon::tcpdump::IP dave.strongswan.org > moon.strongswan.org: ESP::YES
+moon::tcpdump::IP moon.strongswan.org > dave.strongswan.org: ESP::YES
+alice::tcpdump::IP carol1.strongswan.org > alice.strongswan.org: ICMP echo request::YES
+alice::tcpdump::IP alice.strongswan.org > carol1.strongswan.org: ICMP echo reply::YES
+alice::tcpdump::IP dave1.strongswan.org > alice.strongswan.org: ICMP echo request::YES
+alice::tcpdump::IP alice.strongswan.org > dave1.strongswan.org: ICMP echo reply::YES