summaryrefslogtreecommitdiff
path: root/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/sql/ip-pool-db-restart/hosts/moon/etc')
-rw-r--r--testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/ipsec.d/data.sql44
-rw-r--r--testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/strongswan.conf2
2 files changed, 41 insertions, 5 deletions
diff --git a/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/ipsec.d/data.sql
index d250628e7..a55e82501 100644
--- a/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/ipsec.d/data.sql
@@ -153,19 +153,55 @@ INSERT INTO child_config_traffic_selector (
/* Pools */
INSERT INTO pools (
- name, start, end, next, timeout
+ name, start, end, timeout
) VALUES (
- 'bigpool', X'0a030001', X'0a03fffe', X'0a030003', 0
+ 'bigpool', X'0a030001', X'0a030006', 0
);
-INSERT INTO leases (
+INSERT INTO addresses (
pool, address, identity, acquired, released
) VALUES (
1, X'0a030001', 6, 1211299013 , 1211299205
);
-INSERT INTO leases (
+INSERT INTO addresses (
pool, address, identity, acquired, released
) VALUES (
1, X'0a030002', 7, 1211299031, 1211299187
);
+
+INSERT INTO addresses (
+ pool, address
+) VALUES (
+ 1, X'0a030003'
+);
+
+INSERT INTO addresses (
+ pool, address
+) VALUES (
+ 1, X'0a030004'
+);
+
+INSERT INTO addresses (
+ pool, address
+) VALUES (
+ 1, X'0a030005'
+);
+
+INSERT INTO addresses (
+ pool, address
+) VALUES (
+ 1, X'0a030006'
+);
+
+INSERT INTO leases (
+ address, identity, acquired, released
+) VALUES (
+ 1, 6, 1211299013 , 1211299205
+);
+
+INSERT INTO leases (
+ address, identity, acquired, released
+) VALUES (
+ 2, 7, 1211299031, 1211299187
+);
diff --git a/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/strongswan.conf b/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/strongswan.conf
index 5a35561ba..f70c4cbcb 100644
--- a/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/strongswan.conf
+++ b/testing/tests/sql/ip-pool-db-restart/hosts/moon/etc/strongswan.conf
@@ -6,5 +6,5 @@ charon {
database = sqlite:///etc/ipsec.d/ipsec.db
}
}
- load = curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke sqlite sql
+ load = curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink sqlite sql
}