Feature #20743

Select certain fields for output

Added by Josh Pavel 3 months ago. Updated 3 months ago.

Status:Duplicate
Priority:Normal
Assigned To:-
Category:Hammer core
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

The --include field is not very clear; I intended to use it as follows:

host list --hostgroup "foo" --include "Owner"

I expected that to generate a list of hosts in the hostgroup "foo" and add an extra field for "Owner", alongside ID, Name, Operating System, Host Group, IP, MAC, Content View, and Lifecycle Environment.

We require the ability to generate reports of the data in Foreman; e.g., HW info, Owner, IP, OS for audit reasons.


Related issues

Duplicates Hammer CLI - Feature #19135: Possibility to limit or add fields that are displayed New 04/03/2017

History

#1 Updated by Tomáš Strachota 3 months ago

  • Category set to Hammer core
  • Status changed from New to Duplicate

Thanks for reporting the issue. The same feature has been requested in http://projects.theforeman.org/issues/19135 Please comment there if you have some additional input. I'm closing this one as duplicate.

At the moment the --include parameter in host list has no effect and it should be removed until we implement the correct way of limiting/extending output.
I reported the issue here: http://projects.theforeman.org/issues/20754

#2 Updated by Tomáš Strachota 3 months ago

  • Duplicates Feature #19135: Possibility to limit or add fields that are displayed added

Also available in: Atom PDF