-
Notifications
You must be signed in to change notification settings - Fork 22
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
Filter VMs in vm list views #764
Comments
ok, that part explains why I had the filtering in the VM list view when starting to comment on #770 :) further to what I wrote there about filtering by-feature, I have no strong objection to filter by feature but there can be quite a duplication if this is introduced together with filtering by concern. a representative example is TPM - we would want to display a warning about migration of VMs that are configured with TPM, and if we enable filtering VMs with such warning then filtering them by feature=Persistent TPM seems redundant. out validations are definitely incomplete and some of them should be fixed - the question is whether it would be a better use of our time to fix them and introduce filter by-concern instead of by-feature |
sounds good to me, |
yep, I don't think it would be complicated to add a type that we agree on to the reported concerns |
@yaacov looking at #778, I want to follow up on the error code-like (/machine-readable) representation of the concerns I see your point in saying that discovering the labels from the queried VMs may be problematic with large number of VMs, but let's say that the concern for TPM will be set with a numeric code (e.g., 50) or some string (e.g., TPM) - how would you determine the description to display for this concern without getting it from a VM? (I don't think you can get the set to possible concerns, right?) also, I'm not sure what would actually be a better user experience, to see and be able to select any concern (including concerns that don't match any of the reported VMs) or show only concerns that match at least one VM |
currently we have IMHO we need a new field that is more expresive then a. i prefer a short string and not an error code, so it will be human readable and the developer writing a new warning will easily know what value match the new warning, e.g. category='warning' group='disk warnings' label='bla, bla ...' |
yes, the category was not really meant for filtering - it's more about what to do when a concern appears (block the migration or show warning and let the user to proceed), but it's a good idea in my opinion to allow filtering by that as well
there's a bit of an overlap between these items so tell me if I understand it properly by saying that it concretely means to:
is that correct? |
exectly 👍 |
ok, just checked the amount of validations we have for each provider: $ ls ovirt/ | grep -v test | wc -l
37
$ ls openstack/ | grep -v test | wc -l
18
$ ls vmware/ | grep -v test | wc -l
21 need to take this as an exercise to see how many groups we end up with for each provider |
closed by #778 |
Enhancement:
Filter VMs in VM list views, and match functionality ( * ) with the current filters we have in the create plan wizard.
(*) need to get an "ack" from back-end the filters are still relevant for 2.6 version, maybe we need to update the filters to match new functionalities.
Currently
a. We filter VMs in two stages using a tree view.
b. Filtering is using "@migtools/lib-ui"
Changes needed:
Deprecate "@migtools/lib-ui" implementation in favor of an in-list one-step list filters
Sub tasks:
get an "ack" form back-end to assert this are actually good filters fro this version
raise missing fields issues to back-end and find workarounds if needed
The text was updated successfully, but these errors were encountered: