Bug 1317678

Summary: RFE: lshw should provide data from the vendor_id field in json output
Product: Red Hat Enterprise Linux 6 Reporter: Mike Gahagan <mgahagan>
Component: lshwAssignee: Petr Oros <poros>
Status: CLOSED WONTFIX QA Contact: Mike Gahagan <mgahagan>
Severity: unspecified Docs Contact: Marie Hornickova <mdolezel>
Priority: unspecified    
Version: 6.8CC: mgahagan, tlavigne
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:46:39 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:
Bug Depends On:    
Bug Blocks: 1359574    

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/