Replies: 1 comment
-
What do you see if you GET an existing tunnel termination? However, before looking much further I think you should first upgrade to the latest 3.7 (i.e. 3.7.8) to see if it has been fixed. You are using a new feature which was only introduced in 3.7.0, and the release notes suggest quite a lot was fixed since then:
Upgrading between Netbox patch releases, e.g. 3.7.x to 3.7.y, is generally a low-risk upgrade with mostly bug fixes and minor feature improvements, although historically there have been a few exceptions to that rule. The rule that the version ending .0 of anything is probably buggy works well for most things though :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
Anyone recently created a VPN tunnel termination via the API? Unsure if I'm running into a bug, or potentially missing a parameter:
curl -s -X POST -H "Authorization: Token $TOKEN" -H "Content-Type: application/json" http://netbox.com/api/vpn/tunnel-terminations/ --data '{"tunnel":1, "termination_type":"dcim.interface", "role":"peer","outside_ip": 15100, "tags": [1]}'
{"error": "'NoneType' object has no attribute '_meta'", "exception": "AttributeError", "netbox_version": "3.7.0", "python_version": "3.8.17"}%
I've created tunnels without any problems, but stump with tunnel terminations.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions