used ipsec pool --leases --filter option in evaltest.dat
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 21 Jun 2008 13:31:54 +0000 (13:31 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 21 Jun 2008 13:31:54 +0000 (13:31 -0000)
testing/tests/ikev2/ip-pool-db/evaltest.dat
testing/tests/sql/ip-pool-db-expired/evaltest.dat
testing/tests/sql/ip-pool-db-restart/evaltest.dat
testing/tests/sql/ip-pool-db/evaltest.dat

index cdc4895..07d17b3 100644 (file)
@@ -12,8 +12,8 @@ moon::cat /var/log/daemon.log::peer requested virtual IP %any::YES
 moon::cat /var/log/daemon.log::assigning lease with new address 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 pool --leases --filter pool=bigpool,addr=10.3.0.1,id=carol@strongswan.org::online::YES
+moon::ipsec pool --leases --filter pool=bigpool,addr=10.3.0.2,id=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
index aa7291c..5d9d944 100644 (file)
@@ -12,8 +12,8 @@ moon::cat /var/log/daemon.log::peer requested virtual IP %any::YES
 moon::cat /var/log/daemon.log::reassigning address from expired 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.*1h.*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 pool --leases --filter pool=bigpool,addr=10.3.0.1,id=carol@strongswan.org::online::YES
+moon::ipsec pool --leases --filter pool=bigpool,addr=10.3.0.2,id=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
index 8391432..5db30da 100644 (file)
@@ -12,8 +12,8 @@ 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 pool --leases --filter pool=bigpool,addr=10.3.0.1,id=carol@strongswan.org::online::YES
+moon::ipsec pool --leases --filter pool=bigpool,addr=10.3.0.2,id=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
index cdc4895..07d17b3 100644 (file)
@@ -12,8 +12,8 @@ moon::cat /var/log/daemon.log::peer requested virtual IP %any::YES
 moon::cat /var/log/daemon.log::assigning lease with new address 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 pool --leases --filter pool=bigpool,addr=10.3.0.1,id=carol@strongswan.org::online::YES
+moon::ipsec pool --leases --filter pool=bigpool,addr=10.3.0.2,id=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