Work with ipv4 in NetBox
Project description
netbox-ipv4-tools
Work with ipv4 in NetBox. This tools uses ipaddr.js behind the scenes
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 >= 3.4.0
TODO
- Add a table to report the types of ip ranges: public, private and special cases
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
netbox-ipv4-tools-0.1.2.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for netbox_ipv4_tools-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc3a80e2fa9e85c6d3d2ecf8c0f76538a0d35630a695a64c887364b63fa91086 |
|
MD5 | a8c7219c4cfd916b20620eea91228646 |
|
BLAKE2b-256 | 012aec120e4d6d20b734340d33e95bd92e184c411acac591e73967ecac91ace1 |