NetBox plugin for SWUpdate.
Reason this release was yanked:
secutiry
Project description
NetBox Napalm Plugin
NetBox plugin for SWUpdate.
- Free software: Apache-2.0
- Documentation: https://netbox-community.github.io/netbox-swupdate/???.
Features
The features the plugin provides should be listed here.
Compatibility
:warning: NetBox 4.0.7: This plugin is for NetBox 4.0.7
NetBox Version | Plugin Version |
---|---|
4.0.7 | 0.0.1.30 |
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-swupdate
or by adding to your local_requirements.txt
or plugin_requirements.txt
(netbox-docker):
(venv) netbox-swupdate
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_swupdate'
]
Configure Plugin
Configure the plugin in configuration.py
under the PLUGINS_CONFIG
parameter.
PLUGINS_CONFIG = {
'netbox_swupdate': {
'SWUPDATE_USERNAME': 'xxx',
'SWUPDATE_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_swupdate-0.0.1.30.tar.gz
.
File metadata
- Download URL: netbox_swupdate-0.0.1.30.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6273bdf32ecd6e48c8ba89ccfa668c5fdd69f2824f1762ae16f59026c71acfc |
|
MD5 | fc7a1303774adbf6455b6243f959585c |
|
BLAKE2b-256 | fabf3002ed09d5c2527f46e4e324efd08862221dc96a26e73540c9542264cafd |
File details
Details for the file netbox_swupdate-0.0.1.30-py2.py3-none-any.whl
.
File metadata
- Download URL: netbox_swupdate-0.0.1.30-py2.py3-none-any.whl
- Upload date:
- Size: 42.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae630e62a04464663a6722576578851651d3d815832687c86368691ee7e93cea |
|
MD5 | 2d48b0dd5989ba2a1d4ec408b5d0f873 |
|
BLAKE2b-256 | 0cae8a0a6bd9515923a796867782d7f40138f56bb26f0466306cf1d350c8034b |