Community Library
authors: [Wolf-Noble]
categories: [ ‘Networking’ ]
slug: ’networking/netbox/ipam/templates/community-library’
title: ‘community-library’
tags: [ IPAM, Networking, NetBox]
date: 2022-08-01
geekdocAlign: ‘center’
geekdocBreadcrumb: true
summary: “Netbox exploration”
geekdocFlatSection: false
geekdocNav: true
kind: ‘page’ #values are page, home, section, taxonomy, or term.
type: ‘docs’
There’s some pretty neat stuff here.
they made it real simple for us:
https://gitlab.wolfspyre.io/mirrored_repos/netbox-community/devicetype-library.git
https://github.com/minitriga/Netbox-Device-Type-Library-Import
https://github.com/minitriga/Netbox-Device-Type-Library-Import#docker-build
The container supports the following env var as configuration :
REPO_URL
, the repo to look for device types (defaults to https://github.com/netbox-community/devicetype-library.git)
REPO_BRANCH
, the branch to check out if appropriate, defaults to master.
NETBOX_URL, used to access netbox
NETBOX_TOKEN, token for accessing netbox
VENDORS, a comma-separated list of vendors to import (defaults to None)
docker run -e “REPO_URL=https://gitlab.wolfspyre.io/mirrored_repos/netbox-community/devicetype-library.git” -e “NETBOX_URL=http://pandora/” -e “NETBOX_TOKEN=918359bbc0101b0828a25067a449a80b58227179” -e “VENDORS=3Com,A10,ActionTec,Adtran,Alcatel-Lucent,‘Allied Telesis’,Alpha,APC,Arista,Aruba,AVM,Avocent,Brocade,Calix,‘Check Point’,Ciena,Cisco,Citrix,Colable,CyberPower,D-link,Deciso,Dell,Delta,Digi,‘Digital Loggers’,Eaton,Edgecore,Eltex,‘Extreme Networks’,F5,Factor-TS,Fortinet,FS,Fujitsu,Generic,HPE,Huawei,IBM,Infinera,Infoblox,Infotecs,Intel,Juniper,LANCOM,Lenovo,Leviton,Mellanox,MikroTik,‘Mimosa Networks’,neousys,NetApp,Netgear,Netonix,Nokia,Nvidia,Opengear,‘Palo Alto’,Panduit,Parks,Peplink,QCT,QNAP,Qotom,Raritan,‘Raspberry Pi’,Riverbed,‘Rockwell Automation’,‘Rohde & Schwarz’,SNR,‘Solid Optics’,SonicWall,Supermicro,Synology,Testing,TP-Link,TrendNet,TrippLite,Ubiquiti,V-Solution,Vertiv,WTI,ZPE,ZTE” ghcr.io/minitriga/netbox-device-type-library-import
Script took 0:17:17.733987 to run 1418 devices created 38907 interfaces/ports updated 66 manufacturers created root@pandora-01:/data/netbox# docker run -e “REPO_URL=https://gitlab.wolfspyre.io/mirrored_repos/netbox-community/devicetype-library.git” -e “NETBOX_URL=http://pandora/” -e “NETBOX_TOKEN=918359bbc0101b0828a25067a449a80b58227179” -e “VENDORS=3Com,A10,ActionTec,Adtran,Alcatel-Lucent,‘Allied Telesis’,Alpha,APC,Arista,Aruba,AVM,Avocent,Brocade,Calix,‘Check Point’,Ciena,Cisco,Citrix,Colable,CyberPower,D-link,Deciso,Dell,Delta,Digi,‘Digital Loggers’,Eaton,Edgecore,Eltex,‘Extreme Networks’,F5,Factor-TS,Fortinet,FS,Fujitsu,Generic,HPE,Huawei,IBM,Infinera,Infoblox,Infotecs,Intel,Juniper,LANCOM,Lenovo,Leviton,Mellanox,MikroTik,‘Mimosa Networks’,neousys,NetApp,Netgear,Netonix,Nokia,Nvidia,Opengear,‘Palo Alto’,Panduit,Parks,Peplink,QCT,QNAP,Qotom,Raritan,‘Raspberry Pi’,Riverbed,‘Rockwell Automation’,‘Rohde & Schwarz’,SNR,‘Solid Optics’,SonicWall,Supermicro,Synology,Testing,TP-Link,TrendNet,TrippLite,Ubiquiti,V-Solution,Vertiv,WTI,ZPE,ZTE” ghcr.io/minitriga/netbox-device-type-library-import
https://github.com/netbox-community/devicetype-library https://github.com/minitriga/Netbox-Device-Type-Library-Import