Skip to main content

netbox-ipv4-tools

Work with ipv4 in NetBox. This project includes code from netmask (rewritten in Vanilla Javascript), which is licensed under the MIT license: original license

This plugin offers a place to retrieve

  • A table with the CIDR to netmask conversion, inluding the wildcard bits and the total hosts available per CIDR
  • A tool to convert a CIDR into an IP range including information such the usable host count, the netmask in decimal dotted format and the wildcard bits

Install

The plugin is available as a Python package and can be installed with pip.

Run pip install netbox-ipv4-tools in your virtual env.

Create a file named local_requirements.txt (if not already existing) in the NetBox root directory (alongside requirements.txt) and list the netbox-ipv4-tools package:

# echo netbox-ipv4-tools >> local_requirements.txt

Once installed, the plugin needs to be enabled in your configuration.py

# In your configuration.py
PLUGINS = ["netbox_ipv4_tools"]

First run source /opt/netbox/venv/bin/activate to enter the Python virtual environment.

Then run

cd /opt/netbox/netbox
pip3 install netbox-ipv4-tools
python3 manage.py collectstatic --no-input

Versions

This plugin requires netbox >= 4.0.0

Thanks

Thanks to rs for the work on netmask
Thanks to mattieserver and his project netbox-topology-view. I used his work to get a working plugin and to publish it to pypi

Metadata

Release files for netbox-ipv4-tools 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-ipv4-tools 1.0.4
File Size Uploaded Provenance
netbox_ipv4_tools-1.0.4.tar.gz 12.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for netbox-ipv4-tools 1.0.4
File Interpreter ABI Platform
netbox_ipv4_tools-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 26.9 kB

Release files / netbox_ipv4_tools-1.0.4.tar.gz

Download URL netbox_ipv4_tools-1.0.4.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
657f946f3a0dd73567a2ee75deb8163f6a9d4ea9109d5a88359e7c1c479f6cd6
BLAKE2b-256 checksum
How to use checksums
36d31e9f44525aaba48b1b62c9e4b5f01abf26f53e7d32ebf24f6e6ef5647c95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / netbox_ipv4_tools-1.0.4-py3-none-any.whl

Download URL netbox_ipv4_tools-1.0.4-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b4a7ae85383df767e993735b3fffa8b844a03d9476030a35d760d96274691bd
BLAKE2b-256 checksum
How to use checksums
6fdc788d7c22d3fa5093f42c4765f4a56fc263c7ef8c0465f85538584de136ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for netbox-ipv4-tools 1.0.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page