Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Suggesting to support gpu in flavor #647

Open
QuillaChow opened this issue Aug 5, 2020 · 0 comments
Open

Suggesting to support gpu in flavor #647

QuillaChow opened this issue Aug 5, 2020 · 0 comments

Comments

@QuillaChow
Copy link

Hi,
In the doc, I can see the structure of flavor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant