customizations icon indicating copy to clipboard operation
customizations copied to clipboard

Add netbox script to automatically build device type

Open rogeroger-yu opened this issue 5 years ago • 0 comments

The relevant PR is located at

device-type-auto-generate

How to use scripts to automatically create device types

1. Put script and device-types/ in the directory specified by netbox

# cp scripts/device_type_init.py /opt/netbox/netbox/scripts
# cp -r device-types /opt/netbox/netbox/scripts

2. Log in to the netbox interface, Enter Other->Scripts interface

3. Choose the way you need to create Device-Type

You can create all, or specify the Manufacturer to create. There are the following options, generated from the catalog

  • ALL
  • APC
  • Alcatel-Lucent
  • Arista
  • Avocent
  • Cisco
  • Citrix
  • CyberPower
  • Dell
  • Eaton
  • Extreme
  • FS
  • Factor-TS
  • Fortinet
  • Generic
  • HPE
  • Infoblox
  • Infotecs
  • Juniper
  • Lenovo
  • MikroTik
  • Netonix
  • Opengear
  • Palo Alto
  • Testing
  • TrendNet
  • TrippLite
  • Ubiquiti
  • WTI

Preview

image

rogeroger-yu avatar Aug 09 '20 04:08 rogeroger-yu