Versions in this module Expand all Collapse all v0 v0.4.0 Jun 5, 2019 Changes in this version + var ErrAllocationNotImplemented = errors.New("ipv4 allocation not implemented") + func GetIPByLocation(subnet *net.IPNet, rack string, bottomU uint, sublocation string) (net.IP, error) + func GetIpById(id int, subnet *net.IPNet, reservedAdresses ...net.IP) (net.IP, error) + func GetRangeByLocation(subnet *net.IPNet, rack string, bottomU uint, sublocation string) (net.IP, net.IP, error) + func IsV6(ip net.IP) bool + func LocationBits(rack string, bottomU uint, sublocation string) (uint64, error)