Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPAM Overhaul: Assign IP Address to Multiple Interfaces #2403

Closed
10 tasks done
Tracked by #1032
martin-networker opened this issue Sep 12, 2022 · 1 comment
Closed
10 tasks done
Tracked by #1032

IPAM Overhaul: Assign IP Address to Multiple Interfaces #2403

martin-networker opened this issue Sep 12, 2022 · 1 comment
Labels
epic A collection issues ultimately aligning to the same goal/outcome. type: feature Introduction of new or enhanced functionality to the application
Milestone

Comments

@martin-networker
Copy link

martin-networker commented Sep 12, 2022

TODO

  1. type: feature
    glennmatthews
  2. type: feature
    gsnider2195
  3. epic type: feature

High Priority

  1. 0 of 2
    type: feature
    HanlinMiao
  2. type: feature
    glennmatthews
  3. type: feature
    timizuoebideri1
  4. type: feature
    HanlinMiao
  5. type: feature
    gsnider2195
  6. type: housekeeping
    timizuoebideri1
  7. type: bug
    HanlinMiao

As ...

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:

  1. Assign shared IP address to one device:
    This will be incorrect information and it will lead to confusions and cause mistakes.
  2. Create a custom field for the interface object that points to the IP address object:
    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.
  3. Create a One-To-Many relationship which will connect IP address to multiple interfaces:
    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.

  • DCIM
  • IPAM
  • Virtualization

Database Changes

Yes: change of current IP address model.

External Dependencies

No response

@martin-networker martin-networker added the type: feature Introduction of new or enhanced functionality to the application label Sep 12, 2022
@bryanculver bryanculver added this to the v2.0.0 milestone Nov 15, 2022
@bryanculver bryanculver mentioned this issue Nov 15, 2022
6 tasks
@bryanculver bryanculver added the epic A collection issues ultimately aligning to the same goal/outcome. label Jan 30, 2023
@bryanculver bryanculver changed the title Assignment of IP address to multiple interfaces Epic: Assignment of IP address to multiple interfaces Feb 1, 2023
@bryanculver bryanculver changed the title Epic: Assignment of IP address to multiple interfaces IPAM Overhaul: Assignment IP Address to Multiple Interfaces Mar 21, 2023
@bryanculver bryanculver changed the title IPAM Overhaul: Assignment IP Address to Multiple Interfaces IPAM Overhaul: Assign IP Address to Multiple Interfaces May 19, 2023
@bryanculver
Copy link
Member

Medium to low priority issues have been moved to "IP-Interface M2M Enhancements" epic in Zenhub. To be prioritized and committed to accordingly.

Closing as #3636 is in flight and last open issue of this epic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
epic A collection issues ultimately aligning to the same goal/outcome. type: feature Introduction of new or enhanced functionality to the application
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants