Tunnel Termination Bulk Import fails when importing outside_ip #11563

Closed
opened 2025-12-29 21:46:50 +01:00 by adam · 1 comment
Owner

Originally created by @Chiniquy on GitHub (Sep 3, 2025).

Originally assigned to: @pheus on GitHub.

Deployment Type

NetBox Cloud

NetBox Version

v4.4.0

Python Version

3.10

Steps to Reproduce

  1. Create a VPN tunnel called "tunnel" with IPsec - Tunnel encapsulation
  2. Create a VM called "vm" at any site
  3. Create an interface on vm with the name "int0"
  4. Create an IP 1.1.1.1/32
  5. import the following into the Tunnel Termination Bulk Import window

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

Expected Behavior

I expect the import to work and a Tunnel Termination to be created.

Observed Behavior

I get the error: Record 1 outside_ip: "name" is an invalid accessor field name.

Other references to IP objects do not require a "name" field, so that seems a likely culprit.

Originally created by @Chiniquy on GitHub (Sep 3, 2025). Originally assigned to: @pheus on GitHub. ### Deployment Type NetBox Cloud ### NetBox Version v4.4.0 ### Python Version 3.10 ### Steps to Reproduce 1. Create a VPN tunnel called "tunnel" with IPsec - Tunnel encapsulation 2. Create a VM called "vm" at any site 3. Create an interface on vm with the name "int0" 4. Create an IP 1.1.1.1/32 5. import the following into the Tunnel Termination Bulk Import window tunnel role outside_ip virtual_machine termination tunnel peer 1.1.1.1/32 vm int0 ### Expected Behavior I expect the import to work and a Tunnel Termination to be created. ### Observed Behavior I get the error: Record 1 outside_ip: "name" is an invalid accessor field name. Other references to IP objects do not require a "name" field, so that seems a likely culprit.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:46:50 +01:00
adam closed this issue 2025-12-29 21:46:50 +01:00
Author
Owner

@pheus commented on GitHub (Sep 4, 2025):

I'd like to contribute this fix. Can you please assign it to me? Thanks

@pheus commented on GitHub (Sep 4, 2025): I'd like to contribute this fix. Can you please assign it to me? Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11563