NetBox SVM
Netbox Plugin software version manager of software components, including versions and installations.
Install Require
netbox version >= 4.0
Known Issues
- WARNING: This plugin is only tested with a single NetBox version at this time.
- CSV/Bulk imports for SoftwareProduct, Version and Installation are currently broken (WIP)
Installation Guide
In mono service:
To install the plugin, first using pip and install netbox-svm:
cd /opt/netbox
source venv/bin/activate
pip install netbox-svm
Next, enable the plugin in /opt/netbox/netbox/netbox/configuration.py, or if you have a /configuration/plugins.py file, the plugins.py file will take precedence.
PLUGINS = [
'netbox_svm'
]
Then you may need to perform the final step of restarting the service to ensure that the changes take effect correctly:
python netbox/manage.py migrate netbox_svm
sudo systemctl restart netbox
In docker env
When using the Docker version of NetBox, first follow the netbox-docker quickstart instructions to clone the netbox-docker repo and set up the docker-compose.override.yml.
Next, follow these instructions (based on the NetBox docker variant instructions) to install the NetBox SVM plugin:
-
Add
netbox_svmto thePLUGINSlist inconfiguration/plugins.py. -
Create a
plugin_requirements.txtwithnetbox-svmas contents. -
Create a
Dockerfile-SVMwith contents:FROM netboxcommunity/netbox:v4.0 COPY ./plugin_requirements.txt / RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /plugin_requirements.txt -
Create a
docker-compose.override.ymlwith contents:version: '3.7' services: netbox: ports: - 8000:8080 build: context: . dockerfile: Dockerfile-SVM image: netbox:svm netbox-worker: image: netbox:svm netbox-housekeeping: image: netbox:svm
Now, build the image: docker compose build --no-cache
And finally, run NetBox with the SVM plugin: docker compose up -d
Releasing Guide
To draft a release;
update the netbox_svm/__init__.py file to reflect the new version, then from the src
directory run
$ python -m build
$ twine upload dist/*
On Github.com create a similar tag and version. These steps could be automated with a github workflow.
Metadata
Release files for netbox-svm 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_svm-1.1.7.tar.gz | 20.2 kB | Without provenance | Details for netbox_svm-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netbox_svm-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for netbox_svm-1.1.7-py3-none-any.whl |
Total release size: 51.9 kB
Release files / netbox_svm-1.1.7.tar.gz
| Download URL | netbox_svm-1.1.7.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63f4fd2bf06073dde7b739309aaa1bf79a8dc4095dc2dfad4df732693f63c028
|
|
BLAKE2b-256 checksum How to use checksums |
595e5b6edfaaa10109843bbeae94841d077e3c3e55933869e40bd03619533c14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / netbox_svm-1.1.7-py3-none-any.whl
| Download URL | netbox_svm-1.1.7-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ccd4779c6d880f967f0bcc4be4184436a3d0c9f26ba40ec1afe099b4c2cb722
|
|
BLAKE2b-256 checksum How to use checksums |
872019fb078275c3f36309eec7b08dcf678465e6571e28fd91cdfcf6cd404678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Security for netbox-svm 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.