This patchset is a work in progress. I'm sending it now so we can get early feedback.
The following problems are known:
- The previous "create" function (which is now called
"_create_volume_with_capacity")
should be updated to the Task API. This will cause errors in existing tests.
- There is one unfinished error message.
- The tests and mockmodel are missing.
Any feedback is welcome.
Crístian Viana (4):
storagevolume: Split "create" function based on the parameters
storagevolume: Use a Task to create a new volume
storagevolume: Download remote images to a storage pool
storagevolume: Add download progress to task
src/kimchi/control/storagevolumes.py | 4 +-
src/kimchi/model/storagevolumes.py | 71 +++++++++++++++++++++++++++++++++++-
2 files changed, 72 insertions(+), 3 deletions(-)
--
1.9.3