ipam

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocIP

func AllocIP(contID types.UUID, netConf, ifName, args string) (*net.IPNet, net.IP, error)

AllocIP allocates an IP in a given range.

func AllocPtP

func AllocPtP(contID types.UUID, netConf, ifName, args string) ([2]net.IP, error)

AllocPtP allocates a /31 for point-to-point links.

func DeallocIP

func DeallocIP(contID types.UUID, netConf, ifName string, ipn *net.IPNet) error

DeallocIP is a no-op.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL