-
Notifications
You must be signed in to change notification settings - Fork 3
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
Vmware migration test matrix #62
base: main
Are you sure you want to change the base?
Conversation
@DaanHoogland is this in final state now? I wonder if we can pick this up now |
@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. |
@vladimirpetrov can you add comments and code ? |
from marvin.lib.base import ServiceOffering, Configurations, VirtualMachine, Account, Volume, DiskOffering, StoragePool, \ | ||
Role |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, please extract to a method
voldata = volume.list(self.apiclient, id=volume.id) | ||
|
||
# Move our volume to the source datastore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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(...)
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?