This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/dockers
Travis Van Duyn d769ef2abd
[snmp]: updated to support snmp config from redis configdb (#6134)
**- Why I did it**
I'm updating the jinja2 template to support getting SNMP information from the redis configdb. 
I'm using the format approved here: 
https://github.com/Azure/SONiC/pull/718

This will pave the way for us to decrement using the snmp.yml in the future.  
Right now we will still be using both the snmp.yml and configdb to get variable information in order to create the snmpd.conf via the sonic-cfggen tool. 

**- How I did it**
I first updated the SNMP Schema in PR #718 to get that approved as a standardized format. 
Then I verified I could add snmp configs to the configdb using this standard schema.  Once the configs were added to the configdb then I updated the snmpd.conf.j2 file to support the updates via the configdb while still using the variables in the snmp.yml file in parallel.  This way we will have backward compatibility until we can fully migrate to the configdb only. 

By updating the snmpd.conf.j2 template and running the sonic-cfggen tool the snmpd.conf gets generated with using the values in both the configdb and snmp.yml file. 

Co-authored-by: trvanduy <trvanduy@microsoft.com>
2021-01-05 13:43:29 -08:00
..
docker-base Enable the notify mode of rsyslogd imfile module used for supervisord (#6298) 2020-12-31 17:01:57 -08:00
docker-base-buster [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-base-stretch Recover "Support SONiC Reproduceable Build-debian/pip/web packages (#6255) 2020-12-21 15:31:10 +08:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-buster [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-dhcp-relay First cut image update for kubernetes support. (#5421) 2020-12-22 08:01:33 -08:00
docker-fpm-frr FRR 7.5 2020-12-29 03:44:49 -08:00
docker-fpm-gobgp [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-fpm-quagga [Python] Align files in root dir, dockers/ and files/ with PEP8 standards (#6109) 2020-12-03 15:57:50 -08:00
docker-iccpd [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-lldp First cut image update for kubernetes support. (#5421) 2020-12-22 08:01:33 -08:00
docker-nat [Python] Align files in root dir, dockers/ and files/ with PEP8 standards (#6109) 2020-12-03 15:57:50 -08:00
docker-orchagent [ipinip.json.j2] align mellanox configuration dst_ip with other platforms (#6304) 2020-12-28 20:53:12 -08:00
docker-platform-monitor Add pmon daemons python3 build support (#6176) 2020-12-28 10:19:24 -08:00
docker-ptf [docker-ptf]: Updating Python-based GNMI client (#6216) 2020-12-17 22:12:04 -08:00
docker-ptf-saithrift [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-router-advertiser First cut image update for kubernetes support. (#5421) 2020-12-22 08:01:33 -08:00
docker-sflow [Python] Align files in root dir, dockers/ and files/ with PEP8 standards (#6109) 2020-12-03 15:57:50 -08:00
docker-snmp [snmp]: updated to support snmp config from redis configdb (#6134) 2021-01-05 13:43:29 -08:00
docker-sonic-mgmt [docker-sonic-mgmt]: Upgrade Tgen API from 0.0.42 to 0.0.70 (#6275) 2020-12-24 01:53:31 -08:00
docker-sonic-mgmt-framework [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-sonic-restapi [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-sonic-telemetry First cut image update for kubernetes support. (#5421) 2020-12-22 08:01:33 -08:00
docker-teamd [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00