sonic-buildimage/dockers
Petro Bratash 32a832a8ac
[lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699)
Fix #5812

LLDP conf Jinja2 Template does not verify IPv4 address and can use IPv6 version. This issue does not effect control LLDP daemon. Issue can be reproduced via `test_snmp_lldp` test. LLDP conf Jinja2 Template selects first item from the list of mgmt interfaces.

TESTBED_1 LLDP conf

```
# cat /etc/lldpd.conf 
configure ports eth0 lldp portidsubtype local eth0
configure system ip management pattern FC00:3::32
configure system hostname dut-1
```
TESTBED_2  LLDP conf

```
# cat /etc/lldpd.conf
configure ports eth0 lldp portidsubtype local eth0
configure system ip management pattern 10.22.24.61
configure system hostname dut-2
```
TESTBED_1  MGMT_INTERFACE

```
$ redis-cli -n 4 keys "*" | grep MGMT_INTERFACE
MGMT_INTERFACE|eth0|10.22.24.53/23
MGMT_INTERFACE|eth0|FC00:3::32/64
```
TESTBED_2  MGMT_INTERFACE

```
$ redis-cli -n 4 keys "*" | grep MGMT_INTERFACE
MGMT_INTERFACE|eth0|FC00:3::32/64
MGMT_INTERFACE|eth0|10.22.24.61/23

```

Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
2020-11-07 10:30:41 -08:00
..
docker-base Revert "[docker-base]: Rate limit priority INFO and lower in syslog" (#5763) 2020-11-02 08:49:40 -08:00
docker-base-buster [build]: ARM build: Download redis-tools and redis-server from sonicstorage (#5797) 2020-11-04 09:31:06 -08:00
docker-base-stretch Revert "[docker-base]: Rate limit priority INFO and lower in syslog" (#5763) 2020-11-02 08:49:40 -08:00
docker-basic_router Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
docker-config-engine [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00
docker-config-engine-buster [build]: Upgrade pip3 before pip2 (#5743) 2020-10-29 19:01:17 -07:00
docker-config-engine-stretch [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00
docker-database [build]: ARM build: Download redis-tools and redis-server from sonicstorage (#5797) 2020-11-04 09:31:06 -08:00
docker-dhcp-relay [dhcpmon] Print Both Snapshot And Current Counters (#5374) 2020-09-15 15:27:36 -07:00
docker-fpm-frr [BGP]: Convert ip address to network address for the LOCAL_VLAN filter (#5832) 2020-11-06 17:47:08 -08:00
docker-fpm-gobgp [frr] Reduce Calls to SONiC Cfggen (#5176) 2020-08-17 15:47:42 -07:00
docker-fpm-quagga [cfggen] Make Jinja2 Template Python 3 Compatible 2020-09-30 07:07:43 -07:00
docker-iccpd [docker-iccpd]: Upgrade docker-iccpd to buster (#4984) 2020-07-18 00:12:59 -07:00
docker-lldp [lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699) 2020-11-07 10:30:41 -08:00
docker-nat [restore_nat_entries.py] Convert to Python 3 (#5788) 2020-11-06 10:15:49 -08:00
docker-orchagent [enable_counters.py] Convert to Python 3 (#5789) 2020-11-06 09:00:19 -08:00
docker-platform-monitor [docker-platform-monitor] Install Python 2 'enum34' package to fix Arista platforms (#5779) 2020-11-04 11:23:03 -08:00
docker-ptf [docker-ptf] add gnmi python client (#4928) 2020-07-12 18:08:52 +00: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 [dockers][supervisor] Increase event buffer size for dependent-startup (#5247) 2020-09-08 23:36:38 -07:00
docker-sflow [sflow] Fix port_index_mapper.py script; Convert to Python 3 (#5800) 2020-11-06 10:15:06 -08:00
docker-snmp [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07:00
docker-sonic-mgmt [mgmt] Install dhclient in sonic-mgmt docker (#5447) 2020-09-23 20:01:58 -07:00
docker-sonic-mgmt-framework [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00
docker-sonic-restapi [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07:00
docker-sonic-telemetry [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07:00
docker-teamd [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07: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