>>> import sonic_platform as P >>> c=P.platform.Platform().get_chassis() sl=c.get_all_sfps() >>> sl=c.get_all_sfps() >>> sl[36].get_transceiver_threshold_info() sl[20].get_transceiver_threshold_info() sl[48].get_transceiver_threshold_info() sl[49].get_transceiver_threshold_info() sl[55].get_transceiver_threshold_info() {'txpowerlowwarning': '-9.1009dBm', 'temphighwarning': '70.0000C', 'temphighalarm': '80.0000C', 'txbiashighalarm': '15.0000mA', 'vcchighalarm': '3.6300Volts', 'txbiaslowalarm': '0.0000mA', 'rxpowerhighwarning': '2.4000dBm', 'vcclowwarning': '3.1350Volts', 'txbiaslowwarning': '0.0000mA', 'rxpowerlowalarm': '-13.0016dBm', 'vcchighwarning': '3.4650Volts', 'txpowerhighwarning': '2.4000dBm', 'rxpowerlowwarning': '-11.0018dBm', 'txbiashighwarning': '12.0000mA', 'vcclowalarm': '2.9700Volts', 'txpowerhighalarm': '4.4000dBm', 'templowalarm': '-10.0000C', 'rxpowerhighalarm': '4.4000dBm', 'templowwarning': '0.0000C', 'txpowerlowalarm': '-11.1014dBm'} >>> sl[20].get_transceiver_threshold_info() {'txpowerlowwarning': 'N/A', 'temphighwarning': 'N/A', 'temphighalarm': 'N/A', 'txbiashighalarm': 'N/A', 'vcchighalarm': 'N/A', 'txbiaslowalarm': 'N/A', 'rxpowerhighwarning': 'N/A', 'vcclowwarning': 'N/A', 'txbiaslowwarning': 'N/A', 'rxpowerlowalarm': 'N/A', 'vcchighwarning': 'N/A', 'txpowerhighwarning': 'N/A', 'rxpowerlowwarning': 'N/A', 'txbiashighwarning': 'N/A', 'vcclowalarm': 'N/A', 'txpowerhighalarm': 'N/A', 'templowalarm': 'N/A', 'rxpowerhighalarm': 'N/A', 'templowwarning': 'N/A', 'txpowerlowalarm': 'N/A'} >>> sl[48].get_transceiver_threshold_info() {'txpowerlowwarning': '-infdBm', 'temphighwarning': '70.0000C', 'temphighalarm': '75.0000C', 'txbiashighalarm': '0.0000mA', 'vcchighalarm': '3.6300Volts', 'txbiaslowalarm': '0.0000mA', 'rxpowerhighwarning': '-infdBm', 'vcclowwarning': '3.1350Volts', 'txbiaslowwarning': '0.0000mA', 'rxpowerlowalarm': '-infdBm', 'vcchighwarning': '3.4650Volts', 'txpowerhighwarning': '-infdBm', 'rxpowerlowwarning': '-infdBm', 'txbiashighwarning': '0.0000mA', 'vcclowalarm': '2.9700Volts', 'txpowerhighalarm': '-infdBm', 'templowalarm': '-5.0000C', 'rxpowerhighalarm': '-infdBm', 'templowwarning': '0.0000C', 'txpowerlowalarm': '-infdBm'} >>> sl[49].get_transceiver_threshold_info() {'txpowerlowwarning': '-8.4013dBm', 'temphighwarning': '70.0000C', 'temphighalarm': '80.0000C', 'txbiashighalarm': '8.5000mA', 'vcchighalarm': '3.5000Volts', 'txbiaslowalarm': '5.4920mA', 'rxpowerhighwarning': '2.4000dBm', 'vcclowwarning': '3.1350Volts', 'txbiaslowwarning': '6.0000mA', 'rxpowerlowalarm': '-13.3068dBm', 'vcchighwarning': '3.4650Volts', 'txpowerhighwarning': '2.4000dBm', 'rxpowerlowwarning': '-10.3012dBm', 'txbiashighwarning': '8.0000mA', 'vcclowalarm': '3.1000Volts', 'txpowerhighalarm': '5.3999dBm', 'templowalarm': '-10.0000C', 'rxpowerhighalarm': '5.3999dBm', 'templowwarning': '0.0000C', 'txpowerlowalarm': '-11.4026dBm'} >>> sl[55].get_transceiver_threshold_info() {'txpowerlowwarning': '-8.4013dBm', 'temphighwarning': '70.0000C', 'temphighalarm': '80.0000C', 'txbiashighalarm': '8.5000mA', 'vcchighalarm': '3.5000Volts', 'txbiaslowalarm': '5.4920mA', 'rxpowerhighwarning': '2.4000dBm', 'vcclowwarning': '3.1350Volts', 'txbiaslowwarning': '6.0000mA', 'rxpowerlowalarm': '-13.3068dBm', 'vcchighwarning': '3.4650Volts', 'txpowerhighwarning': '2.4000dBm', 'rxpowerlowwarning': '-10.3012dBm', 'txbiashighwarning': '8.0000mA', 'vcclowalarm': '3.1000Volts', 'txpowerhighalarm': '5.3999dBm', 'templowalarm': '-10.0000C', 'rxpowerhighalarm': '5.3999dBm', 'templowwarning': '0.0000C', 'txpowerlowalarm': '-11.4026dBm'} >>>