Skip to content

Conversation

@pheus
Copy link
Contributor

@pheus pheus commented Sep 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.

Changes the value of `to_field_name` from `name` to `address` in the
VPN bulk import form. This ensures proper mapping and validation for
IP address selection during the bulk import process.

Closes netbox-community#20238
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

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

Thanks @pheus!

@jeremystretch jeremystretch merged commit 399d51b into netbox-community:main Sep 4, 2025
7 checks passed
@pheus pheus deleted the 20238-fix-outside-ip-for-tunnel-termination-bulk-import branch September 4, 2025 20:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tunnel Termination Bulk Import fails when importing outside_ip

2 participants