-
Notifications
You must be signed in to change notification settings - Fork 35
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
Keep the custom CPU model #686
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.
it looks good overall, but how about separating out the changes for the custom CPU (from those for the cluster CPU) to another PR?
validation/policies/io/konveyor/forklift/ovirt/cpu_custom_model.rego
Outdated
Show resolved
Hide resolved
validation/policies/io/konveyor/forklift/ovirt/cpu_custom_model.rego
Outdated
Show resolved
Hide resolved
Get the custom CPU model of the VM. Signed-off-by: Liran Rotenberg <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #686 +/- ##
===========================
===========================
☔ View full report in Codecov by Sentry. |
This patch adds the CPU configuration from oVirt to OCP. This includes the additional flags pointed out in the source environment. Signed-off-by: Liran Rotenberg <[email protected]>
The validation will now check if the VM is set with custom CPU model and show it to the user. Signed-off-by: Liran Rotenberg <[email protected]>
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
@liranr23 please update the description of the PR before merging |
When importing from oVirt, a VM may be set with a custom CPU model.
This PR will preserve it.