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
Built Distribution
File details
Details for the file netbox-devicetype-importer-0.0.4.tar.gz
.
File metadata
- Download URL: netbox-devicetype-importer-0.0.4.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffb54bb4e4442aa756be14936f9bf982ec1536b6fb8f49debd4b38e8d687ed7 |
|
MD5 | 4f63327e66df19d6d89c40a13f13aec5 |
|
BLAKE2b-256 | ac0076f5ce979050ecbf7a6756b489b3772e96817941da49a127c4a3cafc48b4 |
File details
Details for the file netbox_devicetype_importer-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: netbox_devicetype_importer-0.0.4-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7dd683333f70f885141c5191b6e230451d2adaa2deb744148d51c5a68f3e86 |
|
MD5 | dcf2c4e515a306f6a4ac66ce619a2c65 |
|
BLAKE2b-256 | 24ca560f0a3d10d750fc2820da4ce5d7f924eb819b147bb993f51784efe74eaf |