Feature #3353

Support flavor attributes

Added by Vangelis Koukis over 7 years ago. Updated over 6 years ago.

Status:Assigned Start date:03/01/2013
Priority:High Due date:
Assignee:Christos Stavrakakis % Done:


Category:Cyclades API Spent time: -
Target version:0.17


Support per-flavor attributes:
  • attributes are per flavor, of specific type (boolean, int, string)
  • implement FlavorAttribute model in Cyclades DB
    • attribute name, type, allowed values, display name, textual description
  • implement snf-manage flavorattr-{create, list, delete, show}
  • allow tagging flavors with specific attributes
  • extend the Synnefo allocator to take into account the flavor attributes (how?)
  • extend the backends with attribute filters
    • example: vcpu_ratio = 1.0, gpu = True, windows_license = True

A design doc will follow.


#1 Updated by Vangelis Koukis over 7 years ago

After discussion with [cstavr], here is an initial GET /flavors/detail response with extra Synnefo-attributes fields:

    "C1R1024D40Text+gpu,windows_license,vcpu=0.5": {
        "cpu": 1,
        "ram": 1024,
        "disk": 40,
        "disk_template": ext,
        "SNF:attributes": {
            "windows_license": True,
            "gpu": True,
            "vcpu": 0.5

#2 Updated by Christos Stavrakakis over 6 years ago

  • Target version changed from 0.14.0 to 0.17

Also available in: Atom PDF