[Pmon] Add new daemon "syseepromd" to pmon docker (#2866)

This commit is contained in:
Kebo Liu 2019-06-19 02:02:24 +08:00 committed by Joe LeVeque
parent e7b1988638
commit 8a08595006
5 changed files with 23 additions and 2 deletions

View File

@ -69,3 +69,14 @@ stdout_logfile=syslog
stderr_logfile=syslog
startsecs=0
{% endif %}
{% if not skip_syseepromd %}
[program:syseepromd]
command=/usr/bin/syseepromd
priority=8
autostart=false
autorestart=true
stdout_logfile=syslog
stderr_logfile=syslog
startsecs=0
{% endif %}

View File

@ -48,3 +48,8 @@ supervisorctl start xcvrd
{% if not skip_psud %}
supervisorctl start psud
{% endif %}
{% if not skip_syseepromd %}
supervisorctl start syseepromd
{% endif %}

View File

@ -7,7 +7,7 @@ DOCKER_PLATFORM_MONITOR_DBG = $(DOCKER_PLATFORM_MONITOR_STEM)-$(DBG_IMAGE_MARK).
$(DOCKER_PLATFORM_MONITOR)_PATH = $(DOCKERS_PATH)/$(DOCKER_PLATFORM_MONITOR_STEM)
$(DOCKER_PLATFORM_MONITOR)_DEPENDS += $(LIBSENSORS) $(LM_SENSORS) $(FANCONTROL) $(SENSORD) $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) $(SMARTMONTOOLS)
$(DOCKER_PLATFORM_MONITOR)_PYTHON_DEBS += $(SONIC_LEDD) $(SONIC_XCVRD) $(SONIC_PSUD)
$(DOCKER_PLATFORM_MONITOR)_PYTHON_DEBS += $(SONIC_LEDD) $(SONIC_XCVRD) $(SONIC_PSUD) $(SONIC_SYSEEPROMD)
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SONIC_PLATFORM_COMMON_PY2)
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SWSSSDK_PY2)
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SONIC_PLATFORM_API_PY2)

View File

@ -0,0 +1,5 @@
# sonic-syseepromd (SONiC Syseeprom gathering daemon) Debian package
SONIC_SYSEEPROMD = python-sonic-syseepromd_1.0-1_all.deb
$(SONIC_SYSEEPROMD)_SRC_PATH = $(SRC_PATH)/sonic-platform-daemons/sonic-syseepromd
SONIC_PYTHON_STDEB_DEBS += $(SONIC_SYSEEPROMD)

@ -1 +1 @@
Subproject commit 366ac0e3dd92be276217be2432f3170312cf50da
Subproject commit 84bca6465b5d089bb40fb47d7c4006b7558e1091