package
0.7.0-dev.3
Repository: https://github.com/allencloud/libnetwork.git
Documentation: pkg.go.dev

# Functions

ElectInterfaceAddresses looks for an interface on the OS with the specified name and returns its IPv4 and IPv6 addresses in CIDR form.
FindAvailableNetwork returns a network from the passed list which does not overlap with existing interfaces in the system.

# Variables

PredefinedBroadNetworks contains a list of 31 IPv4 private networks with host size 16 and 12 (172.17-31.x.x/16, 192.168.x.x/20) which do not overlap with the networks in `PredefinedGranularNetworks`.
PredefinedGranularNetworks contains a list of 64K IPv4 private networks with host size 8 (10.x.x.x/24) which do not overlap with the networks in `PredefinedBroadNetworks`.