Skip to main content

NetBox plugin for Napalm.

Project description

NetBox Napalm Plugin

NetBox plugin for Napalm.

Features

The features the plugin provides should be listed here.

Compatibility

NetBox Version Plugin Version
3.5 0.1.0
3.5.8 0.1.4
3.6.0 0.1.5
3.7.0 0.1.7

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


Download files

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

Source Distribution

netbox_napalm_plugin-0.1.9.tar.gz (144.1 kB view details)

Uploaded Source

Built Distribution

netbox_napalm_plugin-0.1.9-py3-none-any.whl (148.4 kB view details)

Uploaded Python 3

File details

Details for the file netbox_napalm_plugin-0.1.9.tar.gz.

File metadata

  • Download URL: netbox_napalm_plugin-0.1.9.tar.gz
  • Upload date:
  • Size: 144.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for netbox_napalm_plugin-0.1.9.tar.gz
Algorithm Hash digest
SHA256 6d60341e37e701d90a0f4a96a53401c65d5db341db37138bf286691c0b96ec2d
MD5 bbb754c2ede84d299e830d073c12ae0f
BLAKE2b-256 0b1eba058879bebcd53e66bc095c6e5dcad742e2cdcbe38c6f1b8846d8691dd7

See more details on using hashes here.

File details

Details for the file netbox_napalm_plugin-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_napalm_plugin-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c716b20b8b1b39332b61f0f05b0162afac9c8eb2927382789e91c3bd32caffa7
MD5 e83ffd1fa8207ea7bc828ea9cfa81b8e
BLAKE2b-256 7ebdef6984dc837a428aa56e212d58830d2dfaf3d49c883ffd1470420d7deba8

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