NetBox plugin for easy import DeviceType and ModuleType from NetBox Device Type Library. This is the continuation of the Netbox DeviceType Import Plugin app.
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."
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 |
netbox-metatype-importer
./venv/bin/pip install -r local_requirements.txt
'netbox_metatype_importer',
./venv/bin/python netbox/manage.py migrate
The following options are available in the configuration file:
branch
String
master
github_token
String
repo
String
devicetype-library
repo_owner
String
netbox-community