Skip to content

Poll data from network devices in production and import it into netbox

License

Notifications You must be signed in to change notification settings

VictorPavlushin/netbox-netdev-inventory

Repository files navigation

Netbox network production importer and inventory

https://travis-ci.org/VictorPavlushin/netbox-netdev-inventory.svg?branch=master

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.

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 and CDP to add (and optionally clean) interconnections between devices in Netbox

Compatibility

Tested on:

  • Cisco IOS (catalyst, 2960)
  • Cisco Nexus (6000, 9000)
  • Cisco ASR (but no specific parser written, some features are not available)
  • Juniper

Installation

Run:

pip3 install netbox-netdev-inventory

netbox-netdev-inventory is tested under python 3.5 to 3.7

Contributors

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!

About

Poll data from network devices in production and import it into netbox

Resources

License

Stars

Watchers

Forks

Packages

No packages published