CloudVE / cloudbridge

A consistent interface to multiple IaaS clouds; in Python.
https://cloudbridge.cloudve.org
MIT License
113 stars 51 forks source link

Improve interface consistency for background operations #300

Open nuwang opened 2 years ago

nuwang commented 2 years ago

Some methods like stop_vm and restart_vm, block till the operation is complete. It would be better if they were non-blocking and returned an object that can be waited upon or queried for background operation status. In general, there seem to be some inconsistencies in how we are handling this.

vineetjain27 commented 2 years ago

hey @nuwang I want to work into his issue can you please accept my contribution

nuwang commented 2 years ago

@vineetjain27 We are happy to accept contributions. Please feel free to make a pull request with an initial implementation.