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/.
Features
The features the plugin provides should be listed here.
Compatibility
:warning: NetBox 3.5: This plugin is for NetBox 3.5
NetBox Version | Plugin Version |
---|---|
3.5 | 0.1.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
Hashes for netbox_napalm_plugin-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b15b1bc25465b3d81b3fd7eef508628f6599eaeaa39a83d88f4a096d9421ad6 |
|
MD5 | 7245f40b13f760e3bb961f98a102c9ae |
|
BLAKE2b-256 | a1e141930c46e3969a4d972485b503a297281a00c7bc686d0c21273b2710cc06 |
Hashes for netbox_napalm_plugin-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa23336683f877fd53d5ce6590c9fb5ef95bec707775c33e85869e1bfe9f18df |
|
MD5 | f5642de4b31f02ed19ac5b25f2156dce |
|
BLAKE2b-256 | ec67847ed9d1e647d8c0d8bd81ffed172284f7f42969c94e508bcc5685612c52 |