-
Notifications
You must be signed in to change notification settings - Fork 12
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
A method for every single openstack command? #5
Comments
In general I agree with you, I just did not want to optimize these things too early and too much as we have currently only 2 |
Yes, but I'd need |
Or module that is included into the context. We're already including Or would you rather convert that module into a class and inherit from it for every |
Puh, that's a design questions on which I don't have any particular opinion. |
This is the proposal to simpify the commands' implementation: Add openstack client refactored api |
Thanks for improving this right away! Edit: I just saw the PR isn't merged yet but I keep this issue closed as this will eventually go into master. |
Only a few commands have been implemented so far:
993baf2
48519ca
But we already have code duplications and differences:
ab689c1
And looking at the length of the list of openstack commands, we should consider a more generic way to implement these helpers, e.g. the code for listing users and images is basically the same and should be reusable when I want to list tenants (projects).
The text was updated successfully, but these errors were encountered: