Mark Goddard b9e1243d7d Add support for configuration of Juniper switches
Support for Juniper switches is added via the Ansible junos_* modules.
This affects the following command:

kayobe physical network configure
2017-08-07 12:08:41 +00:00

19 lines
395 B
Django/Jinja

#jinja2: trim_blocks: True,lstrip_blocks: True
{% for line in juniper_switch_config %}
{{ line }}
{% endfor %}
interfaces {
{% for interface, config in juniper_switch_interface_config.items() %}
{{ interface }} {
{% if config.description is defined %}
description "{{ config.description }}";
{% endif %}
{% for line in config.config %}
{{ line }}
{% endfor %}
}
{% endfor %}
}