NetBox plugin for Napalm.
Project description
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.2.0 | 0.3.1 |
| >= 4.3.0 | 0.3.2 |
| >= 4.4.0 | 0.3.3 |
| >= 4.5.0 | 0.3.4 |
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_napalm_plugin-0.3.4.tar.gz.
File metadata
- Download URL: netbox_napalm_plugin-0.3.4.tar.gz
- Upload date:
- Size: 144.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f2bf07eab6e4ba1b8033aa9e09fceabee0e108b5770b2aabeb78e1234ae31b0
|
|
| MD5 |
62b399f62753f0b5249383579e3e233e
|
|
| BLAKE2b-256 |
f5f339afacf7392e2594fdd812a791317e8dd969d2b3d6f9d043baaabe3526fe
|
Provenance
The following attestation bundles were made for netbox_napalm_plugin-0.3.4.tar.gz:
Publisher:
publish-pypi.yaml on netbox-community/netbox-napalm-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_napalm_plugin-0.3.4.tar.gz -
Subject digest:
6f2bf07eab6e4ba1b8033aa9e09fceabee0e108b5770b2aabeb78e1234ae31b0 - Sigstore transparency entry: 799117786
- Sigstore integration time:
-
Permalink:
netbox-community/netbox-napalm-plugin@1b1471bfba5ad4a7f7ca4cb0f87d4bd6394b9dda -
Branch / Tag:
refs/tags/v0.3.4 - Owner: https://github.com/netbox-community
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@1b1471bfba5ad4a7f7ca4cb0f87d4bd6394b9dda -
Trigger Event:
push
-
Statement type:
File details
Details for the file netbox_napalm_plugin-0.3.4-py3-none-any.whl.
File metadata
- Download URL: netbox_napalm_plugin-0.3.4-py3-none-any.whl
- Upload date:
- Size: 148.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7040d6f2e0171a339df6450959ed23aa85a19ef1e44040e6974326e2a71b679a
|
|
| MD5 |
906bdd00ad4668d6d4d4090621353441
|
|
| BLAKE2b-256 |
2eca18b3dbf2aeed74c2a03e147acaa4fc8a02baa8b9133e2f228e1a738eaabf
|
Provenance
The following attestation bundles were made for netbox_napalm_plugin-0.3.4-py3-none-any.whl:
Publisher:
publish-pypi.yaml on netbox-community/netbox-napalm-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_napalm_plugin-0.3.4-py3-none-any.whl -
Subject digest:
7040d6f2e0171a339df6450959ed23aa85a19ef1e44040e6974326e2a71b679a - Sigstore transparency entry: 799117788
- Sigstore integration time:
-
Permalink:
netbox-community/netbox-napalm-plugin@1b1471bfba5ad4a7f7ca4cb0f87d4bd6394b9dda -
Branch / Tag:
refs/tags/v0.3.4 - Owner: https://github.com/netbox-community
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@1b1471bfba5ad4a7f7ca4cb0f87d4bd6394b9dda -
Trigger Event:
push
-
Statement type: