Easily import Device and Module types from GitHub repo
Project description
Netbox DeviceType/ModuleType Import Plugin
NetBox plugin for easy import DeviceType and ModuleType from NetBox Device Type Library. This is the continuation of the Netbox DeviceType Import Plugin app.
Description
The plugin uses GitHub GraphQL API to load DeviceType and ModuleType 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
| NetBox Version | Plugin Version |
|---|---|
| 3.4.x | 0.0.x |
| 3.5.x | 0.1.x |
| 3.6.x | 0.2.x |
| 3.7.x | 0.3.x |
| 4.0.x | 0.4.x |
| 4.1.x | 0.5.x |
| 4.2.x | 0.6.x |
| 4.3.x | 0.7.x |
| 4.4.x | 0.8.x |
Installation
- Install NetBox as per NetBox documentation
- Add to local_requirements.txt:
netbox-metatype-importer
- Install requirements:
./venv/bin/pip install -r local_requirements.txt - Add to PLUGINS in NetBox configuration:
'netbox_metatype_importer',
- Run migration:
./venv/bin/python netbox/manage.py migrate
Configuration
The following options are available in the configuration file:
branch- Type:
String - Description: Branch of the NetBox Device Type Library repo
- Default:
master
- Type:
github_token- Type:
String - Description: GitHub personal access token
- Type:
repo- Type:
String - Description: Name of the NetBox Device Type Library repo
- Default:
devicetype-library
- Type:
repo_owner- Type:
String - Description: Owner of the NetBox Device Type Library repo
- Default:
netbox-community
- Type:
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_metatype_importer-0.8.1.tar.gz.
File metadata
- Download URL: netbox_metatype_importer-0.8.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dffdb85803a3ce2077049f431a3cc69f26ff3f5d841ae3b5dcea27452430995
|
|
| MD5 |
6f07ba15305b0618c11694f4e1858279
|
|
| BLAKE2b-256 |
5527006ab8fec3463fd1ae669b19a875ac9d45c9d05404a05ad040e93112d63a
|
File details
Details for the file netbox_metatype_importer-0.8.1-py3-none-any.whl.
File metadata
- Download URL: netbox_metatype_importer-0.8.1-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7fad2887741371fc784d3603b9d762fb8d8a9993cb1d0c1dcfddfdd087f08cd
|
|
| MD5 |
5750b0ff491e38bdd7a500faa992d517
|
|
| BLAKE2b-256 |
92a7be6d70838fcf6665e21531029b59c7415e6b9908b63fb0324586852586ae
|