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

Support to define the subscriptions in separate configuration file. #546

Open
amuntean-godaddy opened this issue Nov 5, 2024 · 1 comment

Comments

@amuntean-godaddy
Copy link

I have use case where the subscriptions are generated by a different tool and then needs to merged with gnmi config.

It would be great if support for multiple configuration file can be added.

Example:

  1. Using globing gnmic subscribe --config /app/gnmi-*
  2. Using same flag multiple time: gnmic subscribe --config /app/config --config /app/subs-config
@karimra
Copy link
Collaborator

karimra commented Nov 5, 2024

Merging YAML files can easily be done with tools like yq: https://mikefarah.gitbook.io/yq/operators/reduce#merge-all-yaml-files-together

I think this would be an unnecessary complication for gNMIc.

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

2 participants