Closed basti1508 closed 2 years ago
What specifically are you proposing be added?
I did some of this (netmask/wildcard) in my gateways plugin as it was highly requested internally during our migration from racktables which had similar data.
https://github.com/ITJamie/netbox_gateways/blob/main/docs/images/prefix_view_gw.png
From the example above the most valuable information would be:
Network mask - 255.255.224.0
Cisco wildcard - 0.0.31.255
Network range - 10.14.0.0 - 10.14.31.255
Would love to add that showing the netmask in addition to the CIDR notation for each IP would help a lot so this might not only help in the prefix view.
I have this plugin : https://github.com/PieterL75/netbox_ipcalculator It is a client-side javascript based subnet calculator...
Feel free to use/modify it !
Which implementation you think is better? 1 - add model methods that calculate netmask, wildcard and etc, 2 - add templatetags in the helpers that do the same thing?
@renatoalmeidaoliveira I'd expect that most such attributes are already available via netaddr
as properties of the prefix value. But where needed, model attributes and methods would be preferable: Template tags should only be introduced to fill a general need.
NetBox version
v3.2.4
Feature type
Change to existing functionality
Proposed functionality
Inlcude additinal information in the Prefix/Aggregate view to make it easier for admins to get more knowledge to the network. The example would be the output of sipcalc. For me the most valueable information is boradcast address, quick view on the usable range and cisco wildcard address.
Use case
Get additional network information more quickly.
Database changes
No response
External dependencies
No response