Missing information by exporting (IP-addresse, custom fields) #1379

Closed
opened 2025-12-29 16:31:55 +01:00 by adam · 2 comments
Owner

Originally created by @hansapils on GitHub (Nov 2, 2017).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.3-1
  • NetBox version: 2.2.2

Description

The problem is, that I can create virtual machines, add interfaces and assign IP-addresses. When I export the virtual machines, the Interfaces and the IP-addresses are missing. By exporting, I am loosing these informations.

I got the same problem on custom fields, they are not exported either.

I have no idea, if this is a bug or a missing feature. Do you think, there is anything I could do about it?

Originally created by @hansapils on GitHub (Nov 2, 2017). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. If none of the below apply, please raise your issue for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. ---> ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [x] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) --> ### Environment * Python version: 3.5.3-1 * NetBox version: 2.2.2 <!-- BUG REPORTS must include: * A list of the steps needed to reproduce the bug * A description of the expected behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description The problem is, that I can create virtual machines, add interfaces and assign IP-addresses. When I export the virtual machines, the Interfaces and the IP-addresses are missing. By exporting, I am loosing these informations. I got the same problem on custom fields, they are not exported either. I have no idea, if this is a bug or a missing feature. Do you think, there is anything I could do about it?
adam closed this issue 2025-12-29 16:31:56 +01:00
Author
Owner

@PeepOks commented on GitHub (Nov 3, 2017):

One way to solve problem is using export templates.
http://netbox.readthedocs.io/en/stable/data-model/extras/#export-templates

@PeepOks commented on GitHub (Nov 3, 2017): One way to solve problem is using export templates. http://netbox.readthedocs.io/en/stable/data-model/extras/#export-templates
Author
Owner

@jeremystretch commented on GitHub (Nov 3, 2017):

The built-in CSV export functionality includes only the type of object being exported, which is sufficient for many cases. As @PeepOks pointed out, you can easily create custom export templates to extend this functionality and export objects in whatever format you like.

@jeremystretch commented on GitHub (Nov 3, 2017): The built-in CSV export functionality includes only the type of object being exported, which is sufficient for many cases. As @PeepOks pointed out, you can easily create custom export templates to extend this functionality and export objects in whatever format you like.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1379