Skip to content

Tunnel Termination Bulk Import fails when importing outside_ip #20238

@Chiniquy

Description

@Chiniquy

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.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions