Microservice import into netbox devices in production
Project description
netbox-netprod-importer is a tool dedicated to help moving your current knowledge base to Netbox as an IPAM/DCIM, independently of your current information system. It connects to a given list of network devices, parse their status and configuration to import them into Netbox like they are currently configured.
It is thought to be generic and infrastructure agnostic. It means that imported data will probably need to be adapted by some custom scripts, like the specification of roles, tennant and other properties on objects.
Used by Scaleway on more than 5000 network devices.
Documentation
Documentation is available here.
Features
- Device’s data:
Fetch interfaces (physical & virtual):
Try to guess the interface form factor (more info in the documentation)
MTU
MAC Address
Description
Parent LAG
Enabled/Disabled
IPv4/IPv6
Serial number
Main IPv4/IPv6
- Devices interconnections:
Build an interconnection graph by using LLDP to add (and optionally clean) interconnections between devices in Netbox
Compatibility
Tested on:
Cisco IOS (catalyst, 2960)
Cisco Nexus 9000
Cisco ASR (but no specific parser written, some features are not available)
Juniper
Installation
Run:
pip3 install netbox-netprod-importer
netbox-netprod-importer is tested under python 3.5 to 3.7
Contributors
Tool initially developed by Scaleway .
Anthony Ruhier <anthony.ruhier@gmail.com>
License
Tool under the GPLv3 license. Do not hesitate to report bugs, ask me some questions or do some pull request if you want to!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file netbox_netprod_importer-0.3.3.tar.gz
.
File metadata
- Download URL: netbox_netprod_importer-0.3.3.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b440cf46ea4abd6ba9d269cf41c989570ece87a8eae941324f10354a4bce07 |
|
MD5 | b06d255c29904233c075172a4de514f5 |
|
BLAKE2b-256 | 76584d936708dacbd8f5be86e53d93124b926bfa7cf90ecb9f40c8d76312bf47 |