sonic-buildimage/src
SuvarnaMeenakshi c8b2d33b89
[YANG][SNMP]: Add YANG model for SNMP_AGENT_ADDRESS_CONFIG table (#15587)
#### Why I did it
https://github.com/sonic-net/sonic-utilities/pull/472 Added SNMP_AGENT_ADDRESS_CONFIG table in config db.
This PR is to add corresponding YANG model for that table.
##### Work item tracking
- Microsoft ADO **(number only)**:

#### How I did it
Added YANG modesl for SNMP_AGENT_ADDRESS_CONFIG.

keys: agent_ip, port number, vrf.
CLI implementaion checks if agent_ip, port number already exists in CONFIG_DB table, if it does, then new entry is not added.
So added another condition to ensure combination of agent_ip and port is unique.
Below is an example of how data looks like in DB:
```
127.0.0.1:6379[4]> HGETALL  "SNMP_AGENT_ADDRESS_CONFIG|10.1.1.1|161|foo"
1) "NULL"
2) "NULL"
127.0.0.1:6379[4]> HGETALL "SNMP_AGENT_ADDRESS_CONFIG|10.1.0.32|161|"
1) "NULL"
2) "NULL"
```
#### How to verify it
Added unit-test for various combinations and ensures that it passes.
2023-07-27 16:48:15 -07:00
..
bash [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
debootstrap Image build time improvements (#10104) 2022-04-19 09:22:16 -07:00
dhcpmon@824a1448b9 [submodule] Update submodule dhcpmon to the latest HEAD automatically (#15634) 2023-06-27 16:37:44 +08:00
dhcprelay@6a6ce24512 advance dhcprelay to 6a6ce24, add default dhcpv6 dualtor source interface (#15864) 2023-07-17 15:28:10 -07:00
ethtool [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
flashrom Flashrom refactoring for broadcom platforms (#7693) 2021-06-22 15:29:21 -07:00
gobgp [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
hiredis [buildsystem] Fix hiredis package version: 0.14.1-1 (#15461) 2023-06-20 15:33:00 +03:00
iccpd [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
ifupdown2 Patch ifupdown2 (#9630) (#11548) 2022-09-26 09:30:38 -07:00
initramfs-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iproute2 Upgrade docker-sonic-vs and docker-syncd-vs to Bullseye (#13294) 2023-03-19 21:14:27 -07:00
iptables [nat] Switch to bullseye (#14495) 2023-04-02 14:02:33 -07:00
isc-dhcp [build] update isc-dhcp to 4.4.1-2.3+deb11u2 to fix build failure (#15002) 2023-05-11 22:14:20 +08:00
ixgbe Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
kdump-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libnl3 [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
libteam teamd: Add support for custom retry counts for LACP sessions (#13453) 2023-06-09 10:03:25 -07:00
libyang [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
libyang1 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang2 Revert "[build] Migrate libyang2 sources download from wget to dget (#13394)" 2023-01-25 02:17:40 -08:00
linkmgrd@6e5cfda887 [submodule] Update submodule linkmgrd to the latest HEAD automatically (#15885) 2023-07-20 04:33:02 +08:00
lldpd Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
lm-sensors Fix sensord service install (#12376) 2022-10-21 14:25:24 +08:00
monit Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
mpdecimal Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
ntp [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
openssh [openssh] Export remote address to environment variable for TACACS authorization. (#12447) 2022-11-03 17:31:13 +08:00
protobuf [dash-api]: Add dash-api and related protobuf library (#14515) 2023-07-05 09:59:35 -07:00
ptf@36a3e3d9ac [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
ptf-py3@405513bcad Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
ptf-py3.patch Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
ptf.patch [PTF] Patch PTF library to use correct VXLAN module (#13155) 2023-01-17 15:03:13 -08:00
radius [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
redis Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
redis-dump-load@7585497951 [redis-dump-load] Update submodule (#5215) 2020-08-19 11:23:42 -07:00
redis-dump-load.patch [build] Use pip to install setup.py dependency instead of python setup.py install (#8997) 2021-10-26 21:12:45 -07:00
scapy@8b63d73a17 [scapy] update scapy to 2.4.5 and patch it (#10457) 2022-04-07 14:23:35 +03:00
scapy.patch [scapy]: Patch scapy 2.4.5 for sniffing on intfs (#10644) 2022-05-18 13:01:27 -07:00
sflow Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
snmpd [snmpd] Fixed snmpd memory leak issue (#11812) 2022-08-25 00:24:53 -07:00
socat Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sonic-bgpcfgd Add BGP configuration for BGPSentinel peer (#15714) 2023-07-21 09:32:29 +08:00
sonic-build-hooks 07.Version Cache - Support for PIP (#14613) 2023-06-05 12:02:33 -07:00
sonic-config-engine Add BGP configuration for BGPSentinel peer (#15714) 2023-07-21 09:32:29 +08:00
sonic-containercfgd [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
sonic-ctrmgrd [ctgmgr]: do not remove label when do systemd service stop when service is in kube mode (#15642) 2023-07-14 09:15:20 -07:00
sonic-dash-api [submodule] Update submodule sonic-dash-api/sonic-dash-api to the latest HEAD automatically (#15725) 2023-07-06 16:39:13 +08:00
sonic-dbsyncd@e4ac9068be [submodule] Update submodule sonic-dbsyncd to the latest HEAD automatically (#15547) 2023-06-20 16:32:51 +08:00
sonic-device-data Change build-image licenses to Apache (#15377) 2023-07-27 08:30:12 -07:00
sonic-eventd [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
sonic-fips Touch the donwload files to change the modified time (#10929) 2022-05-26 21:55:13 +08:00
sonic-frr [FRR]Fixing the advertisement of static ipv6 route (#15688) 2023-07-06 16:29:24 -07:00
sonic-frr-mgmt-framework [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
sonic-genl-packet@829cc21762 Add genl packet to sonic-buildimage (#13032) 2022-12-14 15:15:47 -05:00
sonic-gnmi@fb338d50aa [submodule] Update submodule sonic-gnmi to the latest HEAD automatically (#15929) 2023-07-21 16:32:44 +08:00
sonic-host-services@bc08806b64 [submodule] Update submodule sonic-host-services to the latest HEAD automatically (#15645) 2023-06-28 16:37:28 +08:00
sonic-host-services-data Change build-image licenses to Apache (#15377) 2023-07-27 08:30:12 -07:00
sonic-linux-kernel@e72818fcb6 [submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#15916) 2023-07-20 19:20:29 +08:00
sonic-mgmt-common@341fd734b1 [submodule] Update submodule sonic-mgmt-common to the latest HEAD automatically (#15521) 2023-07-08 16:34:46 +08:00
sonic-mgmt-framework@4a2ff410f1 [submodule] Update submodule sonic-mgmt-framework to the latest HEAD automatically (#15549) 2023-06-20 16:32:45 +08:00
sonic-p4rt advance sonic-pins submodule (#14930) 2023-05-15 09:20:16 -07:00
sonic-pit/pit-sysdiag [sonic-pit] Add PIT(Platform Integration Test) feature, second part, … (#12530) 2023-06-27 07:09:23 -07:00
sonic-platform-common@465f95eed1 [submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15797) 2023-07-12 16:37:20 +08:00
sonic-platform-daemons@76baca3d71 [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15918) 2023-07-21 18:33:20 +08:00
sonic-platform-pde@77090359ca [submodule] Update submodule sonic-platform-pde to the latest HEAD automatically (#15552) 2023-06-20 15:36:42 +08:00
sonic-py-common [Marvell] Fix get_system_mac for system without eeprom (#15376) 2023-07-26 10:17:39 -07:00
sonic-py-swsssdk@1109e49601 [submodule] Update submodule sonic-py-swsssdk to the latest HEAD automatically (#15553) 2023-06-20 16:23:18 +08:00
sonic-restapi@a69ba06560 [submodule] Update submodule sonic-restapi to the latest HEAD automatically (#15657) 2023-06-29 15:06:03 +08:00
sonic-sairedis@ce8f642271 Update sairedis submodule (#15720) 2023-07-24 17:05:03 -07:00
sonic-snmpagent@4948ea34b0 [submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#15555) 2023-06-20 16:39:25 +08:00
sonic-swss@a2a583656a [submodule] Update submodule sonic-swss to the latest HEAD automatically (#15920) 2023-07-20 19:16:40 +08:00
sonic-swss-common@00db81f68b [submodule] Update submodule sonic-swss-common to the latest HEAD automatically (#15739) 2023-07-07 15:57:10 +08:00
sonic-utilities@4b547ef24f [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15967) 2023-07-27 15:15:51 +08:00
sonic-yang-mgmt Don't create the members@ array in config_db for PC when reading from minigraph (#13660) 2023-02-23 14:49:51 -08:00
sonic-yang-models [YANG][SNMP]: Add YANG model for SNMP_AGENT_ADDRESS_CONFIG table (#15587) 2023-07-27 16:48:15 -07:00
sonic-ztp@8768991556 [submodule] Update submodule sonic-ztp to the latest HEAD automatically (#15426) 2023-06-10 16:05:44 +08:00
swig Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
system-health Update the description message of PSU power threshold checking in system health (#15289) 2023-07-15 01:10:29 +03:00
systemd-sonic-generator [systemd-sonic-generator] replace sscanf with strtol (#15357) 2023-06-22 13:16:11 -07:00
tacacs Use execle instead of popen in tacas nss to avoid shell escape exploits (#15284) 2023-07-05 14:41:44 -07:00
thrift Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
thrift_0_14_1 add build target thrift 014 for python2 (#12790) 2022-11-21 21:25:19 -08:00
wpasupplicant [submodule] Update submodule wpasupplicant/sonic-wpa-supplicant to the latest HEAD automatically (#15556) 2023-06-21 15:50:20 +08:00