Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteBridge(name string) error
- func InitNetwork(bIface, bIP string, disable bool) error
- func IpParser(ipstr string) (net.IP, net.IPMask, error)
- func NicName(id string, index int) string
- func ReleaseAddr(releasedIP string) error
- func UpAndAddToBridge(name, bridge, options string) error
- type Settings
Constants ¶
View Source
const ( DefaultBridgeIface = "hyper0" DefaultBridgeIP = "192.168.123.0/24" )
Variables ¶
View Source
var ( IpAllocator = ipallocator.New() BridgeIPv4Net *net.IPNet BridgeIface string BridgeIP string )
Functions ¶
func DeleteBridge ¶
func InitNetwork ¶
func ReleaseAddr ¶
func UpAndAddToBridge ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.