Skip to content

Commit ed2d87a

Browse files
sridhar-ravindranlguohan
authored andcommitted
[Dell] [Z9100] Supporting PreEmphasis Settings for Optics (#2501)
1 parent 922fdc5 commit ed2d87a

File tree

6 files changed

+1620
-0
lines changed

6 files changed

+1620
-0
lines changed

platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-z9100.install

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ common/fstrim.timer etc/systemd/system
66
common/fstrim.service etc/systemd/system
77
common/platform_reboot usr/share/sonic/device/x86_64-dell_z9100_c2538-r0
88
z9100/scripts/platform_sensors.py usr/local/bin
9+
z9100/scripts/z9100_qsfp_monitor.py usr/local/bin
10+
z9100/scripts/z9100_preemp_db.py usr/local/bin
11+
z9100/scripts/qsfp_monitor usr/local/bin
912
z9100/scripts/sensors usr/bin
1013
z9100/cfg/z9100-modules.conf etc/modules-load.d
1114
z9100/systemd/platform-modules-z9100.service etc/systemd/system
15+
z9100/systemd/z9100-qsfp-monitor.service etc/systemd/system

platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-z9100.postinst

+3
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ depmod -a
99
systemctl enable platform-modules-z9100.service
1010
systemctl start platform-modules-z9100.service
1111

12+
# Enable Dell-Z9100-Qsfp-Monitor-service
13+
systemctl enable z9100-qsfp-monitor.service
14+
systemctl start z9100-qsfp-monitor.service
1215

1316
#DEBHELPER#
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
if [ -r /usr/local/bin/z9100_qsfp_monitor.py ]; then
3+
python /usr/local/bin/z9100_qsfp_monitor.py &
4+
fi

0 commit comments

Comments
 (0)