package ipamutils

import "github.com/docker/libnetwork/ipamutils"

Package ipamutils provides utililty functions for ipam management

Index

Variables

var (
	// 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`
	PredefinedBroadNetworks []*net.IPNet
	// 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`
	PredefinedGranularNetworks []*net.IPNet
)

Functions

func InitNetworks

func InitNetworks()

InitNetworks initializes the pre-defined networks used by the built-in IP allocator

Source Files

utils.go

Version
v0.7.0-rc.3
Published
Apr 6, 2016
Platform
js/wasm
Imports
2 packages
Last checked
5 hours ago

Tools for package owners.