214e394ac0
#### Why I did it To deprecate swsssdk, remove all dependency to it. #### How I did it Remove swsssdk from rules and build image scripts. #### How to verify it Pass all UT and E2E test case #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 #### Description for the changelog Remove swsssdk from rules and build image scripts. #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
# docker image for snmp agent
|
|
|
|
DOCKER_SNMP_STEM = docker-snmp
|
|
DOCKER_SNMP = $(DOCKER_SNMP_STEM).gz
|
|
DOCKER_SNMP_DBG = $(DOCKER_SNMP_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
$(DOCKER_SNMP)_PATH = $(DOCKERS_PATH)/docker-snmp
|
|
|
|
## TODO: remove LIBPY3_DEV if we can get pip3 directly
|
|
$(DOCKER_SNMP)_DEPENDS += $(SNMP) $(SNMPD)
|
|
|
|
$(DOCKER_SNMP)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_DEPENDS)
|
|
$(DOCKER_SNMP)_DBG_DEPENDS += $(SNMP_DBG) $(SNMPD_DBG) $(LIBSNMP_DBG)
|
|
$(DOCKER_SNMP)_DBG_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON3_SWSSCOMMON)
|
|
|
|
$(DOCKER_SNMP)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_IMAGE_PACKAGES)
|
|
|
|
$(DOCKER_SNMP)_PYTHON_WHEELS += $(SONIC_PY_COMMON_PY3) $(SONIC_PLATFORM_COMMON_PY3) $(ASYNCSNMP_PY3)
|
|
$(DOCKER_SNMP)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BULLSEYE)
|
|
|
|
$(DOCKER_SNMP)_VERSION = 1.0.0
|
|
$(DOCKER_SNMP)_PACKAGE_NAME = snmp
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SNMP)
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SNMP)
|
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_SNMP_DBG)
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_SNMP_DBG)
|
|
|
|
$(DOCKER_SNMP)_CONTAINER_NAME = snmp
|
|
$(DOCKER_SNMP)_RUN_OPT += --privileged -t
|
|
$(DOCKER_SNMP)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
$(DOCKER_SNMP)_RUN_OPT += -v /usr/share/sonic/scripts:/usr/share/sonic/scripts:ro
|
|
$(DOCKER_SNMP)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
|
|
|
SONIC_BULLSEYE_DOCKERS += $(DOCKER_SNMP)
|
|
SONIC_BULLSEYE_DBG_DOCKERS += $(DOCKER_SNMP_DBG)
|