sonic-buildimage/dockers/docker-lldp-sv2
Shuotian Cheng 72e947621c [config-engine]: Fix bug multiple ports connecting to same neighbor (#1005)
The current DEVICE_NEIGHBOR format doesn't support multiple different
ports connecting with same neighbor. Thus the lldpd.conf file is not
generated correctly, causing missing information for LAG members.

This fix reverts the data structure in the previous version of
minigraph parser - using local port as the key and remote port/device
as the value of the map. Sample format is:

DEVICE_NEIGHBOR['Ethernet124'] = {
    'name': 'ARISTA04T1',
    'port': 'Ethernet1/1'
}

The corresponding unit test in test_cfggen is updated.
Add one more unit test for lldpd.conf.j2 verification.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-03 16:23:19 -07:00
..
base_image_files [docker-lldp]: Do not use TTY mode on lldpctl command (#454) 2017-03-29 17:47:21 -07:00
Dockerfile.j2 Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
lldpd sonic-cfggen with sonicv2 dockers (#190) 2017-01-19 20:56:26 -08:00
lldpd.conf.j2 [config-engine]: Fix bug multiple ports connecting to same neighbor (#1005) 2017-10-03 16:23:19 -07:00
reconfigure.sh Address CR suggestions 2016-10-31 14:48:27 -07:00
start.sh [configdb] Migrate minigraph configurations to DB (#942) 2017-09-12 14:13:27 -07:00
supervisord.conf Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00