project specific flavors support
Currently flavor (instance type) settings in Nova are shared by all projects. However, there're cases in private cloud deployments that project specific flavor settings are necessary.
In contrast to global flavor setting, project specific flavor is visible and available for specific project only.
* flavor type is public by default, which is accessible to all projects
* non-public flavor type (project specific flavor, or private flavor) is only accessible to those project on the access list, and invisible to all other projects
* admin user is able to query all flavor types ( public flavor by default )
* project members could list all public flavor types and current project specific flavor types
API Extension
--
GET v2/{tenant_
POST v2/{tenant_
Also implements client bindings for project specific flavor management
Command Use
--
nova flavor-access-list --flavor flavorid return access list of specified flavorid
nova flavor-access-add flavorid projectid add project to private flavor's access list
nova flavor-
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
I'd argue that this is also a public-cloud problem domain as well. For instance, if I'm a service provider that has a number of reseller tenants, I think it would be great to be able to allow those resellers to customize the flavor and images they offer.
Gerrit topic: https:/
Addressed by: https:/
Implement project specific flavors API
Addressed by: https:/
Implement project specific flavors API - client binding