Project

General

Profile

Feature #32140

Updated by Marek Hulán almost 2 years ago

The ReportedDataFacet (https://github.com/theforeman/foreman/blob/develop/app/models/host_facets/reported_data_facet.rb) defines several normalized data based on facts however we don't allow to use that in our search. E.g. search of all hosts having RAM > 1024 or all hosts running for longer than a year without reboot (based on boot_time).

We should define a scoped_search definition for each of the attribute. Ideally that should be possible on host search syntax so on host detail page I could do something like "reported.ram > 1024".

Back