Skip to main content

NetBox plugin for SWUpdate.

Reason this release was yanked:

secutiry

Project description

NetBox Napalm Plugin

NetBox plugin for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_swupdate-0.0.1.30.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

netbox_swupdate-0.0.1.30-py2.py3-none-any.whl (42.3 kB view details)

Uploaded Python 2 Python 3

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

Hashes for netbox_swupdate-0.0.1.30.tar.gz
Algorithm Hash digest
SHA256 a6273bdf32ecd6e48c8ba89ccfa668c5fdd69f2824f1762ae16f59026c71acfc
MD5 fc7a1303774adbf6455b6243f959585c
BLAKE2b-256 fabf3002ed09d5c2527f46e4e324efd08862221dc96a26e73540c9542264cafd

See more details on using hashes here.

File details

Details for the file netbox_swupdate-0.0.1.30-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_swupdate-0.0.1.30-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae630e62a04464663a6722576578851651d3d815832687c86368691ee7e93cea
MD5 2d48b0dd5989ba2a1d4ec408b5d0f873
BLAKE2b-256 0cae8a0a6bd9515923a796867782d7f40138f56bb26f0466306cf1d350c8034b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page