Skip to content

Generate iplist file from Netbox for use with ipv4-heatmap project

Notifications You must be signed in to change notification settings

falz/netbox-to-ipv4-heatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

netbox-to-ipv4-heatmap

Generate iplist file from Netbox for use with ipv4-heatmap project will which "Generate Hilbert curve heatmaps of the IPv4 address space."

Using

./netbox-to-ipv4-heatmap.py  --help
usage: netbox-to-ipv4-heatmap.py [-h] -p PREFIX

optional arguments:
  -h, --help            show this help message and exit
  -p PREFIX, --prefix PREFIX
                        Prefix to search for in Netbox. ie 10.0.0.0/8

Example

Create 'iplist' file from netbox:

./netbox-to-ipv4-heatmap.py -p 192.168.0.0/16 >/tmp/192.168.0.0-16.txt

Generate image using ipv4-heatmap and the iplist file:

./ipv4-heatmap -A 128 -B 8192 -y 192.168.0.0/16 -z 0 -o 192.168.png < /tmp/192.168.0.0-16.txt

Consider tweaking -A and -B values.

Example output from four different /16's:

2 1 4 3

About

Generate iplist file from Netbox for use with ipv4-heatmap project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages