Skip to content

Set VRF for available IPs to same VRF as parent prefix #5703

@gstorme

Description

@gstorme

Environment

  • Python version: 3.7.3
  • NetBox version: 2.10.1

Steps to Reproduce

  1. Create prefix in VRF Global
  2. Change VRF of the prefix to a specific VRF
  3. Go to /ipam/prefixes/{prefix-id}/ip-addresses/

Expected Behavior

The available IP's are preset to the VRF of the parent prefix.
When clicking the "x available IPs" button, it will create an IP with the VRF of the parent prefix.

When using the button "+ add an ip address", the VRF is set correctly since it's redirecting to /ipam/ip-addresses/add/?address=172.16.20.6/24&vrf=4&tenant_group=&tenant=

Observed Behavior

The available IP's are still linked to VRF Global.
When clicking the "x available IPs" button, it will create an IP with VRF Global.

image

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions