Skip to content

Conversation

@peterbaumert
Copy link

Related Issue

#1146

New Behavior

In netbox 3.7 vpns got an own app. L2VPNs moved and tunnels were added.

Contrast to Current Behavior

New app

Discussion: Benefits and Drawbacks

Needed to work with newes netbox version

Changes to the Documentation

dont think so

Proposed Release Note Entry

Added support for vpn add to nb_lookup

...

Double Check

  • I have read the comments and followed the CONTRIBUTING.md.
  • I have explained my PR according to the information in the comments or in a linked issue.
  • My PR targets the devel branch.

Copy link
Contributor

@sc68cal sc68cal left a comment

Choose a reason for hiding this comment

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

We have to support versions < 3.7 so you need to take a look at

https://github.com/netbox-community/ansible_modules/blob/devel/plugins/lookup/nb_lookup.py#L262

That is how we handle changes in the API between versions.

@peterbaumert
Copy link
Author

Thanks for the hint. Will look those days 👍

@sc68cal
Copy link
Contributor

sc68cal commented Jan 12, 2024

No problem. Just note that the versions that code is looking at is the pynetbox version, so you need to look for a version greater than or equal to 7.3.0

@rodvand
Copy link
Contributor

rodvand commented Feb 14, 2024

Added in #1162

@rodvand rodvand closed this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants