defaults

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultURI is the default URI of the libvirtd connection.
	DefaultURI = "qemu+tcp://192.168.122.1/system"
)

Variables

View Source
var (
	// DefaultMachineCIDR is the libvirt default IP address space from
	// which to assign machine IPs.
	DefaultMachineCIDR = ipnet.MustParseCIDR("192.168.126.0/24")
)

Functions

func SetNetworkDefaults

func SetNetworkDefaults(n *libvirt.Network)

SetNetworkDefaults sets the defaults for the network.

func SetPlatformDefaults

func SetPlatformDefaults(p *libvirt.Platform)

SetPlatformDefaults sets the defaults for the platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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