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

See the compatibility matrix for supported NetBox versions.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_napalm_plugin-0.3.5-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_napalm_plugin-0.3.5.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for netbox_napalm_plugin-0.3.5.tar.gz
Algorithm Hash digest
SHA256 b912846ff2d60823a967aa59d826bffcf52e235f9486ea5d5eaba8359c25e785
MD5 6f8e025115f819af6468356828978087
BLAKE2b-256 65e6895402fa24745e1cb81d3748a94562b35991a2b3bfaa43b59ba294efc08c

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_napalm_plugin-0.3.5.tar.gz:

Publisher: publish-pypi.yaml on netbox-community/netbox-napalm-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for netbox_napalm_plugin-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 147b7b86933b143b6b7e34b3a6666e1fba8edee6eac5b11bf3a9a33981fbf9f3
MD5 4488978090c558671cace6a3dff9db84
BLAKE2b-256 962e60f620ea6758e144015e4e3d32272fc57bbe42f84c91b12217602b49e2b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_napalm_plugin-0.3.5-py3-none-any.whl:

Publisher: publish-pypi.yaml on netbox-community/netbox-napalm-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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