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: This plugin is for NetBox 3.5

NetBox Version Plugin Version
3.5 0.1.0
3.5.8 0.1.4
3.6.0 > 0.1.5

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

Uploaded Source

Built Distribution

netbox_napalm_plugin-0.1.5-py2.py3-none-any.whl (148.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: netbox_napalm_plugin-0.1.5.tar.gz
  • Upload date:
  • Size: 144.4 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.5.tar.gz
Algorithm Hash digest
SHA256 eb4591890ff6474bc33a24da27b8f757f981961680b47902918a6af937c4b6b6
MD5 0d8a7a40c357ad65322c1c49dcb4e2c5
BLAKE2b-256 98f19f5ad9736e036ee7179bd7ee556d605c7fde6ea2eb67af7f984fd0111669

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_napalm_plugin-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0176c74c57fbe0fa7d2ee0f04e9ee736309bc300390b6e8e089d55c75829936a
MD5 e660a08d05d0595432f9a6e905790542
BLAKE2b-256 cc892f4a61499c6a9ca3464c7e2daefa334252e3ae343fc381d0e889ad6d7a50

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