From e4718a97deafdb853335b13d472de0e273e191af Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 21 Jan 2016 09:33:30 +0000 Subject: report: add rst template for results reporting Add a template that can be used for reporting vsperf release B results. This patch also fixes the line length issues in the markdown template. Change-Id: Id03f5c7eb84536697deca73d3fb397629b647a85 JIRA: VSPERF-181 Signed-off-by: Maryam Tahhan Signed-off-by: Martin Klozik --- tools/systeminfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/systeminfo.py') diff --git a/tools/systeminfo.py b/tools/systeminfo.py index 901b334e..62db852b 100644 --- a/tools/systeminfo.py +++ b/tools/systeminfo.py @@ -65,7 +65,7 @@ def get_cpu(): def get_nic(): """Get NIC(s) information. - :returns: Return NIC(s) information as a string + :returns: Return NIC(s) information as a list """ nics = [] output = subprocess.check_output('lspci', shell=True) @@ -74,7 +74,7 @@ def get_nic(): for nic_pciid in S.getValue('WHITELIST_NICS'): if line.startswith(nic_pciid): nics.append(''.join(line.split(':')[2:]).strip()) - return ', '.join(nics).strip() + return nics def get_platform(): """Get platform information. -- cgit 1.2.3-korg