sonic-buildimage/device/mellanox/x86_64-mlnx_msn2700-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-MSN2700 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN2700 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN2700-C28D8 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN2700-D40C8S8 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN2700-D44C10 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
Mellanox-SN2700-D48C8 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
plugins [device/mellanox] Mitigation for security vulnerability (#11877) 2022-10-06 17:51:31 -04:00
default_sku [Mellanox]: Update default SKU for SN2700. (#16663) 2023-09-30 01:43:30 -07:00
installer.conf [Mellanox] Disable SSD NCQ on Mellanox platforms (#17567) 2024-01-28 16:26:07 +02:00
pcie.yaml [master] Mellanox: 2700, 4600c - Quoted device IDs to prevent false flags in pcied (#15896) 2023-07-18 21:14:00 -07: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] implement platform wait in python code (#17398) 2023-12-14 12:04:24 +02:00
platform.json [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
pmon_daemon_control.json add flag skip_xcvrd_cmis_mgr to skip cmis task on Nvidia platform (#11120) 2022-06-15 16:33:08 -07: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 [system-health] Add support for monitoring system health (#4835) 2020-10-12 11:12:49 +03:00
thermal_policy.json [Mellanox] Update HW-MGMT package to new version V.7.0030.1011 (#16239) 2023-09-06 11:32:08 +03:00