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

Uploaded Source

Built Distribution

netbox_devicetype_importer-0.0.5-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for netbox-devicetype-importer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fabb939f1caad7fdd0a931390f5782d4b243191ae2144363fee758a3daa1140c
MD5 425f401968e5d70f39c6f8fd8b3e8c96
BLAKE2b-256 3f0fa2a3965b6812cf42432aec9d0085787bb5b1ec48cc9cfb702b5a1191798c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_devicetype_importer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b333633b5dc3b932e096506e5908306bb14f085f767e96a3c074f4624348de84
MD5 058c806faa1e82b2e29b3bbfc5a95212
BLAKE2b-256 2aac121199b14b34a7622033c922524befb0e3096390bf11345d95360ee0d606

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