Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Enstore config file consolidation #97

Open
jeffderbyshire opened this issue Oct 18, 2022 · 0 comments
Open

[Feature Request] Enstore config file consolidation #97

jeffderbyshire opened this issue Oct 18, 2022 · 0 comments

Comments

@jeffderbyshire
Copy link

Allow templates for blocks of similar parameters that are shared between movers for a start. This will help greatly for readability of the enormous config file.

`'10KC_081A.mover': {'check_first_written_file': 0,
                     'check_written_file': 900,
                     'compression': 0,
                     'data_ip': 'enmvr081',
                     'dismount_delay': 30,
                     'do_cleaning': 'No',
                     'driver': 'FTTDriver',
                     'host': 'enmvr081',
                     'hostip': '131.225.13.65',
                     'library': 'CD-10KCF1.library_manager',
                     'logname': '10KC_081AMV',
                     'max_buffer': 3145728000L,
                     'max_consecutive_failures': 3,
                     'max_failures': 5,
                     'max_rate': 251658240.0,
                     'max_time_in_state': 1200,
                     'mc_device': '1,0,1,14',
                     'media_changer': 'SL8500F1.media_changer',
                     'min_buffer': 67108864L,
                     'mount_delay': 15,
                     'norestart': 'INQ',
                     'port': 7938,
                     'send_stats': 1,
                     'single_filemark': 1,
                     'statistics_path': '/tmp/enstore/enstore/10KC_081A.stat',
                     'status': ('ok', None),
                     'syslog_entry': 'sense|st[0-9]',
                     'update_interval': 2,
                     'update_interval_in_bound': 2},

becomes

 '10KC_081A.mover' = generic_10KC_mover_template
'10KC_081A.mover': {
                     'host': 'enmvr081',
                     'hostip': '131.225.13.65',
                     'library': 'CD-10KCF1.library_manager',
                     'logname': '10KC_081AMV',
                     'media_changer': 'SL8500F1.media_changer',
                     'statistics_path': '/tmp/enstore/enstore/10KC_081A.stat'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant