Add Bulk Edit to ConfigContext #2045

Closed
opened 2025-12-29 17:21:44 +01:00 by adam · 0 comments
Owner

Originally created by @bdlamprecht on GitHub (Oct 5, 2018).

Environment

  • Python version: 3.6
  • NetBox version: 2.4.5

Proposed Functionality

Similar to the way that you can bulk edit devices, device-types, ip-addresses, prefixes and others, I'd like to see if the same functionality can be added to config-contexts.

The only values that immediately make sense to enable bulk editing are weight and active. I could see the potential to include assignments as well, but I have a feeling that could be opening a "can of worms" that we don't want to deal with.

Use Case

As an example, this is a screenshot of my config-contexts in the WebUI:

config-contexts

Suppose I want to change the weight on all of them due to a change in structure, I would have to manually edit each one. If a bulk edit were enabled, this could be done much easier.

As another example, suppose I'm trying to resolve an issue with the way config-contexts are being rendered on a device, being able to bulk edit them to temporarily change the active status would be extremely helpful.

Database Changes

I don't believe there should be any as config-contexts are a primary model.

External Dependencies

None.

Originally created by @bdlamprecht on GitHub (Oct 5, 2018). ### Environment * Python version: 3.6 * NetBox version: 2.4.5 ### Proposed Functionality Similar to the way that you can bulk edit `devices`, `device-types`, `ip-addresses`, `prefixes` and others, I'd like to see if the same functionality can be added to `config-contexts`. The only values that **immediately** make sense to enable bulk editing are `weight` and `active`. I _could_ see the potential to include `assignments` as well, but I have a feeling that could be opening a "can of worms" that we don't want to deal with. ### Use Case As an example, this is a screenshot of my `config-contexts` in the WebUI: ![config-contexts](https://user-images.githubusercontent.com/7783306/46543964-8a360d00-c87f-11e8-96c6-bbc3c323e599.png) Suppose I want to change the `weight` on all of them due to a change in structure, I would have to manually edit each one. If a bulk edit were enabled, this could be done much easier. As another example, suppose I'm trying to resolve an issue with the way `config-contexts` are being rendered on a device, being able to bulk edit them to temporarily change the `active` status would be extremely helpful. ### Database Changes I don't believe there should be any as `config-contexts` are a primary model. ### External Dependencies None.
adam added the status: acceptedtype: feature labels 2025-12-29 17:21:44 +01:00
adam closed this issue 2025-12-29 17:21:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2045