Skip to main content

Microservice import into netbox devices in production

Project description

https://travis-ci.org/aruhier/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.

Looking for a new maintainer

This project has be done initially for Online.net, a company I (@Anthony25) am not working for anymore. Therefore, I have now no need for this project, and will not be able to test any pull request.

If anyone is interested to maintain it, please contact me by email (my address can be found in my github profile).

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 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.2.0.2.tar.gz (20.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: netbox_netprod_importer-0.2.0.2.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for netbox_netprod_importer-0.2.0.2.tar.gz
Algorithm Hash digest
SHA256 24f627a5f258c3f8a2768391eccae8114c4c090f2da4a476203cddcd5def8b4b
MD5 2e1ad3bdf0a940c23a2e0c2956c847e8
BLAKE2b-256 fb3778e5fa858014662e1a90c949dee7e2ffaecff096fe67baf13564f206151d

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