5 lines
319 B
Django/Jinja
5 lines
319 B
Django/Jinja
configure ports eth0 lldp portidsubtype local {{ MGMT_INTERFACE.keys()[0][0] }}
|
|
{% for local_port in DEVICE_NEIGHBOR %}
|
|
configure ports {{ local_port }} lldp portidsubtype local {{ PORT[local_port]['alias'] }} description {{ DEVICE_NEIGHBOR[local_port]['name'] }}:{{ DEVICE_NEIGHBOR[local_port]['port'] }}
|
|
{% endfor %}
|