From f9181254bb750c3ce5b947fbfb62d66b1d4b097c Mon Sep 17 00:00:00 2001 From: dflynn-Nokia <60479697+dflynn-Nokia@users.noreply.github.com> Date: Mon, 2 May 2022 14:22:29 -0400 Subject: [PATCH] [syseeprom] Enable display of vendor extension TLV content (#270) Description The code that decodes the content of the ONIE syseeprom includes a flag to enable/disable displaying the content of the vendor extension TLV. This flag is currently set to 'disable'. Hence the 'show platform syseeprom' command shows the presence and size of the vendor extension TLV but does not show its content. This commit sets the flag to 'enable' so that the vendor extension TLV content is displayed. Motivation and Context The 'show platform syseeprom' command shows that the Vendor Extension TLV is present but does not show its content. Here's what that looks like on an example platform. --- sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py b/sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py index b7070d8a646f..0961458cceda 100644 --- a/sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py +++ b/sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py @@ -68,7 +68,7 @@ class TlvInfoDecoder(eeprom_base.EepromDecoder): _TLV_CODE_QUANTA_MODEL_NAME = _TLV_CODE_UNDEFINED # TLV Value Display Switch - _TLV_DISPLAY_VENDOR_EXT = False + _TLV_DISPLAY_VENDOR_EXT = True def __init__(self, path, start, status, ro, max_len=_TLV_INFO_MAX_LEN):