Read vpd from motherboard and add it to the inventory
The motherboard eeprom is now modeled in the device tree in
Barreleye. Read its vpd with the rest of the eeproms and add
the info to the inventory.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index bee0d4e..98dce40 100755
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -190,6 +190,13 @@
'process_name' : 'phosphor-read-eeprom',
'args' : ['--eeprom','/sys/bus/i2c/devices/0-0050/eeprom','--fruid','64'],
},
+ 'motherboard_vpd' : {
+ 'system_state' : 'BMC_STARTING2',
+ 'start_process' : True,
+ 'monitor_process' : False,
+ 'process_name' : 'phosphor-read-eeprom',
+ 'args' : ['--eeprom','/sys/bus/i2c/devices/4-0054/eeprom','--fruid','3'],
+ },
'exp_vpd' : {
'system_state' : 'BMC_STARTING2',
'start_process' : True,