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

[FEATURE REQUEST] netbox pillar - pull related (connected) devices as part of pillar information #62761

Closed
ITJamie opened this issue Sep 27, 2022 · 2 comments
Labels
Feature new functionality including changes to functionality and code refactors, etc. needs-triage Pillar Proxy-Minion

Comments

@ITJamie
Copy link
Contributor

ITJamie commented Sep 27, 2022

Is your feature request related to a problem? Please describe.
It would be really nice to have information about the connected devices (netbox interfaces show a connected object) to allow things like changing templates on interfaces based on the type of object attached to them in a netops context

Describe the solution you'd like
add an aditional key to the netbox dictionary that has the "device" api data for all connected devices

Describe alternatives you've considered
I considered writing another pillar module however extending the existing one is lower overhead as most of the data (interface data) is already populated, another module would have to duplicate api calls to netbox

@ITJamie ITJamie added Feature new functionality including changes to functionality and code refactors, etc. needs-triage labels Sep 27, 2022
@OrangeDog
Copy link
Contributor

OrangeDog commented Sep 27, 2022

Is that in addition to the interfaces that it already can return?

You don't have to duplicate the calls in a custom module, you can probably just import and call the existing one.

@ITJamie
Copy link
Contributor Author

ITJamie commented Sep 27, 2022

it is in addition. ive prepared #62666 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. needs-triage Pillar Proxy-Minion
Projects
None yet
Development

No branches or pull requests

2 participants