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 interface for FogProvider #11

Closed
marcusn opened this issue May 25, 2014 · 1 comment
Closed

Add interface for FogProvider #11

marcusn opened this issue May 25, 2014 · 1 comment

Comments

@marcusn
Copy link
Contributor

marcusn commented May 25, 2014

There should be an interface (FogProvider or simliar) that encapsulates all the case classes in the fog driver. Subclasses should be instantiated as a "provider" in the fog driver instance, where all provider specific logic is delegated. This should include the acquire ip stuff, which I believe is openstack specific?

This would make it much easier to add a new provider.

@jkeiser
Copy link
Contributor

jkeiser commented May 25, 2014

Agreed! FogDrivet.from URL could choose which class to instantiate based on the provider (like fog:AWS)

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

No branches or pull requests

2 participants