Fix errors
parent
8fc40e6c19
commit
eb2b3ab255
|
|
@ -113,7 +113,7 @@ chassis {
|
|||
|
||||
|
||||
{% macro interfaceconfig(interface,rack = None) %}
|
||||
{% if not (interface.name.contains('-')) or interface.name or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans or interface.untagged_vlan %}
|
||||
{% if not ('-' in interface.name) or interface.description or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans or interface.untagged_vlan %}
|
||||
{{ interface.name }} {
|
||||
{% if interface.description != '' %}
|
||||
description "{{ interface.description }}";
|
||||
|
|
|
|||
Loading…
Reference in New Issue