5921ba58b6
Why I did it To monitor the SSD health condition in DellEMC S6100 platform post upgrade. A daemon is introduced to monitor the SSD every one hour. To check for SSD status at boot time and at the time of cold-reboot. All these changes are supported only for newer SSD firmware. Porting changes from 201911 branch Added a platform_reboot_pre_check script to prevent cold-reboot based on SSD status. Depends on Azure/sonic-utilities#1788 DO NOT MERGE UNTIL ABOVE PR IS MERGED How I did it On branch s6100_ssd_202012 Changes to be committed: (use "git restore --staged ..." to unstage) modified: platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-s6100.install new file: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/iSMART_64 new file: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/platform_reboot_pre_check modified: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/s6100_platform.sh new file: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/s6100_ssd_mon.sh new file: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/s6100_ssd_upgrade_status.sh new file: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/soft-reboot_plugin new file: platform/broadcom/sonic-platform-modules-dell/s6100/systemd/s6100-ssd-monitor.service new file: platform/broadcom/sonic-platform-modules-dell/s6100/systemd/s6100-ssd-monitor.timer new file: platform/broadcom/sonic-platform-modules-dell/s6100/systemd/s6100-ssd-upgrade-status.service
38 lines
2.1 KiB
Plaintext
38 lines
2.1 KiB
Plaintext
s6100/scripts/iom_power_*.sh usr/local/bin
|
|
s6100/scripts/s6100_platform.sh usr/local/bin
|
|
s6100/scripts/s6100_i2c_enumeration.sh usr/local/bin
|
|
s6100/scripts/s6100_bitbang_reset.sh usr/local/bin
|
|
s6100/scripts/pcisysfs.py usr/bin
|
|
common/dell_i2c_utils.sh usr/local/bin
|
|
common/io_rd_wr.py usr/local/bin
|
|
common/nvram_rd_wr.py usr/local/bin
|
|
s6100/scripts/platform_reboot_override usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/fast-reboot_plugin usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/track_reboot_reason.sh usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/warm-reboot_plugin usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/soft-reboot_plugin usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/ssd-fw-upgrade usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/override.conf /etc/systemd/system/systemd-reboot.service.d
|
|
s6100/scripts/s6100_serial_getty_monitor etc/monit/conf.d
|
|
common/dell_lpc_mon.sh usr/local/bin
|
|
s6100/scripts/s6100_ssd_mon.sh usr/local/bin
|
|
s6100/scripts/s6100_ssd_upgrade_status.sh usr/local/bin
|
|
s6100/scripts/platform_sensors.py usr/local/bin
|
|
s6100/scripts/platform_reboot_pre_check usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/modules/sonic_platform-1.0-py2-none-any.whl usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/x86_64-dell_s6100_c2538-r0
|
|
s6100/scripts/platform_watchdog_enable.sh usr/local/bin
|
|
s6100/scripts/platform_watchdog_disable.sh usr/local/bin
|
|
s6100/scripts/sensors usr/bin
|
|
s6100/scripts/iSMART_64 usr/local/bin
|
|
s6100/systemd/platform-modules-s6100.service etc/systemd/system
|
|
s6100/systemd/s6100-lpc-monitor.service etc/systemd/system
|
|
s6100/systemd/s6100-ssd-monitor.service etc/systemd/system
|
|
s6100/systemd/s6100-ssd-monitor.timer etc/systemd/system
|
|
s6100/systemd/s6100-ssd-upgrade-status.service etc/systemd/system
|
|
s6100/systemd/s6100-reboot-cause.service etc/systemd/system
|
|
s6100/systemd/s6100-i2c-enumerate.service etc/systemd/system
|
|
tools/flashrom/flashrom usr/local/bin/
|
|
common/fw-updater usr/local/bin
|
|
common/onie_mode_set usr/local/bin
|