Skip to main content

Microservice import into netbox devices in production

Project description

https://travis-ci.org/Anthony25/netbox-netprod-importer.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 the current information system. It connects to a given list of network devices and 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 Online.net 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.4 to 3.7

Contributors

Tool initially developed by Online.net .

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_netprod_importer-0.1.1.tar.gz (16.7 kB view details)

Uploaded Source

File details

Details for the file netbox_netprod_importer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for netbox_netprod_importer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab96f61a9f36c6582d4f2cbd420abc3220de08d342cc80a54e39a1a9a5499884
MD5 1920213e827c9b385d45a42901548076
BLAKE2b-256 5827e3590dcf2f66b6fd5faae6d66fda4e2a528d86e7c678ed6743c6e5fe3ae6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page