Skip to content

Conversation

@Kupaianaha
Copy link

This is a better implementation of the libby config section injestion I submitted earlier. with this we could load all of our daemon parameters from the config file in the libby class and also handle sections for things like named_pos or limits. this assumes a json or yaml file. this only builds on the idea that we are still doing one config file per group/subsystem and trying to avoid having a config for every daemon.
YAML FILE EXAMPLE:
atcfwheel-communication:
host: "192.168.29.100"
port: 10010
peer_id: atcfwheel
group_id: hsfei
bind: null
address_book: null
transport = "rabbitmq"
discovery_enabled = False
discovery_interval_s = 5.0
rabbitmq_url = "amqp://localhost"
daemon_desc = "ATC FWheel"

atcfwheel-named_pos:
clear: 1
nd2: 2
nd3: 3
nd4: 4
nd5: 5
nd6: 6

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

Successfully merging this pull request may close these issues.

2 participants