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. You don't need to grant any permissions to the token.
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
Built Distribution
File details
Details for the file netbox-devicetype-importer-0.0.6.tar.gz
.
File metadata
- Download URL: netbox-devicetype-importer-0.0.6.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca68b75993e98eb6fdc835e82795a5b7f8bddc2ae323a55c5dbe472018ed1832 |
|
MD5 | dd665e3b160842d3931fac789a52cbb8 |
|
BLAKE2b-256 | 76ecfc59f8197b8066817dc239ca4ca3bf57f7f77a5de1f0647671edc6fb7207 |
File details
Details for the file netbox_devicetype_importer-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: netbox_devicetype_importer-0.0.6-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f9c2a2ccb485eee358329f4ff42e654740a87ab68928775496bac6bcec2df7c |
|
MD5 | ac293de68c6e83391590346220ad3a31 |
|
BLAKE2b-256 | eae56559698648643b06673955f463450eea45c44b24ebcb7dfdacc126760bd9 |