Run distributed query/carve based on custom tags #529
Labels
osctrl-admin
osctrl-admin related changes
osctrl-tls
osctrl-tls related changes
🙏 feature request
Request for new feature
queries
On-demand queries related issues
We just explored osctrl-admin and found that we can add a custom tag to each node/device. However, after added the custom tag, we cannot run a distributed query based on this tag. It would be great help if can also run the query based on these tags.
I would like to contribute to this feature, but I would like to know more details about the implementation.
In the architecture definition, the osctrl-admin should only talk to osctrl-api instead of the database directly. However, I found osctrl-admin would interact with the DB directly in many cases. I am completely fine with implementation and want to make sure if the rest of the changes are allowed to do so.
From the source code, I can see that currently it's based on four types of tags: env, platform, UUID and localname. I guess the easiest solution is to add an extra field so that we can pass the custom tags. What do you think?
The text was updated successfully, but these errors were encountered: