Dell switch: Add spaces before interface config to ensure correct match
This commit is contained in:
parent
2d84a41f45
commit
c1dd865b4e
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user