Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct { XMLName xml.Name `xml:"VROUTER_POOL"` VirtualRouters []VirtualRouter `xml:"VROUTER"` }
Pool represents an OpenNebula VirtualRouter pool
type Template ¶
Template is a virtual router template
func NewTemplate ¶
func NewTemplate() *Template
NewTemplate returns a new virtual router Template object
type VirtualRouter ¶
type VirtualRouter struct { XMLName xml.Name `xml:"VROUTER"` ID int `xml:"ID,omitempty"` UID int `xml:"UID,omitempty"` GID int `xml:"GID,omitempty"` UName string `xml:"UNAME,omitempty"` GName string `xml:"GNAME,omitempty"` Name string `xml:"NAME"` LockInfos *shared.Lock `xml:"LOCK,omitempty"` Permissions *shared.Permissions `xml:"PERMISSIONS,omitempty"` Type *int `xml:"TYPE,omitempty"` DiskType *int `xml:"DISK_TYPE,omitempty"` Persistent int `xml:"PERSISTENT,omitempty"` VMs shared.EntitiesID `xml:"VMS,omitempty"` Template Template `xml:"TEMPLATE"` }
VirtualRouter represents an OpenNebula VirtualRouter
Click to show internal directories.
Click to hide internal directories.