devon-mar / netbox-lists

Generate IP and prefix lists from NetBox. Integrates with Ansible, Terraform, Prometheus, Oxidized and more!
Apache License 2.0
77 stars 3 forks source link

Feature Request #27

Closed adminsend closed 1 month ago

adminsend commented 1 year ago

Is there a chance to filter based on tenant or VRF?

TNX, ciao

devon-mar commented 1 year ago

This plugin uses the same filters (plus some additional ones) as the builtin NetBox API endpoints. You can checkout the API documentation for this plugin by opening the API documentation on a NetBox instance with this plugin installed.

jschewebbn commented 1 month ago

I'm not sure about the original requestor, however I'd like to query based on tenant in much the same way you can query based on tag. Find me all IP addresses and prefixes in the specified tenant and summarize the result.

devon-mar commented 1 month ago

@jschewebbn could you open a new issue and explain your use case. Is there any reason why you can't just use the tenant filter on the existing endpoints?