[PATCH skeleton] Remove CHASSIS_2 from Barreleye.py

Brad Bishop bradleyb at fuzziesquirrel.com
Thu Apr 28 11:07:42 AEST 2016


Reviewed-by: Brad Bishop <bradleyb at fuzziesquirrel.com>

> On Apr 27, 2016, at 6:40 PM, OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:
> 
> From: Adriana Kobylak <anoo at us.ibm.com>
> 
> FRU_ID 2 corresponds to CPU1 and it doesn't have a CHASSIS section,
> so removing CHASSIS_2 since it causes an error on parsing the vpd
> data from hostboot and therefore it doesn't get added to the
> inventory.
> ---
> bin/Barreleye.py | 1 -
> 1 file changed, 1 deletion(-)
> 
> diff --git a/bin/Barreleye.py b/bin/Barreleye.py
> index 09fefa0..0cf55a1 100755
> --- a/bin/Barreleye.py
> +++ b/bin/Barreleye.py
> @@ -385,7 +385,6 @@ ID_LOOKUP = {
> 		'BOARD_3'    : '<inventory_root>/system/misc',
> 		'PRODUCT_51' : '<inventory_root>/system/misc',
> 		'PRODUCT_100': '<inventory_root>/system',
> -		'CHASSIS_2'  : '<inventory_root>/system/chassis',
> 		'CHASSIS_100': '<inventory_root>/system/chassis',
> 		'BOARD_100'  : '<inventory_root>/system/chassis/io_board',
> 		'BOARD_101'  : '<inventory_root>/system/chassis/sas_expander',
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list