IPAM Overhaul: Assign IP Address to Multiple Interfaces #2403
Labels
epic
A collection issues ultimately aligning to the same goal/outcome.
type: feature
Introduction of new or enhanced functionality to the application
Milestone
TODO
High Priority
clean
, ORM Enforcement #3637IPAddressToInterface
:primary_for_device
was Removed, Left in Data Migration #4104IPAddress
to aVirtualMachine
#3536As ...
Austin - Network Automation Engineer
I want ...
To be able to assign one IP address to multiple interfaces/devices.
So that ...
We can assign anycast and other shared IP addresses to all interfaces/devices which has this IP address assigned instead of assigning this IP.
I know this is done when...
Reason for request:
In our infrastructure we use anycast IP addresses extensively. For example in on DC around two hundred switches share about 40 anycast IP addresses. Another case is for NVE interface switches in VPC cluster has to share one IP so in every VPC cluster two switches share one IP.
Current Nautobot options:
This will be incorrect information and it will lead to confusions and cause mistakes.
This will not give us any connection between IP and interfaces. User or script would have to go through all interfaces of all devices to find out where is IP assigned which makes it unusable.
IP address is not seen in Interfaces view (if you open Device and switch to tab interfaces) you must open every interface to find where it is assigned.
IP address does not have assignment (Operational Details > Assignment).
This means the relationship is not visible from Interfaces view nor from IP address view.
Possible solution:
Change assignment of IPs from one-to-one to one-to-many. This would be a breaking change and require a database change.
In GUI it would be great to keep the current functionality and create condition:
a) if IP is assigned to only one Interface:
in Operational Details > Assignment it will show the one Device directly (just like it is now)
b) if IP is assigned to more than one Interface (or maybe it can be based on Role so if IP Role is Anycast/Shared/etc.):
Operational Details > Assignment will show something like Relationship is showing. Parameter interfaces and value will be link (x interfaces) which would open new window IP Address Associations (similar to Relationship Associations).
If the condition would cause difficulty the b) option would be sufficient.
If you have different idea how to achieve this we can discuss it in comments.
Optional - Feature groups this request pertains to.
Database Changes
Yes: change of current IP address model.
External Dependencies
No response
The text was updated successfully, but these errors were encountered: