NetBox plugin for SWUpdate.
Reason this release was yanked:
security
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.103 |
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.103.tar.gz
.
File metadata
- Download URL: netbox_swupdate-0.0.1.103.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6257d2b42032f4300aaebd26f5e11e2dd78cffb8331fedbaecaecc3a312c199f |
|
MD5 | 04d8a6f5f27b3f630da71ff85e104f71 |
|
BLAKE2b-256 | 52e2fdef12b9dd4f9df7b8f5c29759100a60931854066168f5798c8cdd498716 |
File details
Details for the file netbox_swupdate-0.0.1.103-py2.py3-none-any.whl
.
File metadata
- Download URL: netbox_swupdate-0.0.1.103-py2.py3-none-any.whl
- Upload date:
- Size: 38.6 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 | d76f9ec8bf2dbca8e2cb9c980f26265efc961336e64faadaf147f7157eaed091 |
|
MD5 | 4fefdf461f9822f2b1e4e2ece725edf6 |
|
BLAKE2b-256 | ef22c0ab46f654cc615fad3c6a14b23b46de44e0816949888f6ff71b216e8331 |