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

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

Uploaded Source

Built Distribution

netbox_napalm_plugin-0.3.1-py3-none-any.whl (148.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_napalm_plugin-0.3.1.tar.gz
  • Upload date:
  • Size: 144.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for netbox_napalm_plugin-0.3.1.tar.gz
Algorithm Hash digest
SHA256 23f8d8d17a367eea8bedce29218115153e2a520e95001957092ecac27f4aa7d3
MD5 57d3c6c013c994bd1561110a839abf1d
BLAKE2b-256 b3f46250f168ca4dcf657ab7d137144c9d55e18e647f8f7efabd063930ff69a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_napalm_plugin-0.3.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_napalm_plugin-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34b092db0306eee5c2c3aae4e4cce5c353298f671ac5d870f917ce8eeff5a883
MD5 bba25e59ec9f7c1573c99054d33dff3d
BLAKE2b-256 0c34be64145e04e0561a2afb9569775042fcdea005bc10a013911a698de1c1d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_napalm_plugin-0.3.1-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 AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page