Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a control plane API for mimic to specify a behavior for "what kind of cloud do new tenants have" #493

Open
glyph opened this issue Nov 19, 2015 · 0 comments

Comments

@glyph
Copy link
Contributor

glyph commented Nov 19, 2015

We want to be able to support multiple types of "cloud"; for example, "reflect as accurately as possible the attributes of Rackspace Public Cloud", or, "... Rackspace Private Cloud" or "... DevStack". Right now, Mimic mostly looks like Rackspace public cloud, with various differences, but as things like the image list are made increasingly specifically accurate for testing the cloud control panel, Mimic is coming to reflect public cloud a bit too precisely.

What-cloud-is-this state is mostly represented on a per-tenant basis (for example: images go into a tenant-specific store), so we can model this as a tenant-creation Behavior parameter as a mimic-global control plane; when you create a tenant (matching criteria X, probably based on username), give it this pre-defined cloud. We can then define a plugin for "cloud types", probably starting off mainly with a list of datacenters and a list of images. Later we will need to expand this on a per-plugin basis; each plugin might have its own per-cloud state; also, we will need to adjust which plugins appear in each "cloud", because, for example, public clouds tend to have a lot more services available in the catalog than e.g. DevStack.

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

No branches or pull requests

1 participant