Actions
Feature #11731
openSelect output columns in "hammer discovery list --search"
Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer CLI
Description
When getting a list of nodes via
hammer discovery list --searchthe output columns are fixed. This means that if one wants to search for all nodes with a set of facts that do not appear in the pre-defined columns, there are two steps that need to be taken:
- get the list of nodes matching the search critirea
- itererate over each node and get all of its facts
- filter only the relevant facts
Since we often want to search for a list of nodes and see the actual results of the query, it would be great if we could do all of this in one step. Consider this search: "memory > 10 and memory < 100" - what are the actual memory values that matched? what if we also wanted to see the ipmi_ip or some custom fact, such as facts.cabinet?
Updated by Ori Rabin about 8 years ago
- Assignee deleted (
Ori Rabin) - Priority changed from High to Normal
Actions