Port variant | v12 |
Summary | NetBox plugin for Napalm (3.12) |
BROKEN | |
Package version | 0.3.0 |
Homepage | No known homepage |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v13 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 11 NOV 2024, 23:28:05 UTC |
Port created | 24 JAN 2024, 23:33:29 UTC |
single | # NetBox Napalm Plugin NetBox plugin for Napalm. * Free software: Apache-2.0 * Documentation: https://netbox-community.github.io/netbox-napalm-plugin/. ## 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]. ```no-highlight $ 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): ```no-highlight (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 : ```no-highlight PLUGINS = [ 'netbox_napalm_plugin' ] ``` ### Configure Plugin Configure the plugin in `configuration.py` under the `PLUGINS_CONFIG` parameter. ```no-highlight PLUGINS_CONFIG = { 'netbox_napalm_plugin': { 'NAPALM_USERNAME': 'xxx', 'NAPALM_PASSWORD': 'yyy', }, } ``` ### Run Database Migrations Run the provided schema migrations: ```no-highlight (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: ```no-highlight (venv) $ cd /opt/netbox/netbox/ (venv) $ python3 manage.py collectstatic ``` ### Restart WSGI Service Restart the WSGI service to load the new plugin: ```no-highlight # sudo systemctl restart netbox ``` ## Credits Based on the NetBox plugin tutorial: - [demo repository] - [tutorial] This package was created with [Cookiecutter] and the [`netbox-community/cookiecutter-netbox-plugin`] project template. |
Build (only) |
python312:dev:std python-pip:single:v12 autoselect-python:single:std |
Build and Runtime | python312:primary:std |
Runtime (only) | python-napalm:single:v12 |
main | mirror://PYPIWHL/37/1f/fbf22f4082a041fa15bf29b6e9677e63cad1d7c8a931664be57db7cabfe4 |
python-netbox-config-backup:v12 | NetBox Switch Configuration Backup Plugin (3.12) |