This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Description
This script works well with vCenter 6.5 and NetBox 2.4.4. The IP addresses are currently being created as either /32 or /128, but the mask should be matching the mask of the prefix. Is there a way to check if the IP falls into an existing prefix and then use the mask for that subnet, falling back to the /32 or /128 if no prefix is found?