Ability to rename interfaces under types/devices #169

Closed
opened 2025-12-29 15:35:43 +01:00 by adam · 2 comments
Owner

Originally created by @bellwood on GitHub (Jul 7, 2016).

Rather than delete, recreate and re-associate connections it would be nice to be able to rename interfaces (e.g fa-0/1 <---> fa0/1 <---> FastEthernet0/1)

I already know there will be much discussion internally about the format and having basically loaded all my data up going back through it again for renaming would be tedius

Originally created by @bellwood on GitHub (Jul 7, 2016). Rather than delete, recreate and re-associate connections it would be nice to be able to rename interfaces (e.g fa-0/1 <---> fa0/1 <---> FastEthernet0/1) I already know there will be much discussion internally about the format and having basically loaded all my data up going back through it again for renaming would be tedius
adam closed this issue 2025-12-29 15:35:43 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 7, 2016):

Interfaces can be edited and renamed individually from the device view, at /dcim/interfaces/{pk}/edit/. They can also be renamed in bulk using the yet-to-be-documented shell. (For device types, it's easiest to simply delete and recreate interface templates.)

@jeremystretch commented on GitHub (Jul 7, 2016): Interfaces can be edited and renamed individually from the device view, at `/dcim/interfaces/{pk}/edit/`. They can also be renamed in bulk using the yet-to-be-documented shell. (For device types, it's easiest to simply delete and recreate interface templates.)
Author
Owner

@jeremystretch commented on GitHub (Jul 9, 2016):

Bulk editing of interfaces is probably best done through the shell. Going to close this issue and hopefully publish some documentation around the shell soon.

In practice, this should be a very rare occurrence, since interfaces should be named however they are referred to on the device. For example, Cisco IOS would call an interface "FastEthernet0/1"; although "fa0/1" can be used as a shortcut on the CLI, the interface is never referred to in this manner.

@jeremystretch commented on GitHub (Jul 9, 2016): Bulk editing of interfaces is probably best done through the shell. Going to close this issue and hopefully publish some documentation around the shell soon. In practice, this should be a very rare occurrence, since interfaces should be named however they are referred to on the device. For example, Cisco IOS would call an interface "FastEthernet0/1"; although "fa0/1" can be used as a shortcut on the CLI, the interface is never referred to in this manner.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#169