package
2.0.5+incompatible
Repository: https://github.com/oracle-cne/ocne.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CreateStoagePool creates a storage pool and returns the libvirt object.
DoesBaseImageExist returns if the base image has been previously downloaded or manually placed in the default images pool.
FindOrCreateStoragePool gives back a reasonable place to locate volumes.
FindStoragePool gives back a reasonable place to locate volumes.
GetStoragePoolPath gives back the path for a storage pool.
StartStoragePool starts a storage pool if it is not already started.
TransferBaseImage uses the libvirt API to upload the boot.qcow2 from a container image to the target libvirtd instance, locating in the given Pool and assigning in the given name.
TransferToPool uses the libvirt API to upload a stream to the target libvirtd instance, locating it in the given pool and assigning it the given name.
# Constants
Manually specify the PCI bus/port for the bridge network interface.
Calculate the bridge network device name from the bus/port used to create it, following the Linux consistent network device naming convention.
No description provided by the author
No description provided by the author
Manually specify the PCI bus/port for user network interface for the same reasons as the bridge network.
No description provided by the author
# Structs
No description provided by the author
Domain defines a VM.
No description provided by the author
LibvirtDriver manages resource creation and cluster management for libvirt targets.
No description provided by the author
Network defines a network for a VM.
No description provided by the author
Pool defines a libvirt Pool.
PortForward defines a pair of ports.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Volume defines a VM volume.