ovirt

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkData

type NetworkData struct {
	OVirtNetworks       map[string]*ovirtsdk4.Network
	VnicProfile2Network map[string]string // vnicProfileId -> networkId
	Vid2Name            map[int]string
}

type OVirtSource

type OVirtSource struct {
	common.Config
	Disks       map[string]*ovirtsdk4.Disk
	DataCenters map[string]*ovirtsdk4.DataCenter
	Clusters    map[string]*ovirtsdk4.Cluster
	Hosts       map[string]*ovirtsdk4.Host
	Vms         map[string]*ovirtsdk4.Vm
	Networks    *NetworkData
}

OVirtSource represents an oVirt source.

func (*OVirtSource) Init

func (o *OVirtSource) Init() error

Function that initializes state from ovirt api to local storage.

func (*OVirtSource) Sync

Function that syncs all data from oVirt to Netbox.

Jump to

Keyboard shortcuts

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