[PR #11075] [MERGED] 11000 improve yaml import #13736

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11075
Author: @arthanson
Created: 12/1/2022
Status: Merged
Merged: 12/2/2022
Merged by: @jeremystretch

Base: featureHead: 11000-improve-yaml-import


📝 Commits (3)

📊 Changes

1 file changed (+26 additions, -1 deletions)

View changed files

📝 netbox/utilities/forms/forms.py (+26 -1)

📄 Description

Fixes: #11000

Makes the yaml import code more flexible so it can support a list of items as well as multiple documents in the input. Tested with the export of device_types and it worked correctly as well as a list of ip-addresses. See bug report for more examples.


🔄 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/11075 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 12/1/2022 **Status:** ✅ Merged **Merged:** 12/2/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `11000-improve-yaml-import` --- ### 📝 Commits (3) - [`d6e3ad0`](https://github.com/netbox-community/netbox/commit/d6e3ad098d70c4293d54f7c6194d755f18840bf1) 11000 improve yaml import - [`c07b0f7`](https://github.com/netbox-community/netbox/commit/c07b0f7b9bfd9c741de8aaf2e766b8dcfe3f2d55) 11000 add commenting - [`fee94ac`](https://github.com/netbox-community/netbox/commit/fee94ac2a80244c2d109fcd1d77ed14b4649d55f) 11000 add commenting ### 📊 Changes **1 file changed** (+26 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/forms/forms.py` (+26 -1) </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: #11000 <!-- Please include a summary of the proposed changes below. --> Makes the yaml import code more flexible so it can support a list of items as well as multiple documents in the input. Tested with the export of device_types and it worked correctly as well as a list of ip-addresses. See bug report for more examples. --- <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:20:31 +01:00
adam closed this issue 2025-12-29 23:20:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13736