vdc

package
v0.0.0-...-884d9dc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ZoneID    int `xml:"ZONE_ID"`
	ClusterID int `xml:"CLUSTER_ID"`
}

type Datastore

type Datastore struct {
	ZoneID      int `xml:"ZONE_ID"`
	DatastoreID int `xml:"DATASTORE_ID"`
}

type Host

type Host struct {
	ZoneID int `xml:"ZONE_ID"`
	HostID int `xml:"HOST_ID"`
}

type Pool

type Pool struct {
	XMLName xml.Name `xml:"VDC_POOL"`
	VDCs    []VDC    `xml:"VDC"`
}

Pool represents an OpenNebula Vdc pool

type Template

type Template struct {
	dyn.Template
}

type VDC

type VDC struct {
	XMLName    xml.Name          `xml:"VDC"`
	ID         int               `xml:"ID,omitempty"`
	Name       string            `xml:"NAME"`
	Groups     shared.EntitiesID `xml:"GROUPS,omitempty"`
	Clusters   []Cluster         `xml:"CLUSTERS>CLUSTER,omitempty"`
	Hosts      []Host            `xml:"HOSTS>HOST,omitempty"`
	Datastores []Datastore       `xml:"DATASTORES>DATASTORE,omitempty"`
	VNets      []VNet            `xml:"VNETS>VNET,omitempty"`
	Template   Template          `xml:"TEMPLATE"`
}

VDC represents an OpenNebula Vdc

type VNet

type VNet struct {
	ZoneID int `xml:"ZONE_ID"`
	VnetID int `xml:"VNET_ID"`
}

Jump to

Keyboard shortcuts

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