Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicNodeAttributes ¶ added in v0.4.0
type BasicNodeAttributes struct {
NVLink string `yaml:"nvlink,omitempty"`
}
type CapacityBlock ¶
type CapacityBlock struct {
Nodes []string `yaml:"nodes"`
Attributes BasicNodeAttributes `yaml:"attributes"`
}
type Model ¶
type Model struct {
Switches map[string]*Switch `yaml:"switches"`
Nodes map[string]*Node `yaml:"nodes"`
CapacityBlocks map[string]CapacityBlock `yaml:"capacity_blocks"`
// derived
Instances []topology.ComputeInstances `yaml:"-"`
}
func NewModelFromData ¶ added in v0.3.0
func NewModelFromFile ¶
type Node ¶
type NodeAttributes ¶ added in v0.4.0
type NodeAttributes struct {
BasicNodeAttributes `yaml:",inline"`
Status string `yaml:"status,omitempty"`
Timestamp string `yaml:"timestamp,omitempty"`
GPUs []GPU `yaml:"gpus,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.