Fixes #20238 - Fix Outside IP field in Tunnel Termination bulk import form #1329

Closed
opened 2026-04-05 23:28:08 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 9/4/2025

Fixes: #20238

Changes the to_field_name from name to address for the outside_ip selector in the VPN Tunnel Termination bulk import form. This aligns with how other IP references are resolved and fixes the import error:

outside_ip: "name" is an invalid accessor field name.

After this change, imports like the example below work as expected:

tunnel role outside_ip virtual_machine termination
tunnel peer 1.1.1.1/32 vm int0

This ensures proper mapping and validation of IP addresses during bulk import.

*Originally created by @pheus on 9/4/2025* ### Fixes: #20238 Changes the `to_field_name` from `name` to `address` for the `outside_ip` selector in the VPN **Tunnel Termination** bulk import form. This aligns with how other IP references are resolved and fixes the import error: > `outside_ip: "name" is an invalid accessor field name.` After this change, imports like the example below work as expected: ```text tunnel role outside_ip virtual_machine termination tunnel peer 1.1.1.1/32 vm int0 ``` This ensures proper mapping and validation of IP addresses during bulk import.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1329