Documentation ¶
Index ¶
- type Config
- type NIC
- type NICList
- func (list *NICList) Add(n *NIC)
- func (list *NICList) AppendList(l NICList)
- func (list NICList) IndexByPCISlot(pcislot string) (int, error)
- func (list NICList) Length() int
- func (list NICList) NicByHostNicObj(n *host.NIC) (*NIC, int, error)
- func (list NICList) NicsByHostNicVendor(vendor string) NICList
- func (list NICList) NicsByNUMAId(cellID int) NICList
- func (list *NICList) Remove(index int)
- func (list NICList) SortByPCISlot()
- type NUMA
- type PCI
- type SortByPCISlot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CPUs int RamMb int Storage *image.Config LargeHugePagesSupported bool NUMAs []*NUMA HostNUMAIds []int NICLists []NICList Networks []*xmlinput.Network OptimizationFailureMemory bool OptimizationFailureCPU bool OptimizationFailureMsg string }
func (*Config) ReconfigureMultipleVirtualNUMAs ¶
func (*Config) SetTopologyMultipleVirtualNUMAs ¶
type NICList ¶
type NICList []*NIC
func NewNICList ¶
func NewNICList() NICList
func (*NICList) AppendList ¶
func (NICList) NicByHostNicObj ¶
func (NICList) NicsByHostNicVendor ¶
func (NICList) NicsByNUMAId ¶
func (NICList) SortByPCISlot ¶
func (list NICList) SortByPCISlot()
type SortByPCISlot ¶
type SortByPCISlot NICList
func (SortByPCISlot) Len ¶
func (list SortByPCISlot) Len() int
func (SortByPCISlot) Less ¶
func (list SortByPCISlot) Less(i, j int) bool
func (SortByPCISlot) Swap ¶
func (list SortByPCISlot) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.