sonic-buildimage/device/mellanox/x86_64-mlnx_msn3800-r0
Vadym Hlushko 1d57472eb0
[graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324)
**DEPENDS ON: [[graceful reboot] Add the pre_reboot_hook script execution, add the watchdog arm before the reboot](https://github.com/sonic-net/sonic-utilities/pull/3203)**

#### Why I did it
Add support for the `graceful reboot` instead of  the `sysfs power cycle` to avoid filesystem corruption 

### How I did it
Rename the `platform_reboot` script to the `pre_reboot_hook`.
Remove the sysfs power cycle function, from now on the Debian reboot (`/sbin/reboot`) will be executed instead of the sysfs power cycle.

#### How to verify it
1. Start watching logs by using `show log -f` and `journalctl -p debug -f`
2. Execute the `reboot` command from the switch CLI
3. Check in logs that all systemd services terminated
2024-03-23 16:45:36 -07:00
..
ACS-MSN3800 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-C64 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-D24C52 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-D28C49S1 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-D28C50 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-D100C12S2 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN3800-D112C8 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
plugins [Mellanox]Implement plugins for PSU, fan and thermal (#4041) 2020-01-24 11:27:32 -08:00
default_sku [mellanox]: Added SN3800 platform (#3262) 2019-08-01 16:25:44 -07:00
installer.conf [Mellanox] Disable SSD NCQ on Mellanox platforms (#17567) 2024-01-28 16:26:07 +02:00
pcie.yaml [Mellanox]: Fix PCIEd configuration files for SN3700 and SN3800 systems (#6913) 2021-03-01 12:36:18 +02:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
platform_components.json [Mellanox] Update platform components config files. (#5685) 2020-10-25 19:44:37 +02:00
platform_wait [mellanox]: Added SN3800 platform (#3262) 2019-08-01 16:25:44 -07:00
platform.json [mellanox] Fix DPB supported breakout modes (#10072) 2022-02-25 18:33:35 +05:30
pmon_daemon_control.json [mellanox] Update SN3800 device configs. (#3633) 2019-10-19 12:11:58 +03:00
port_peripheral_config.j2 [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
pre_reboot_hook [graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324) 2024-03-23 16:45:36 -07:00
sensors.conf [Mellanox] Remove SFP sensors from sensors.conf (#17631) 2024-02-12 16:12:57 +02:00
system_health_monitoring_config.json [Mellanox] Add system health configuration file for Mellanox platforms (#4834) 2020-07-13 10:20:22 -07:00
thermal_policy.json Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00