Created
September 2, 2015 10:27
-
-
Save Kami/f8e4227ef4d6849fe23c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ListVMsAction(BaseAction): | |
| api_type = 'compute' | |
| def run(self, credentials, extra_kwargs=None): | |
| driver = self._get_driver_for_credentials(credentials=credentials) | |
| extra_kwargs = extra_kwargs or {} | |
| vms = driver.list_nodes(**extra_kwargs) | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment