diff options
| author | Martin Willi <martin@strongswan.org> | 2008-03-14 07:39:01 +0000 |
|---|---|---|
| committer | Martin Willi <martin@strongswan.org> | 2008-03-14 07:39:01 +0000 |
| commit | 8f1596d6066254004afa8673f344c486e741c753 (patch) | |
| tree | 1a7aa6ab8a3657ebc050b65e7db2e6e2395f9f32 /src/charon/plugins/sql/test.sql | |
| parent | df3462ddbed461bc7df23f0fe8bbb813beb9a31a (diff) | |
| download | strongswan-8f1596d6066254004afa8673f344c486e741c753.tar.bz2 strongswan-8f1596d6066254004afa8673f344c486e741c753.tar.xz | |
SQL schema for MySQL and SQLite, test data
Diffstat (limited to 'src/charon/plugins/sql/test.sql')
| -rw-r--r-- | src/charon/plugins/sql/test.sql | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/charon/plugins/sql/test.sql b/src/charon/plugins/sql/test.sql index ec5b401c5..495a2aa4c 100644 --- a/src/charon/plugins/sql/test.sql +++ b/src/charon/plugins/sql/test.sql @@ -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' ); |
