Skip to main content

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.6 0.1.7
< 4.0.11 0.2.1
>= 4.1.0 0.3.0

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.

Metadata

Release files for nearoute-napalm-plugin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nearoute-napalm-plugin 0.1.0
File Size Uploaded
nearoute_napalm_plugin-0.1.0.tar.gz 143.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nearoute-napalm-plugin 0.1.0
File Interpreter ABI Platform
nearoute_napalm_plugin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 291.3 kB

Release files / nearoute_napalm_plugin-0.1.0.tar.gz

Download URL nearoute_napalm_plugin-0.1.0.tar.gz
Size 143.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7db1a34b47313e04accc6c1296394cb00d04526a38d6641e369a417b2c36c10e
BLAKE2b-256 checksum
How to use checksums
91dd2f3ef39ec683ef6d94959e141b94b5ac724f895207494e2ef109599bc5b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / nearoute_napalm_plugin-0.1.0-py3-none-any.whl

Download URL nearoute_napalm_plugin-0.1.0-py3-none-any.whl
Size 148.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a800741fc00544a58ed16aeba9f65dadede4177d17dda8e5156a7d2a4ccd474
BLAKE2b-256 checksum
How to use checksums
787380071cb39fecbd3de999ed2974df7d6fe75bbd8fb27ed0982bd0de556cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page