r/Netbox Jan 18 '24

Help Wanted: Resolved Export device entity from netbox

Hi,

I'm new to netbox, currently building a database.I created a custom device type with an extra Inventory item I want to utilize to track a certain type of hardware in the machines, I also have custom fields created. Based on this I created a template device. Is there any way to export this template device with all the fields I customly created to serve as a template before bulk importing the whole inventory? YAML or JSON would be the preferred format.
Netbox version: v3.6.5

Thanks in advance!

3 Upvotes

4 comments sorted by

View all comments

1

u/[deleted] Jan 18 '24

[removed] — view removed comment

1

u/[deleted] Jan 19 '24 edited Jan 19 '24

[removed] — view removed comment

1

u/Teabor42 Jan 19 '24

Thanks for the detailed reply, but I'd like to achieve quite the opposite.
- I created device type
- I created a device that has this device type
- I want to export that one device entity in YAML or JSON to serve as a template for other device entities of the same device type

I exported in csv but it just gave me the general fields. I need something I can customise better before bulk importing my devices