Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessNetworkTemplate ¶
func RegisterSteps ¶
func RegisterSteps(d *deployer.CommonData, i *InputData, c *Config, metaconf deployer.MetadataConfigurator) error
Types ¶
type Config ¶
type Config struct { // Common configuration *deployer.CommonConfig // Hostinfo driver Hwdriver deployer.HostinfoDriver // Environment driver EnvDriver deployer.EnvDriver GuestConfig *guest.Config // Common metadata stuff Metadata *Metadata // Path to metadata file DestMetadataFile string // Bundle config Bundle map[string]interface{} }
Config contains common configuration plus appropriate configuration required for appliances powered by environment based on libvirt API
func NewMetdataConfig ¶
func NewMetdataConfig(d *deployer.CommonData, storageConfigFile string) (*Config, error)
type InputData ¶
type InputData struct { // Path to the lshw binary Lshw string // Path to the basic configuration file (see xmlinput package) InputDataConfigFile string // Path to the bundle configuration file (see bundle package) BundleDataConfigFile string // Path to the storage configuration file (see image package) StorageConfigFile string // Bundle parser BundleParser *bundle.Parser // Path to directory containing appropriate templates intended // for overriding default configuration TemplatesDir string }
InputData provides a static data
type Metadata ¶
type Metadata struct { DomainName string RAM int CPUs int CPUTune string CPUConfig string NUMATune string EmulatorPath string Storage string Networks string CustomData interface{} }
Metadata contains elements that will processed by the template library and used by Libvirt XML metadata
Directories ¶
Path | Synopsis |
---|---|
libvirt
|
|
libvirt_kvm
Intended for creating configuration related to those deployments where the target appliance assumed to be powered by libvirt API
|
Intended for creating configuration related to those deployments where the target appliance assumed to be powered by libvirt API |
openxen
|
|
Click to show internal directories.
Click to hide internal directories.