sonic-buildimage/device/nokia
Marty Y. Lok a5d443d60a
[Nokia-IXR7250E] Modify the platform_reboot on the IXR7250E for PMON API reboot and Disable all SFPs (#17483)
Why I did it
When Supervisor card is rebooted by using PMON API, it takes about 90 seconds to trigger the shutdown in down path. At this time linecards have been up. This delays linecards database initialization which is trying to PING/PONG the database-chassis. To address this issue, we modified the NDK to use the system call with "sudo reboot" when the request is from PMON API on Supervisor case. The NDK version is 22.9.20 and greater. This new NDK requires this modifcaiton of platform_reboot to work with.

Work item tracking
Microsoft ADO (number only): 26365734
How I did it
Modify the platform_reboot In Supervisor not to reboot all IMMs since it has been done in the function reboot() in module.py. Also handle the reboot-cause.txt for on the Supervisor when the reboot is request from PMON API.
Modify the Nokia platform specific platform_reboot in linecard to disable all SPFs.
This PR works with NDK version 22.9.20 and above

Signed-off-by: mlok <marty.lok@nokia.com>
2024-01-08 11:39:30 -08:00
..
arm64-nokia_ixs7215_52xb-r0 [Marvell-arm64]: Add hugepage cmdline agrument 2023-10-12 02:07:36 -07:00
armhf-nokia_ixs7215_52x-r0 [armhf][Nokia-7215] Remove platform reboot (#17010) 2023-11-27 11:00:12 -08:00
x86_64-nokia_ixr7250e_36x400g-r0 [Nokia-IXR7250E] Modify the platform_reboot on the IXR7250E for PMON API reboot and Disable all SFPs (#17483) 2024-01-08 11:39:30 -08:00
x86_64-nokia_ixr7250e_sup-r0 [Nokia-IXR7250E] Modify the platform_reboot on the IXR7250E for PMON API reboot and Disable all SFPs (#17483) 2024-01-08 11:39:30 -08:00