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

Extend Virtual Interface functionality to better support SRIOV Virtual Functions #5102

Closed
GR360RY opened this issue Sep 6, 2020 · 2 comments

Comments

@GR360RY
Copy link

GR360RY commented Sep 6, 2020

Environment

  • Python version: 3.8.5
  • NetBox version: 2.8.6

Proposed Functionality

Add ability to specify "Parent Interface" for "Virtual" Interface Type. Allow "Virtual" Interface type to be part of the LAG interface. Use similar UI as for setting "Parent Lag".

See mockup below:

Screen Shot 2020-09-06 at 8 42 49

Screen Shot 2020-09-06 at 8 24 30

Use Case

In my case SRIOV Virtual Functions are used for Network Adapters (10, 50 and 100Gbit/s) to simplify management, partition traffic and allow granular bandwidth control. For all intends and purposes the virtual function interface behaves similarly to a regular interface that is connected to the switch (with its own MAC, IP and VLAN), but it shares the “same link” as a parent interface (physical function).

Being able to assign an optional "Parent Interface" to the "Virtual" one will greatly simplify the process of debugging network issues, as I will be able find the exact parent interface the virtual interface "resides on". Together with that, I use virtual functions as part of the bond interface and the current virtual interface model prevents the virtual interface to be part of the LAG.

As a bonus feature this will also allow to model shared BMC/IMPI interfaces closer to the real world scenario without converting Interface Mac Address field to list as proposed in #4867.

Database Changes

TBD

External Dependencies

None

@candlerb
Copy link
Contributor

candlerb commented Oct 6, 2020

Relates to #1519 (associating a virtual interface to a parent physical interface)

@jeremystretch
Copy link
Member

Seems like this would be addressed by #1519, so I'm going to close this out. Please feel free to add any additional comments/concerns under that issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants