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

Uploaded Source

Built Distribution

netbox_devicetype_importer-0.0.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox-devicetype-importer-0.0.3.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for netbox-devicetype-importer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d6d6593eb5bb644f64c26c66e7d9f261f80c6868ec3ae02efbe579fc123732cb
MD5 d7640404c0f4864e86b22d182d255549
BLAKE2b-256 630bbace3436ef78ab64530f46cac273c70009a7eda631492276628cf32337da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netbox_devicetype_importer-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for netbox_devicetype_importer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ae72082b32e2d71e5201e12f74029ed012f5a89a4ab218048973dfbcbb72ea3
MD5 8c09bbb516f6be0d509b1fa33de4169f
BLAKE2b-256 3ab14d17fe6416c6be08bfaeae97638232f25fd126886d075db945b47d104410

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