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 Beta: This plugin is for NetBox 3.5 (Beta)
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.
While this is still in development and not yet on pypi you can install with pip:
$ source /opt/netbox/venv/bin/activate
(venv) pip install git+https://github.com/netbox-community/netbox-napalm
or by adding to your local_requirements.txt
or plugin_requirements.txt
(netbox-docker):
(venv) git+https://github.com/netbox-community/netbox-napalm
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6864ae14d8840f0233126b59598f58a8aa82503e0dee786e7a1f8cd80d3e1d90 |
|
MD5 | c7f943f3005d94ae988719a2bf1fcd7b |
|
BLAKE2b-256 | 9c32d9af7e1b18ee05e2fc829fea9e3a4501f55c1cea6af0f97ef99842612818 |
Hashes for netbox_napalm_plugin-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c580a644a8d2e40a416b24a4ffb4ccaba386d08bf14225788bc5713709250c60 |
|
MD5 | d9f00f57ddc8fe5737e0907348670431 |
|
BLAKE2b-256 | b4da8a958551ff48f594dad236f68d1f48e6b7b4cb56b31de93b7d93a41ed8ab |