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

: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


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.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

netbox_napalm_plugin-0.1.0-py2.py3-none-any.whl (15.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: netbox_napalm_plugin-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for netbox_napalm_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18a2e0af00114fb62bb7f4ea0ed0782f22d3a0a9df35aa1086d0c02d928fd186
MD5 ef0a32044d0b9521c08f91203fd64648
BLAKE2b-256 629a8c51ebb681d9af78b85e11bf6a379979ce33736ac08c9abb93e7e7539193

See more details on using hashes here.

File details

Details for the file netbox_napalm_plugin-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_napalm_plugin-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f7a990ec0f7d646bf0d5782d656dc5a7f68027667fb96e92980dd0ef0e7da4a4
MD5 60f424715e7903853bbda3087c88ea74
BLAKE2b-256 ad1070d55dd6dcbd16dbeafaf4e38fac318ce67b88a06867132c8988e5f50a4e

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