package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jan 23, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func AllocIP(contID types.UUID, netConf, ifName, args string) (*net.IPNet, net.IP, error)
-
func AllocPtP(contID types.UUID, netConf, ifName, args string) ([2]net.IP, error)
-
func DeallocIP(contID types.UUID, netConf, ifName string, ipn *net.IPNet) error
AllocIP allocates an IP in a given range.
AllocPtP allocates a /31 for point-to-point links.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.