NetBox plugin for Napalm.
Project description
NetBox Napalm Plugin
NetBox plugin for Napalm.
- Free software: Apache-2.0
- Documentation: https://netbox-community.github.io/netbox-napalm-plugin/.
Features
The features the plugin provides should be listed here.
Compatibility
NetBox Version | Plugin Version |
---|---|
3.5 | 0.1.0 |
3.5.8 | 0.1.4 |
3.6.0 | 0.1.5 |
3.7.6 | 0.1.7 |
< 4.0.11 | 0.2.1 |
>= 4.1.0 | 0.3.0 |
Installation
For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.
$ source /opt/netbox/venv/bin/activate
(venv) pip install netbox-napalm-plugin
or by adding to your local_requirements.txt
or plugin_requirements.txt
(netbox-docker):
(venv) netbox-napalm-plugin
Enable the Plugin
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py
,
or if you use netbox-docker, your /configuration/plugins.py
file :
PLUGINS = [
'netbox_napalm_plugin'
]
Configure Plugin
Configure the plugin in configuration.py
under the PLUGINS_CONFIG
parameter.
PLUGINS_CONFIG = {
'netbox_napalm_plugin': {
'NAPALM_USERNAME': 'xxx',
'NAPALM_PASSWORD': 'yyy',
},
}
Run Database Migrations
Run the provided schema migrations:
(venv) $ cd /opt/netbox/netbox/
(venv) $ python3 manage.py migrate
Collect Static Files
Ensure the static files are copied to the static root directory with the collectstatic
management command:
(venv) $ cd /opt/netbox/netbox/
(venv) $ python3 manage.py collectstatic
Restart WSGI Service
Restart the WSGI service to load the new plugin:
# sudo systemctl restart netbox
Credits
Based on the NetBox plugin tutorial:
This package was created with Cookiecutter and the netbox-community/cookiecutter-netbox-plugin
project template.
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
File details
Details for the file netbox_napalm_plugin-0.3.0.tar.gz
.
File metadata
- Download URL: netbox_napalm_plugin-0.3.0.tar.gz
- Upload date:
- Size: 144.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f60a0b621a373bf904093e9688bbfc7c70dc06465fdd1c45864c6ce93486dfe |
|
MD5 | 56d2dc104ecbf029646aec118096dcaf |
|
BLAKE2b-256 | 601dfd9989daffa1e25b6e8d83300cc70cf02d8abe2a73ab915cf70424516b25 |
File details
Details for the file netbox_napalm_plugin-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: netbox_napalm_plugin-0.3.0-py3-none-any.whl
- Upload date:
- Size: 148.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44f61058c8c224c5a90537a842425ecc2c6432b7face0996bf91f7d5c7eb63f |
|
MD5 | 7f84c428e663bbfb204a3b6cc8d082f4 |
|
BLAKE2b-256 | 371ffbf22f4082a041fa15bf29b6e9677e63cad1d7c8a931664be57db7cabfe4 |