SQL schema for MySQL and SQLite, test data

This commit is contained in:
Martin Willi
2008-03-14 07:39:01 +00:00
parent df3462ddbe
commit 8f1596d606
4 changed files with 165 additions and 89 deletions
+7 -16
View File
@@ -1,14 +1,14 @@
INSERT INTO ike_configs (
certreq, force_encap, local, remote
local, remote
) VALUES (
0, 0, '0.0.0.0', '152.96.52.150'
'0.0.0.0', '152.96.52.150'
);
INSERT INTO child_configs (
name, lifetime, rekeytime, jitter, updown, hostaccess, mode
name
) VALUES (
'sqltest', 500, 400, 50, NULL, 1, 1
'sqltest'
);
INSERT INTO peer_config_child_config (
@@ -17,11 +17,7 @@ INSERT INTO peer_config_child_config (
1, 1
);
INSERT INTO traffic_selectors (
type, protocol
) values (
7, 0
);
INSERT INTO traffic_selectors (type) VALUES (7);
INSERT INTO child_config_traffic_selector (
child_cfg, traffic_selector, kind
@@ -36,12 +32,7 @@ INSERT INTO child_config_traffic_selector (
);
INSERT INTO peer_configs (
name, ike_version, ike_cfg, local_id, remote_id, cert_policy, auth_method,
eap_type, eap_vendor, keyingtries, rekeytime, reauthtime, jitter, overtime,
mobike, dpd_delay, dpd_action, local_vip, remote_vip,
mediation, mediated_by, peer_id
name, ike_cfg, local_id, remote_id
) VALUES (
'sqltest', 2, 1, 'C=CH, O=Linux strongSwan, CN=martin', 'sidv0150.hsr.ch', 0, 0,
0, 0, 0, 500, 2000, 20, 20,
1, 120, 0, NULL, NULL, 0, 0, NULL
'sqltest', 1, 'C=CH, O=Linux strongSwan, CN=martin', 'sidv0150.hsr.ch'
);