[sonic-platform-common] Update submodule (#6742)
Submodule commits included: * src/sonic-platform-common 6ad0004...bd4dc03 (1): > [sonic_sfp/qsfp_dd.py] Update DOM capability method name to align with other drivers (#163) Also align all calling function names to match.
This commit is contained in:
parent
149a68b956
commit
7ea0d9e27a
@ -506,7 +506,7 @@ class Sfp(SfpBase):
|
|||||||
qsfp_dom_capability_raw = self.__read_eeprom_specific_bytes(
|
qsfp_dom_capability_raw = self.__read_eeprom_specific_bytes(
|
||||||
(offset_xcvr + XCVR_DOM_CAPABILITY_OFFSET), XCVR_DOM_CAPABILITY_WIDTH)
|
(offset_xcvr + XCVR_DOM_CAPABILITY_OFFSET), XCVR_DOM_CAPABILITY_WIDTH)
|
||||||
if qsfp_dom_capability_raw is not None:
|
if qsfp_dom_capability_raw is not None:
|
||||||
qspf_dom_capability_data = sfpi_obj.parse_qsfp_dom_capability(
|
qspf_dom_capability_data = sfpi_obj.parse_dom_capability(
|
||||||
qsfp_dom_capability_raw, 0)
|
qsfp_dom_capability_raw, 0)
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
@ -407,7 +407,7 @@ class Sfp(SfpBase):
|
|||||||
if qsfp_dom_capability_raw is not None:
|
if qsfp_dom_capability_raw is not None:
|
||||||
self.dom_temp_supported = True
|
self.dom_temp_supported = True
|
||||||
self.dom_volt_supported = True
|
self.dom_volt_supported = True
|
||||||
dom_capability = sfpi_obj.parse_qsfp_dom_capability(
|
dom_capability = sfpi_obj.parse_dom_capability(
|
||||||
qsfp_dom_capability_raw, 0)
|
qsfp_dom_capability_raw, 0)
|
||||||
if dom_capability['data']['Flat_MEM']['value'] == 'Off':
|
if dom_capability['data']['Flat_MEM']['value'] == 'Off':
|
||||||
self.dom_supported = True
|
self.dom_supported = True
|
||||||
|
@ -482,7 +482,7 @@ class SFP(SfpBase):
|
|||||||
if qsfp_dom_capability_raw is not None:
|
if qsfp_dom_capability_raw is not None:
|
||||||
self.dom_temp_supported = True
|
self.dom_temp_supported = True
|
||||||
self.dom_volt_supported = True
|
self.dom_volt_supported = True
|
||||||
dom_capability = sfpi_obj.parse_qsfp_dom_capability(qsfp_dom_capability_raw, 0)
|
dom_capability = sfpi_obj.parse_dom_capability(qsfp_dom_capability_raw, 0)
|
||||||
if dom_capability['data']['Flat_MEM']['value'] == 'Off':
|
if dom_capability['data']['Flat_MEM']['value'] == 'Off':
|
||||||
self.dom_supported = True
|
self.dom_supported = True
|
||||||
self.second_application_list = True
|
self.second_application_list = True
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 6ad0004c29a143a0635ad7f3c81ce652313569cb
|
Subproject commit bd4dc03d3d63075331ae4de8f35f35d7054d260f
|
Loading…
Reference in New Issue
Block a user