Versions in this module Expand all Collapse all v0 v0.10.0 Jul 21, 2017 Changes in this version + const DefaultIPv4ClusterPrefixLen + const DefaultIPv4Prefix + const DefaultIPv4PrefixLen + const DefaultIPv6ClusterPrefixLen + const DefaultIPv6Prefix + const DefaultNAT46Prefix + const IPv6NodeAllocPrefixLen + const IPv6NodePrefixLen + var ClusterIPv6Mask = net.CIDRMask(64, 128) + var ContainerIPv4Mask = net.CIDRMask(32, 32) + var ContainerIPv6Mask = net.CIDRMask(128, 128) + var EnableIPv4 = true + var IPv4DefaultRoute = net.IPNet + var IPv6DefaultRoute = net.IPNet + var NodeIPv6Mask = net.CIDRMask(96, 128) + var StateIPv6Mask = net.CIDRMask(112, 128) + func AutoComplete() error + func GetExternalIPv4() net.IP + func GetIPv4AllocRange() *net.IPNet + func GetIPv4ClusterRange() *net.IPNet + func GetIPv4NodeRoute() net.IPNet + func GetIPv6() net.IP + func GetIPv6AllocRange() *net.IPNet + func GetIPv6ClusterRange() *net.IPNet + func GetIPv6NoZeroComp() string + func GetIPv6NodeRange() *net.IPNet + func GetIPv6NodeRoute() net.IPNet + func GetIPv6Router() net.IP + func GetInternalIPv4() net.IP + func GetName() string + func GetNode() (node.Identity, *node.Node) + func InitDefaultPrefix(device string) + func SetExternalIPv4(ip net.IP) + func SetIPv4AllocRange(net *net.IPNet) + func SetIPv4ClusterCidrMaskSize(size int) + func SetIPv6(ip net.IP) + func SetIPv6NodeRange(net *net.IPNet) error + func SetIPv6Router(ip net.IP) + func SetInternalIPv4(ip net.IP) + func SetName(name string) + func UseNodeAddresses(node *node.Node) error + func UseNodeCIDR(node *node.Node) error + func ValidatePostInit() error