type Flavor struct {
// The Id field contains the flavor's unique identifier.
// For example, this identifier will be useful when specifying which hardware configuration to use for a new server instance.
ID string `mapstructure:"id"`
// The Disk and RA< fields provide a measure of storage space offered by the flavor, in GB and MB, respectively.
Disk int `mapstructure:"disk"`
RAM int `mapstructure:"ram"`
// The Name field provides a human-readable moniker for the flavor.
Name string `mapstructure:"name"`
RxTxFactor float64 `mapstructure:"rxtx_factor"`
// Swap indicates how much space is reserved for swap.
// If not provided, this field will be set to 0.
Swap int `mapstructure:"swap"`
// VCPUs indicates how many (virtual) CPUs are available for this flavor.
VCPUs int `mapstructure:"vcpus"`
}
I would like to manage flavor with gpu in my code, but I cannot find any field that related to this.
Can anyone tell me how to distinguish flavor with gpu in the code?
Thanks
Hi, In the doc, I can see the structure of flavor
I would like to manage flavor with gpu in my code, but I cannot find any field that related to this. Can anyone tell me how to distinguish flavor with gpu in the code? Thanks