Skip to content

Commit e1f2a2d

Browse files
authored
[lldp] No need to config on port with no minigraph_neighbor, such as port in vlan (#864)
1 parent b6efe43 commit e1f2a2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{% for member in minigraph_ports.keys() %}
2+
{% if member in minigraph_neighbors %}
23
configure ports {{ member }} lldp portidsubtype local {{ minigraph_ports[member]['alias'] }} description {{ minigraph_neighbors[member]['name'] }}:{{ minigraph_neighbors[member]['port'] }}
4+
{% endif %}
35
{% endfor %}

0 commit comments

Comments
 (0)