Move intervals config one level up

Makes for a slightly-better-organized configuration and explanation.
This commit is contained in:
2019-07-28 19:33:08 -04:00
parent 0d79def842
commit 83b806d0b5
2 changed files with 11 additions and 11 deletions

View File

@ -149,9 +149,9 @@ def readConfig(pvcd_config_file, myhostname):
'log_keepalive_cluster_details': o_config['pvc']['system']['configuration']['logging']['log_keepalive_cluster_details'],
'log_keepalive_storage_details': o_config['pvc']['system']['configuration']['logging']['log_keepalive_storage_details'],
'console_log_lines': o_config['pvc']['system']['configuration']['logging']['console_log_lines'],
'keepalive_interval': o_config['pvc']['system']['fencing']['intervals']['keepalive_interval'],
'fence_intervals': o_config['pvc']['system']['fencing']['intervals']['fence_intervals'],
'suicide_intervals': o_config['pvc']['system']['fencing']['intervals']['suicide_intervals'],
'keepalive_interval': o_config['pvc']['system']['intervals']['keepalive_interval'],
'fence_intervals': o_config['pvc']['system']['intervals']['fence_intervals'],
'suicide_intervals': o_config['pvc']['system']['intervals']['suicide_intervals'],
'successful_fence': o_config['pvc']['system']['fencing']['actions']['successful_fence'],
'failed_fence': o_config['pvc']['system']['fencing']['actions']['failed_fence'],
'migration_target_selector': o_config['pvc']['system']['migration']['target_selector'],