configured various DPD modes in sql scenarios

This commit is contained in:
Andreas Steffen
2010-11-28 17:41:27 +01:00
parent 11c904b373
commit b62bde3b95
6 changed files with 36 additions and 36 deletions
@@ -109,9 +109,9 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 4, 5, 0 'net-net', 1, 4, 5, 0, 0
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
@@ -109,9 +109,9 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 5, 4, 0 'net-net', 1, 5, 4, 0, 0
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 4, 5, 0 'net-net', 1, 4, 5, 0, 30
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-1', 'ipsec _updown iptables', 1 'net-1', 'ipsec _updown iptables', 1, 1
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-2', 'ipsec _updown iptables', 1 'net-2', 'ipsec _updown iptables', 1, 1
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-3', 'ipsec _updown iptables', 0 'net-3', 'ipsec _updown iptables', 0, 0
); );
INSERT INTO peer_config_child_config ( INSERT INTO peer_config_child_config (
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 5, 4, 0 'net-net', 1, 5, 4, 0, 30
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-1', 'ipsec _updown iptables', 1 'net-1', 'ipsec _updown iptables', 1, 1
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-2', 'ipsec _updown iptables', 1 'net-2', 'ipsec _updown iptables', 1, 1
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-3', 'ipsec _updown iptables', 0 'net-3', 'ipsec _updown iptables', 0, 0
); );
INSERT INTO peer_config_child_config ( INSERT INTO peer_config_child_config (
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 4, 5, 0 'net-net', 1, 4, 5, 0, 30
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-1', 'ipsec _updown iptables', 2 'net-1', 'ipsec _updown iptables', 2, 2
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-2', 'ipsec _updown iptables', 2 'net-2', 'ipsec _updown iptables', 2, 2
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-3', 'ipsec _updown iptables', 2 'net-3', 'ipsec _updown iptables', 2, 2
); );
INSERT INTO peer_config_child_config ( INSERT INTO peer_config_child_config (
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
); );
INSERT INTO peer_configs ( INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, mobike name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES ( ) VALUES (
'net-net', 1, 5, 4, 0 'net-net', 1, 5, 4, 0, 30
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-1', 'ipsec _updown iptables', 0 'net-1', 'ipsec _updown iptables', 0, 0
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-2', 'ipsec _updown iptables', 0 'net-2', 'ipsec _updown iptables', 0, 0
); );
INSERT INTO child_configs ( INSERT INTO child_configs (
name, updown, start_action name, updown, start_action, dpd_action
) VALUES ( ) VALUES (
'net-3', 'ipsec _updown iptables', 0 'net-3', 'ipsec _updown iptables', 0, 0
); );
INSERT INTO peer_config_child_config ( INSERT INTO peer_config_child_config (