# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-netbox-napalm-plugin VERSION= 0.3.1 KEYWORDS= python VARIANTS= v12 v13 SDESC[v12]= NetBox plugin for Napalm (3.12) SDESC[v13]= NetBox plugin for Napalm (3.13) HOMEPAGE= https://github.com/netbox-community/netbox-napalm-plugin CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/0c/34/be64145e04e0561a2afb9569775042fcdea005bc10a013911a698de1c1d2 DISTFILE[1]= netbox_napalm_plugin-0.3.1-py3-none-any.whl:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v12]= single SPKGS[v13]= single OPTIONS_AVAILABLE= PY312 PY313 OPTIONS_STANDARD= none VOPTS[v12]= PY312=ON PY313=OFF VOPTS[v13]= PY312=OFF PY313=ON DISTNAME= netbox_napalm_plugin-0.3.1.dist-info GENERATED= yes [PY312].RUN_DEPENDS_ON= python-napalm:single:v12 [PY312].USES_ON= python:v12,wheel [PY313].RUN_DEPENDS_ON= python-napalm:single:v13 [PY313].USES_ON= python:v13,wheel [FILE:2064:descriptions/desc.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 < 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]. ```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 [FILE:133:distinfo] 34b092db0306eee5c2c3aae4e4cce5c353298f671ac5d870f917ce8eeff5a883 148465 python-src/netbox_napalm_plugin-0.3.1-py3-none-any.whl