-
Notifications
You must be signed in to change notification settings - Fork 497
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
NAS-133751 / 25.10 / Allow importing/exporting disk images in virt plugin #15690
Conversation
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.
Functionality looks good to me! In the future we can support client download/upload but don't think its a requirement for now.
I will let someone more familiar with the codebase to approve.
Thanks!
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.
These 2 methods are basically a copy and paste of one another. (i.e. there is too much duplicated code here). We should condense the validation logic to 1 method, and then condense the subprocess logic from each endpoint into 1 method.
This PR has been merged and conversations have been locked. |
Context
It was requested that we port importing/exporting disk images functionality to virt plugin and that has been done. (Similar changes from VM plugin are being removed in another PR #15658).