Add rename button in Device and Virtualiastion interface lists #7272

Closed
opened 2025-12-29 20:21:05 +01:00 by adam · 4 comments
Owner

Originally created by @pdenessen on GitHub (Nov 23, 2022).

NetBox version

v3.3.8

Feature type

Change to existing functionality

Proposed functionality

If we want to rename a selection of interfaces from a single device or VM then this is possible via the rename button in the interfaces list. If we have to rename the same interface of a number of devices then this is not possible as the "rename" button is not present in these views.

Use case

I have 39 VMs with an interface called "Management" these all needs to be renamed to "Management-old"

Add a "rename" button and functionality to the interface views under devices and Virtualization section, similar as they are present in the views of a single Device or VM

Database changes

Dont think this is needed.

External dependencies

None

Originally created by @pdenessen on GitHub (Nov 23, 2022). ### NetBox version v3.3.8 ### Feature type Change to existing functionality ### Proposed functionality If we want to rename a selection of interfaces from a single device or VM then this is possible via the rename button in the interfaces list. If we have to rename the same interface of a number of devices then this is not possible as the "rename" button is not present in these views. ### Use case I have 39 VMs with an interface called "Management" these all needs to be renamed to "Management-old" Add a "rename" button and functionality to the interface views under devices and Virtualization section, similar as they are present in the views of a single Device or VM ### Database changes Dont think this is needed. ### External dependencies None
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 20:21:05 +01:00
adam closed this issue 2025-12-29 20:21:05 +01:00
Author
Owner

@rganascim commented on GitHub (Mar 1, 2023):

I have a sugestion to solve this issue:

  • create a new action called bulk_rename to be used in the object_list.html template
  • add the new button model bulk_rename (html template and the def bulk_rename_button)
  • in every view that you want to "bulk rename", activate in the actions, e.g:
    actions = ('import', 'export', 'bulk_edit', 'bulk_delete', 'bulk_rename')
@rganascim commented on GitHub (Mar 1, 2023): I have a sugestion to solve this issue: - create a new action called _bulk_rename_ to be used in the object_list.html template - add the new button model bulk_rename (html template and the def bulk_rename_button) - in every view that you want to "bulk rename", activate in the actions, e.g: `actions = ('import', 'export', 'bulk_edit', 'bulk_delete', 'bulk_rename')`
Author
Owner

@rganascim commented on GitHub (Mar 11, 2023):

@jeremystretch could you check this solution? It adds the new action "bulk_rename" and can be used in any view.

@rganascim commented on GitHub (Mar 11, 2023): @jeremystretch could you check this solution? It adds the new action "bulk_rename" and can be used in any view.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 10, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 10, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jul 10, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jul 10, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7272