Skip to content
Discussion options

You must be logged in to vote

You should create a custom lookup plugin that takes a device FQDN and then calls your custom NetBox plugin on the NetBox server, and just use the NetBox inventory to retrieve the hosts.

If you are trying to get it to be integrated into the NetBox inventroy plugin, where it pulls that data and adds it to the host vars similar to fetch_all or the various options (interfaces, services, etc) you would have to fork and extend the inventory plugin to accomplish that. I don't recommend that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NetworkSeb
Comment options

@sc68cal
Comment options

Answer selected by NetworkSeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants