[PR #15136] [MERGED] Fixes #15126: group field should be optional when creating VPN tunnel via REST API #14527

Closed
opened 2025-12-29 23:24:59 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15136
Author: @jeremystretch
Created: 2/13/2024
Status: Merged
Merged: 2/13/2024
Merged by: @jeremystretch

Base: developHead: 15126-fix-tunnel-group


📝 Commits (1)

  • 73998c3 Fixes #15126: group field should be optional when creating VPN tunnel via REST API

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 netbox/vpn/api/serializers.py (+4 -1)
📝 netbox/vpn/tests/test_api.py (+0 -1)

📄 Description

Fixes: #15126

  • Correct the group field on TunnelSerializer
  • Update the API test suite to test for creation of a tunnel with no group assignment

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15136 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/13/2024 **Status:** ✅ Merged **Merged:** 2/13/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15126-fix-tunnel-group` --- ### 📝 Commits (1) - [`73998c3`](https://github.com/netbox-community/netbox/commit/73998c3e6102406b68daec1780087c5063e02974) Fixes #15126: group field should be optional when creating VPN tunnel via REST API ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/vpn/api/serializers.py` (+4 -1) 📝 `netbox/vpn/tests/test_api.py` (+0 -1) </details> ### 📄 Description ### Fixes: #15126 - Correct the `group` field on TunnelSerializer - Update the API test suite to test for creation of a tunnel with no group assignment --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:24:59 +01:00
adam closed this issue 2025-12-29 23:24:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14527