Bug 1317678 - RFE: lshw should provide data from the vendor_id field in json output
Summary: RFE: lshw should provide data from the vendor_id field in json output
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lshw
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Oros
QA Contact: Mike Gahagan
Marie Hornickova
URL:
Whiteboard:
Depends On:
Blocks: 1359574
TreeView+ depends on / blocked
 
Reported: 2016-03-14 20:37 UTC by Mike Gahagan
Modified: 2017-12-06 10:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
vendor_id information in json format added This update adds the information about the content of all vendor_id fields in the /proc/cpuinfo file in the JavaScript Object Notation (json) format.
Clone Of:
Environment:
Last Closed: 2017-12-06 10:46:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mike Gahagan 2016-03-14 20:37:05 UTC
Description of problem:
Currently lshw provides data from the vendor_id field on x86 cpu's in xml format to match the vendor_id field in /proc/cpuinfo. 

This request is to extend that ability to json output as well since json is also frequently used in hardware listing/analysis tools.

Version-Release number of selected component (if applicable):
lshw-B.02.17-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.lshw -class processor -quiet -json | grep -i vendor
notice we just get a vendor field, whereas requesting xml output will also provide the vendor_id field.
2.
3.

Actual results:
[root@dhcp129-184 cpu-x-check]# lshw -class processor -quiet -json | grep -i vendor
    "vendor" : "Intel Corp."

Expected results:
vendor_id is included as well.

Additional info:

Comment 2 Mike Gahagan 2016-03-14 20:41:16 UTC
Bz 1215246 added vendor_id to xml output.

/kernel/hw-enablement/hw-listing-tools/cpu-x-check will test for this issue once I add the test case.

Comment 8 Jan Kurik 2017-12-06 10:46:39 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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