[PR #10151] [MERGED] Add "Assign FHRP Group" to device-interfaces context menu #10038 #13569

Closed
opened 2025-12-29 23:19:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10151
Author: @arthanson
Created: 8/25/2022
Status: Merged
Merged: 8/25/2022
Merged by: @jeremystretch

Base: developHead: art-10039


📝 Commits (1)

  • e161dbe #10039 add assign FHRP group to device-interface context menu

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 netbox/dcim/tables/template_code.py (+3 -0)

📄 Description

Fixes: #10038

Adds an "Assign FHRP Group" to the context menu of devices-interfaces (see screenshot). Couple potential changes/questions:

  1. This is an add button, so I'm not sure of putting an "assignment" in here if there is a convention? Potentially rename it to "FHRP Group - Assign"
  2. The feature request also had "Add FHRP Group" going to a separate page that had tabs for each of add and assign. I didn't see any existing convention for this type of page currently? Would require refactoring of the code to avoid code-duplication.
  3. could add "Add FHRP Group" as a separate menu item - but that isn't tied at all to the particular interface so seems like an over-loading of the context menu?

assign-fhrp


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/10151 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 8/25/2022 **Status:** ✅ Merged **Merged:** 8/25/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `art-10039` --- ### 📝 Commits (1) - [`e161dbe`](https://github.com/netbox-community/netbox/commit/e161dbe04f8be41e81e6e1b125fc7c1e99e73eab) #10039 add assign FHRP group to device-interface context menu ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tables/template_code.py` (+3 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #10038 <!-- Please include a summary of the proposed changes below. --> Adds an "Assign FHRP Group" to the context menu of devices-interfaces (see screenshot). Couple potential changes/questions: 1. This is an add button, so I'm not sure of putting an "assignment" in here if there is a convention? Potentially rename it to "FHRP Group - Assign" 2. The feature request also had "Add FHRP Group" going to a separate page that had tabs for each of add and assign. I didn't see any existing convention for this type of page currently? Would require refactoring of the code to avoid code-duplication. 3. could add "Add FHRP Group" as a separate menu item - but that isn't tied at all to the particular interface so seems like an over-loading of the context menu? ![assign-fhrp](https://user-images.githubusercontent.com/99642/186532716-24f8f3f3-ca69-4246-85a6-77ef9c0bfd82.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:19:37 +01:00
adam closed this issue 2025-12-29 23:19:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13569