Documentation ¶
Overview ¶
Intended for creating configuration related to those deployments where the target appliance assumed to be powered by libvirt API
Index ¶
- Constants
- Variables
- func CreateConfig(d *deployer.CommonData, i *metadata.InputData) (*metadata.Config, error)
- func MultiQueueSupported(sshconfig *ssh.Config) (bool, error)
- func MultiQueueSupportedMock(kernelVersion, libvirtVersion string, sshconfig *ssh.Config) (bool, error)
- type BridgedData
- type BridgedOVSData
- type CpuConfigData
- type CpuTuneData
- type DirectData
- type DiskData
- type NUMATuneData
- type PassthroughData
- type VirtNetwork
Constants ¶
View Source
const (
TmpltFileCpuConfig = "template_cpu_config.xml"
)
--- metadata configuration: cpu configuration --- //
View Source
const (
TmpltFileCpuTune = "template_cpu_tune.xml"
)
View Source
const (
TmpltFileNUMATune = "template_numa_tune.xml"
)
View Source
const (
TmpltFileStorage = "template_storage.xml"
)
--- metadata configuration: storage --- //
Variables ¶
View Source
var TmpltBridged = `` /* 283-byte string literal not displayed */
View Source
var TmpltBridgedOVS = `` /* 325-byte string literal not displayed */
View Source
var TmpltCpuConfig = `` /* 126-byte string literal not displayed */
View Source
var TmpltCpuTune = `<cputune>{{.CpuTuneData}}</cputune>`
View Source
var TmpltDirect = `` /* 275-byte string literal not displayed */
View Source
var TmpltNUMATune = `<numatune>
<memory mode='{{.MemMode}}' nodeset='{{.NUMACells}}'/>
{{.MemNodes}}
</numatune>`
View Source
var TmpltPassthrough = `` /* 393-byte string literal not displayed */
View Source
var TmpltSriovPassthrough = `` /* 386-byte string literal not displayed */
View Source
var TmpltStorage = `` /* 190-byte string literal not displayed */
View Source
var TmpltVirtNetwork = `` /* 296-byte string literal not displayed */
Functions ¶
func CreateConfig ¶
Types ¶
type BridgedData ¶
type BridgedOVSData ¶
type CpuConfigData ¶
type CpuTuneData ¶
type CpuTuneData struct {
CpuTuneData string
}
type DirectData ¶
type DiskData ¶
type DiskData struct { ImagePath string StorageType image.StorageType BlockDeviceSuffix string }
type NUMATuneData ¶
type PassthroughData ¶
Click to show internal directories.
Click to hide internal directories.