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

Add option in config file to pass filter when querying list of hosts #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dgarros
Copy link

@dgarros dgarros commented Jan 13, 2018

Thanks for this project, it's very useful. I like how the configuration file is structured.
In our case, we have multiple sites sharing the same netbox server so in order to avoid everyone to query all hosts, I added an option in the config file to pass "filters".
The filters are just valid parameters for the GET /api/dcim/devices/ API

Please let me know if you are interested by this PR and if you have some comments.

I still need to update the README with some info

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.

1 participant