Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

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

Open
dgarros wants to merge 3 commits into
aabouzaid:masterfrom
dgarros:dga-add-filter
Open

Add option in config file to pass filter when querying list of hosts#11
dgarros wants to merge 3 commits into
aabouzaid:masterfrom
dgarros:dga-add-filter

Conversation

@dgarros

@dgarros dgarros commented Jan 13, 2018

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant