[docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon (#1840)
* [docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon * make file change for the new daemon * supervisord conf change for the new daemon signed-off-by Liu Kebo kebol@mellanox.com * make xcvrd start sequence aligned with the supervisord conf * update submodules to include xcvrd modification
This commit is contained in:
parent
a215bcd8f1
commit
38beca654c
@ -26,3 +26,5 @@ if [ -e /usr/share/sonic/platform/fancontrol ]; then
|
||||
fi
|
||||
|
||||
supervisorctl start ledd
|
||||
|
||||
supervisorctl start xcvrd
|
||||
|
@ -45,3 +45,12 @@ autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
startsecs=0
|
||||
|
||||
[program:xcvrd]
|
||||
command=/usr/bin/xcvrd
|
||||
priority=6
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
startsecs=0
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
DOCKER_PLATFORM_MONITOR = docker-platform-monitor.gz
|
||||
$(DOCKER_PLATFORM_MONITOR)_PATH = $(DOCKERS_PATH)/docker-platform-monitor
|
||||
$(DOCKER_PLATFORM_MONITOR)_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) $(SONIC_LEDD)
|
||||
$(DOCKER_PLATFORM_MONITOR)_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) $(SONIC_LEDD) $(SONIC_XCVRD)
|
||||
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SONIC_PLATFORM_COMMON_PY2)
|
||||
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SWSSSDK_PY2)
|
||||
$(DOCKER_PLATFORM_MONITOR)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE)
|
||||
|
5
rules/sonic-xcvrd.mk
Normal file
5
rules/sonic-xcvrd.mk
Normal file
@ -0,0 +1,5 @@
|
||||
# sonic-xcvrd (SONiC Transceiver monitoring daemon) Debian package
|
||||
|
||||
SONIC_XCVRD = python-sonic-xcvrd_1.0-1_all.deb
|
||||
$(SONIC_XCVRD)_SRC_PATH = $(SRC_PATH)/sonic-platform-daemons/sonic-xcvrd
|
||||
SONIC_PYTHON_STDEB_DEBS += $(SONIC_XCVRD)
|
@ -1 +1 @@
|
||||
Subproject commit ce83d58b0afffaa3e0b9d57686c814a2b5fd771e
|
||||
Subproject commit b1b9169bf4cf5b3d0e4778dc51c03b99b15c0c6b
|
Loading…
Reference in New Issue
Block a user