Skip to content
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

Allow setting storage mappings for OVA disks #1266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mansam
Copy link
Contributor

@mansam mansam commented Dec 12, 2024

  • Exposes OVA appliance disks as mappable storage in the OVA inventory collector.
  • Permits mapping any or all OVA appliance disks to their own destination storage classes.
  • This requires a UI change in order to list the source disks in the storage mapping creation view properly. This case needs to be replaced with code similar to the other providers to list the source storage (disks) belonging to the selected VMs.

Implements #1213

Note: Please ignore default mapping in below screenshots, the default mapping has been removed.

image
image
image

@mansam mansam requested review from mnecas and yaacov as code owners December 12, 2024 20:04
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 62 lines in your changes missing coverage. Please review.

Project coverage is 15.42%. Comparing base (b0b9ae7) to head (e49a10f).
Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
pkg/controller/plan/adapter/ova/builder.go 0.00% 49 Missing ⚠️
pkg/controller/plan/adapter/ova/validator.go 0.00% 13 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1266      +/-   ##
==========================================
- Coverage   15.61%   15.42%   -0.20%     
==========================================
  Files         112      112              
  Lines       23134    23426     +292     
==========================================
+ Hits         3612     3613       +1     
- Misses      19237    19528     +291     
  Partials      285      285              
Flag Coverage Δ
unittests 15.42% <0.00%> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mansam mansam closed this Dec 12, 2024
@mansam mansam reopened this Dec 13, 2024
@mansam mansam closed this Dec 16, 2024
@mansam mansam reopened this Dec 16, 2024
* Exposes OVA appliance disks as mappable storage
  in the OVA inventory collector.
* Permits mapping any or all OVA appliance disks
  to their own destination storage classes.
* Any disks that are not specifically mapped are
  assigned to a default storage class, which must
  be given a storage mapping.

Signed-off-by: Sam Lucidi <[email protected]>
Copy link

sonarcloud bot commented Dec 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants