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

Slurpit Support #601

Closed
wants to merge 98 commits into from
Closed

Conversation

lpconsulting321
Copy link
Contributor

Implements: #600

Added support for slurpit to sync locations, device types, devices, interfaces, inventory items, prefixes, vlans, vrf's and IP's.

Let me know if there are any issues.

@lpconsulting321 lpconsulting321 requested a review from a team as a code owner November 15, 2024 17:38
Copy link
Contributor

@jdrew82 jdrew82 left a comment

Choose a reason for hiding this comment

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

LGTM! Good work and awesome to see an async example with the contrib pattern!

@jdrew82 jdrew82 added the integration: slurpit Issues/PRs for Slurpit! integration. label Nov 15, 2024
@jdrew82
Copy link
Contributor

jdrew82 commented Nov 15, 2024

@lpconsulting321 One thing I just realized I forgot about. Can you update the CODEOWNERS in the github folder with who is responsible for the integration? Would it be just you or are there others?

@lpconsulting321
Copy link
Contributor Author

@jdrew82 Yeah. I wanted to use the built in Nautobot adapter as much as possible. Possible improvements for that in future would be to allow the ability allow get_queryset to pull based on tags/cf's I overcome this by just overiding the functions. Other than that it was perfect.

@lpconsulting321
Copy link
Contributor Author

@jdrew82

/nautobot_ssot/integrations/slurpit/ @lpconsulting321 @pietos @nautobot/plugin-ssot is this okay or shall i remove the last user?

@jdrew82
Copy link
Contributor

jdrew82 commented Nov 15, 2024

@jdrew82

/nautobot_ssot/integrations/slurpit/ @lpconsulting321 @pietos @nautobot/plugin-ssot is this okay or shall i remove the last user?

You can leave the plugin-ssot group as a fallback just in case it's something we can easily address.

@lpconsulting321
Copy link
Contributor Author

lpconsulting321 commented Nov 15, 2024

Looks like pylint doesnt like some things

Copy link
Contributor

@jdrew82 jdrew82 left a comment

Choose a reason for hiding this comment

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

LGTM!

@lpconsulting321
Copy link
Contributor Author

lpconsulting321 commented Nov 15, 2024

@jdrew82 Looks like unit tests are failing for non slurpit integrations. What do you do in these situations?

https://github.com/nautobot/nautobot-app-ssot/actions/runs/11861825954/job/33060798032?pr=601#step:9:5841

@@ -110,3 +110,6 @@ IPFABRIC_SSL_VERIFY="True"
IPFABRIC_TIMEOUT=15

NAUTOBOT_SSOT_ENABLE_ITENTIAL="True"

NAUTOBOT_SSOT_ENABLE_SLURPIT="True"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be False.

Copy link
Contributor

@jdrew82 jdrew82 Nov 15, 2024

Choose a reason for hiding this comment

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

@lpconsulting321 That is most likely being caused due to your integration being enabled. Making this change should resolve the issue. Itential is the only integration that's left enabled for now as it has tests of the integration's Job that requires the integration be installed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

<3

@lpconsulting321
Copy link
Contributor Author

Ahh 3.8. The Slurpit SDK does not support 3.8 at the moment. We will make sure our SDK supports 3.8 and get this passing.

@jdrew82
Copy link
Contributor

jdrew82 commented Nov 20, 2024

@lpconsulting321 Nautobot 2.4 will be removing support for Python 3.8 so you might want to wait for that to be released and we can set that as minimum for this integration?

@jdrew82
Copy link
Contributor

jdrew82 commented Nov 20, 2024

Oh, also, before I forget, please make sure you update the docs in the README to include you integration in the list and the acknowledgements.

jdrew82 and others added 25 commits November 25, 2024 12:19
…field in signals.

This was caused by the apps not being loaded yet, so need to pass them to be found and used. Updated Bootstrap to fix the use of the function too.
…egration.

I missed this when I consolidated the functions in 599.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: slurpit Issues/PRs for Slurpit! integration. type: enhancement New feature or request type: major feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants