sonic-buildimage/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform
Dmytro Lytvynenko 5ff5e98437
[BFN] Update psu.py to process sigterm signal (#13350)
Why I did it
Sometime, SIGTERM processing by psud takes more then default 10sec (please see stopwaitsecs in http://supervisord.org/configuration.html).

Due to this, the following two testcases may fail:

test_pmon_psud_stop_and_start_status
test_pmon_psud_term_and_start_status
How I did it
Update PSU plugin to process sigterm signal so that psud runs faster to end last cycle in time

How to verify it
Run SONiC CTs:
test_pmon_psud_stop_and_start_status
test_pmon_psud_term_and_start_status
2023-02-06 09:52:28 -08:00
..
bfn_extensions [BFN]: Implement getting psu related sensors in sonic_platform directly from BMC (#12786) 2022-12-14 22:21:36 +08:00
pltfm_mgr_rpc [BFN] Updated syseeprom platform plugin to use onie-eeprom (#10556) 2022-09-29 15:13:46 -07:00
__init__.py [barefoot][platform] Platform API fixups (#5613) 2020-10-14 11:35:36 -07:00
chassis.py [BFN] Added watchdog platform plugin (#12995) 2022-12-08 21:56:40 +08:00
component.py [BFN] Reworked BFN platform thermals plugin (#11723) 2022-10-11 09:12:28 +08:00
eeprom.py Add missing import (#12624) 2022-11-10 10:46:49 +08:00
fan_drawer.py [BFN] Fixed FANs indexing for multi-drawer case (#12491) 2022-11-07 22:06:52 +08:00
fan.py [BFN] Fixed FANs indexing for multi-drawer case (#12491) 2022-11-07 22:06:52 +08:00
logging.conf BFN platform API 2.0 support (#4766) 2020-10-03 13:46:21 -07:00
platform_thrift_client.py [BFN] Move qsfp eeprom reading to new cached api (#9909) 2022-09-29 15:12:01 -07:00
platform_utils.py [BFN] Update psu.py to process sigterm signal (#13350) 2023-02-06 09:52:28 -08:00
platform.py BFN platform API 2.0 support (#4766) 2020-10-03 13:46:21 -07:00
psu.py [BFN] Update psu.py to process sigterm signal (#13350) 2023-02-06 09:52:28 -08:00
sfp.py [BFN] Reworked BFN platform thermals plugin (#11723) 2022-10-11 09:12:28 +08:00
thermal.py [BFN] Reworked BFN platform thermals plugin (#11723) 2022-10-11 09:12:28 +08:00
watchdog.py [BFN] Added watchdog platform plugin (#12995) 2022-12-08 21:56:40 +08:00