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

Order of MAC and MTU fields inconsistent between Add Interfaces and Edit Interface pages #1889

Closed
sscotter opened this issue Feb 16, 2018 · 1 comment

Comments

@sscotter
Copy link

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version: 2.7.9
  • NetBox version: 2.2.9

Description

Order of MAC and MTU fields inconsistent between Add Interfaces and Edit Interface pages. Affects both Devices and Virtual Machines.

On Add Interface Pages (eg https://hostname/dcim/devices/PK/interfaces/add/ and https://hostname/virtualization/virtual-machines/PK/interfaces/add/) the order of the fields is

Name
MTU
MAC Address
Description

On Edit Interface Pages (eg https://hostname/dcim/interfaces/PK/edit/ and https://hostname/virtualization/vm-interfaces/PK/edit/) the order of the fields is
Name
MAC Address
MTU
Description

It's a small subtle problem but I notice it when I'm creating say two or more interfaces on a device/vm using numeric ranges for bulk creating (including MAC address). I then go to edit the the 2nd, 3rd interface etc to correct the MAC address. I often end up entering the MAC in to the MTU field.

@sscotter
Copy link
Author

Hi,

The change you've made has corrected the issue with Devices, but the problem appears to persist with Virtual Machines. I believe a similar change is required in /netbox/virtualization/forms.py.

Thanks

Steve

@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
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

1 participant