[lldp] No need to config on port with no minigraph_neighbor, such as port in vlan (#864)
This commit is contained in:
parent
b6efe438b5
commit
e1f2a2dd75
@ -1,3 +1,5 @@
|
|||||||
{% for member in minigraph_ports.keys() %}
|
{% 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'] }}
|
configure ports {{ member }} lldp portidsubtype local {{ minigraph_ports[member]['alias'] }} description {{ minigraph_neighbors[member]['name'] }}:{{ minigraph_neighbors[member]['port'] }}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user