| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@DaanHoogland is this in final state now? I wonder if we can pick this up now |
Sorry, something went wrong.
|
@borisstoyanov @vladimirpetrov this is a frame for the tests that can be used and has to be expanded to include all tests. It is a starting point not a finished product. |
Sorry, something went wrong.
|
@vladimirpetrov can you add comments and code ? |
Sorry, something went wrong.
| from marvin.lib.base import ServiceOffering, Configurations, VirtualMachine, Account, Volume, DiskOffering, StoragePool, \ | ||
| Role |
There was a problem hiding this comment.
I think there is a more need line for a multiline import in python (/me googling ...)
| from marvin.lib.base import ServiceOffering, Configurations, VirtualMachine, Account, Volume, DiskOffering, StoragePool, \ | |
| Role | |
| from marvin.lib.base import (ServiceOffering, | |
| Configurations, | |
| VirtualMachine, | |
| Account, | |
| Volume, | |
| DiskOffering, | |
| StoragePool, | |
| Role) |
Sorry, something went wrong.
| else: | ||
| print(">>> Current source datastore is the desired one - no need for setup") | ||
|
|
||
| # Migrate our volume to the target datastore |
There was a problem hiding this comment.
same here, please extract to a method
Sorry, something went wrong.
| target_pool = StoragePool.list(self.apiclient, name=target_name)[0] | ||
| voldata = volume.list(self.apiclient, id=volume.id) | ||
|
|
||
| # Move our volume to the source datastore |
There was a problem hiding this comment.
having this comment indicates that we should have a method call here i.e. move_source_volume_to_source_datastore()
and then move the block below to a
def move_source_volume_to_source_datastore(...)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
internal as it is not even draft yet. but opening to be able to discuss and extend
todo
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?