summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-08-08 09:54:34 -0500
committerMatt Spinler <spinler@us.ibm.com>2017-08-08 09:57:27 -0500
commit123437f5390acfd79dcad743b8e6aade94393fc7 (patch)
treeb1fd2e7e75b42b61a8ac23918bebf32207519d8d
parent611b90fc6391c4a2ddbac93226b96bbceeaaecf6 (diff)
downloadphosphor-mrw-tools-123437f5390acfd79dcad743b8e6aade94393fc7.tar.gz
phosphor-mrw-tools-123437f5390acfd79dcad743b8e6aade94393fc7.zip
Inventory.pm: Add OCCs to MRW inventory
For example: Target: /sys-0/node-0/motherboard-0/proc_socket-0/module-0/p9_proc_m/occ Name: /system/chassis/motherboard/cpu0/occ Change-Id: I251dd3bcc7ff5fba8865242da5795aac0f13b56e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r--Inventory.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Inventory.pm b/Inventory.pm
index 9f37f3b..cc8c63a 100644
--- a/Inventory.pm
+++ b/Inventory.pm
@@ -4,7 +4,8 @@ use strict;
use warnings;
#Target types to always include in the inventory if present
-my %TYPES = (SYS => 1, NODE => 1, PROC => 1, BMC => 1, GPU => 1, CORE => 1);
+my %TYPES = (SYS => 1, NODE => 1, PROC => 1,
+ BMC => 1, GPU => 1, CORE => 1, OCC => 1);
#RU_TYPES of cards to include
#FRU = field replaceable unit, CRU = customer replaceable unit
OpenPOWER on IntegriCloud