Bug 1597923

Summary: [RFE] JSON output for bkr system-details
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Carol Bouchard <cbouchar>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: azelinka, bpeck, mastyk
Target Milestone: 26.5Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-02 13:26:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2018-07-03 23:52:52 UTC
bkr system-details currently outputs hardware inventory information for the given system in RDF/XML format. It would be useful if it could output JSON as well.

Major Hayden has contributed a patch for this:
https://gerrit.beaker-project.org/6167

Comment 1 Dan Callaghan 2018-07-03 23:54:27 UTC
One thing to consider: we currently have two separate commands: bkr system-details, which outputs hardware inventory information, and bkr system-status, which outputs the current state of the system like who has reserved it, whether it is loaned, etc.

If we make bkr system-details just blindly output the response from GET /systems/<fqdn> the JSON output will include a lot more than just hardware inventory, it will be basically overlapping with bkr system-status.

Maybe not a big deal though?

Comment 2 Martin Styk 2019-04-08 10:37:12 UTC
*** Bug 922182 has been marked as a duplicate of this bug. ***