Hi all,
we do use netbox now for a bit after entering the majority of our
devices via a script we cobbled together along with CSV files for serial
numbers and other bits and pieces - I never really appreciated hand-held
laser scanners before doing this ;-).
However, I find entering individual devices a bit of a pain, especially
as I only do it so rarely that I always end up having a hard time to get
it right through the various layers of device/interface/IP addresses
along with their types, tags, ... on my first try.
I am currently thinking about putting the variable bits into YAML/JSON
and write a small script to enter that information into netbox along
with static or derived information and then simple re-use the once
created file as a template.
But before going back practicing Python again, I wanted to at least ask
here, how people go about this? Using the built-in interfaces, uploading
CSV files or something I completely overlooked and thus making a total
fool out of myself with this question here?
Cheers and thanks a lot in advance for any insight!
Carsten
PS: Typical host I would want to add:
Device with name and location (single tenent/site), device type, serial
number, asset tag, role, custom field, tags.
Typically three to four interfaces where two may be LACP aggregated and
one is an out of band port. Usually, each logical iface will only have a
single IP address from different hierarchies.
--
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
Callinstraße 38, 30167 Hannover, Germany, Phone
+49 511 762 17185