sonic-buildimage/platform/barefoot/sonic-platform-modules-bfn-montara
Dmytro Lytvynenko 0711aea3aa
[bfn]: Fix sigterm processing (#12952)
Why I did it
SIGTERM takes more than 10 seconds to be processed, so psud is stopped by SIGKILL, this causes unexpected behavior since data base is not cleared

How I did it
Decorate get_presence api to cancel it on SIGTERM signal in order to avoid long processing.

How to verify it
test_pmon_psud_stop_and_start_status
test_pmon_psud_term_and_start_status
2022-12-06 23:38:23 -08:00
..
configs/network/interfaces.d [BFN] Fixed settings for BMC interface (#10940) 2022-06-15 16:31:40 -07:00
debian Update Linux kernel from 5.10.103 to 5.10.140 (#12660) 2022-11-14 16:33:34 -08:00
scripts [barefoot][platform] Refactor legacy scripts (#6871) 2021-02-24 09:42:18 -08:00
sonic_platform [bfn]: Fix sigterm processing (#12952) 2022-12-06 23:38:23 -08:00
LICENSE [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
MAINTAINERS [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
README.md [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
setup.py [barefoot][platform] Refactor legacy scripts (#6871) 2021-02-24 09:42:18 -08:00

sonic-platform-modules-bfn-montara

Device drivers for support of BFN platform for the SONiC project