Bug 1597923 - [RFE] JSON output for bkr system-details
Summary: [RFE] JSON output for bkr system-details
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 26.5
Assignee: Carol Bouchard
QA Contact: tools-bugs
URL:
Whiteboard:
: 922182 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-03 23:52 UTC by Dan Callaghan
Modified: 2019-04-08 10:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-02 13:26:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6466 0 None None None 2019-03-19 07:49:41 UTC

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. ***


Note You need to log in before you can comment on or make changes to this bug.