sonic-buildimage/dockers/docker-lldp-sv2
Petro Bratash 4031791b4e [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

```
configure ports eth0 lldp portidsubtype local eth0
configure system ip management pattern FC00:3::32
configure system hostname dut-1
```
TESTBED_2  LLDP 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>
2021-02-11 15:34:06 -08:00
..
base_image_files [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
critical_processes [201911][docker-lldp] Correct lldp-syncd program name in critical_processes file (#4863) 2020-06-28 11:09:27 -07:00
docker-lldp-init.sh Changes for LLDP docker to support multi-npu platforms (#4530) 2020-05-20 07:51:49 -07:00
Dockerfile.j2 [docker-lldp-sv2]: use service dependency in supervisord to start services 2020-08-15 22:21:33 -07:00
lldpd sonic-cfggen with sonicv2 dockers (#190) 2017-01-19 20:56:26 -08:00
lldpd.conf.j2 [lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699) 2021-02-11 15:34:06 -08:00
lldpmgrd [LLDP] Fix for LLDP advertisements being sent with wrong information. (#5493) 2020-10-30 09:06:23 -07:00
start.sh [docker-lldp-sv2]: use service dependency in supervisord to start services 2020-08-15 22:21:33 -07:00
supervisord.conf.j2 [dockers][supervisor] Increase event buffer size for dependent-startup (#5247) 2020-09-28 16:12:53 +00:00
waitfor_lldp_ready.sh [docker-lldp-sv2]: use service dependency in supervisord to start services 2020-08-15 22:21:33 -07:00