netbox-community / Device-Type-Library-Import

This library is intended to assist with importing device and module types into NetBox from the NetBox Community DeviceType-Library
https://github.com/netbox-community/devicetype-library
MIT License
265 stars 81 forks source link

FR create objects with a specific tag set #104

Open gurubert opened 1 year ago

gurubert commented 1 year ago

I would like to see the possibility to specify a NetBox tag on the command line that is then set on every object that gets created. This way the imported device types etc are easily told apart from other device types etc.

danner26 commented 1 year ago

Are you saying that you'd like a switch to tag all imported devices/modules? For instance with imported-devicetype-library as an example?

gurubert commented 1 year ago

Yes, exactly.

danner26 commented 1 year ago

Makes sense to me! We would need to create the tag first, and then utilize it.. I will have to look into this but if you want to take a crack feel free to