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

pillar: netbox: create "connected_devices" function #62666

Merged
merged 9 commits into from
Sep 28, 2022

Conversation

ITJamie
Copy link
Contributor

@ITJamie ITJamie commented Sep 12, 2022

What does this PR do?

add a dictionary of connected devices to netbox ext_pillar

What issues does this PR fix or reference?

Fixes:
#62761

Previous Behavior

New Behavior

add a dictionary of connected devices to netbox ext_pillar

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@ITJamie ITJamie requested a review from a team as a code owner September 12, 2022 20:39
@ITJamie ITJamie requested review from garethgreenaway and removed request for a team September 12, 2022 20:39
@ITJamie ITJamie changed the title netbox: create "connected_devices" function pillar: netbox: create "connected_devices" function Sep 12, 2022
Copy link
Contributor

@Ch3LL Ch3LL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will require a changelog and test coverage.

EDIT: You can add tests here: tests/pytests/unit/pillar/test_netbox.py

@garethgreenaway garethgreenaway added Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases needs-changelog-file labels Sep 21, 2022
@ITJamie
Copy link
Contributor Author

ITJamie commented Sep 23, 2022

working on tests now. I will be updating most of the test data examples since they are from an older netbox api version.
see: #62669

@ITJamie ITJamie requested review from Ch3LL and removed request for garethgreenaway September 27, 2022 16:28
@Ch3LL Ch3LL merged commit 68bc569 into saltstack:master Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-changelog-file Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants