[PR #19121] [CLOSED] Fixes #19120 Add Prefix and IP parent/child fields to Graphql #15535

Closed
opened 2025-12-30 00:22:32 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19121
Author: @clinta
Created: 4/9/2025
Status: Closed

Base: mainHead: feat/ip-child-parent


📝 Commits (5)

  • 006c22a Add parent_prefixes to graphql IPAddressType
  • 052f1db more child and parent fields for prefixes and addresses
  • 362273d first avaliable fields
  • d6e7e59 ordering for child and parent prefixes
  • e2b140c filters to limit based on proximity

📊 Changes

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

View changed files

📝 netbox/ipam/graphql/types.py (+111 -0)

📄 Description

Fixes: #19120

Adds fields to the PrefixType child_prefixes, parent_prefixes and child_ip_addresses. And adds parent_prefixes to the IPAddressType.


🔄 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/19121 **Author:** [@clinta](https://github.com/clinta) **Created:** 4/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/ip-child-parent` --- ### 📝 Commits (5) - [`006c22a`](https://github.com/netbox-community/netbox/commit/006c22a54f210280a7e4e67bb1aa2868d1c46a03) Add parent_prefixes to graphql IPAddressType - [`052f1db`](https://github.com/netbox-community/netbox/commit/052f1dbb7ca707db732cab09763090381db06407) more child and parent fields for prefixes and addresses - [`362273d`](https://github.com/netbox-community/netbox/commit/362273dedad83065ddc36b9e9c5b749dcb7c79c9) first avaliable fields - [`d6e7e59`](https://github.com/netbox-community/netbox/commit/d6e7e59c96c34cf2666536895ded3356927525c3) ordering for child and parent prefixes - [`e2b140c`](https://github.com/netbox-community/netbox/commit/e2b140cd0a090e39c4b9299f125f022a293e30c4) filters to limit based on proximity ### 📊 Changes **1 file changed** (+111 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/graphql/types.py` (+111 -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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #19120 <!-- Please include a summary of the proposed changes below. --> Adds fields to the PrefixType `child_prefixes`, `parent_prefixes` and `child_ip_addresses`. And adds `parent_prefixes` to the IPAddressType. --- <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-30 00:22:32 +01:00
adam closed this issue 2025-12-30 00:22: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#15535