Fix(?) whitespace
parent
0d82de4f5b
commit
23024dfdf2
|
|
@ -112,8 +112,8 @@ chassis {
|
|||
{%- endmacro %}
|
||||
|
||||
|
||||
{% macro interfaceconfig(interface,rack = None) %}
|
||||
{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan -%}
|
||||
{%- macro interfaceconfig(interface,rack = None) %}
|
||||
{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan %}
|
||||
{{ interface.name }} {
|
||||
{% if interface.description %}
|
||||
description "{{ interface.description }}";
|
||||
|
|
@ -196,7 +196,7 @@ chassis {
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
}
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro interfacesection(device,vlans) %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue