Dell switch: Add spaces before interface config to ensure correct match

This commit is contained in:
Mark Goddard 2017-03-24 15:46:43 +00:00
parent 2d84a41f45
commit c1dd865b4e
2 changed files with 8 additions and 8 deletions

View File

@ -10,14 +10,14 @@
{% for interface, config in
dell_switch_interface_config.items() %}
{% if 'vlan' not in interface %}
interface {{ interface }}
interface {{ interface }}
{% if config.description is defined %}
description {{ config.description }}
description {{ config.description }}
{% endif %}
{% for line in config.config %}
{{ line }}
{{ line }}
{% endfor %}
exit
exit
{% endif %}
{% endfor %}
@ -25,11 +25,11 @@ exit
{% if 'vlan' in interface %}
interface {{ interface }}
{% if config.description is defined %}
description {{ config.description }}
description {{ config.description }}
{% endif %}
{% for line in config.config %}
{{ line }}
{{ line }}
{% endfor %}
exit
exit
{% endif %}
{% endfor %}