Skip to main content

Import DeviceTypes from github repo

Project description

Netbox DeviceType Import Plugin

NetBox plugin for easy import DeviceType from NetBox Device Type Library

Description

The plugin uses GitHub GraphQL API to load DeviceType from NetBox Device Type Library. The plugin loads only file tree representation from github repo and shows it as a table with vendor and model columns. DeviceType definitions files are loaded when you try to import selected models. To use GraphQL API you need to set GitHub personal access token in plugin settings. How to create the token, see "Creating a personal access token."

Compatibility

This plugin in compatible with NetBox 3.0 and later

Installation

The plugin is available as a Python package in pypi and can be installed with pip

pip install netbox-devicetype-importer

Enable the plugin in NetBox Configuration

PLUGINS = ['netbox_devicetype_importer']

Configuration

Put your GitHub personal access token to NetBox plugins config

PLUGINS_CONFIG = {
    'netbox_devicetype_importer': {
        'github_token': '<YOUR-GITHUB-TOKEN>'
    }
}

Screenshots

Future

  • Import device images from GitHub repo
  • Add a GitHub REST API client that allows this plugin to be used without the GitHub token

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-devicetype-importer-0.0.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file netbox-devicetype-importer-0.0.2.tar.gz.

File metadata

  • Download URL: netbox-devicetype-importer-0.0.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for netbox-devicetype-importer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 483e9163119c372c865bc46eb740fbd889f1e892e9135556fdaa09825180debe
MD5 626b179e09e0d43d33ed03c5d4e5097b
BLAKE2b-256 efca41106625af12d7f46d717c847566e31b37aef0667b9e169d0a4e239b5cde

See more details on using hashes here.

File details

Details for the file netbox_devicetype_importer-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: netbox_devicetype_importer-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for netbox_devicetype_importer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2789e55f15b004e41e94d254891e15dc479b1fdf80a4c5b9a00592e3667cdb0
MD5 caa001a2491d06b60e8eb7982998180e
BLAKE2b-256 c30f846df968b079f5c36450c69f5201379a540414744b9ab596ca428dee6e33

See more details on using hashes here.

Supported by

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