[PR #10101] [MERGED] #10037 add Child Interface to context menu #13553

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

📋 Pull Request Information

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

Base: developHead: art-10037


📝 Commits (2)

📊 Changes

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

View changed files

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

📄 Description

Fixes: #10037

Adds a "Child Interface" menu option to interface drop-down add button (see screenshot). As per request:

This will take you to the "Add interface" page, with:

The type set to "Virtual"
The parent set to the interface you came from
The name set to the name of the interface you came from, with a dot appended

child-interface


🔄 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/10101 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 8/23/2022 **Status:** ✅ Merged **Merged:** 8/23/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `art-10037` --- ### 📝 Commits (2) - [`0c7c61b`](https://github.com/netbox-community/netbox/commit/0c7c61b685560cfa886ff10fbb18853a27ad7587) #10037 add Child Interface to context menu - [`c11ca54`](https://github.com/netbox-community/netbox/commit/c11ca543e2f31723da7ce29c7062a4f99339398f) #10037 default type to virtual ### 📊 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: #10037 <!-- Please include a summary of the proposed changes below. --> Adds a "Child Interface" menu option to interface drop-down add button (see screenshot). As per request: This will take you to the "Add interface" page, with: The type set to "Virtual" The parent set to the interface you came from The name set to the name of the interface you came from, with a dot appended ![child-interface](https://user-images.githubusercontent.com/99642/186026962-52f05cb9-8c7e-4c7c-b1df-a7dba8d79b45.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:31 +01:00
adam closed this issue 2025-12-29 23:19:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13553