Skip to content

Commit

Permalink
[lldp] No need to config on port with no minigraph_neighbor, such as …
Browse files Browse the repository at this point in the history
…port in vlan (#864)
  • Loading branch information
qiluo-msft authored Aug 3, 2017
1 parent b6efe43 commit e1f2a2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockers/docker-lldp-sv2/lldpd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% for member in minigraph_ports.keys() %}
{% if member in minigraph_neighbors %}
configure ports {{ member }} lldp portidsubtype local {{ minigraph_ports[member]['alias'] }} description {{ minigraph_neighbors[member]['name'] }}:{{ minigraph_neighbors[member]['port'] }}
{% endif %}
{% endfor %}

0 comments on commit e1f2a2d

Please sign in to comment.