main
Daniel Ankers 2023-10-26 21:51:16 +01:00
parent 4ec3e90bb9
commit 211ce5ec9e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{% set device=({'name':name,'device_role':device_role,'primary_ip4':primary_ip4,'rack':rack,'interfaces':interfaces,'peering_interfaces':peering_interfaces,'config_context':config_context}) %} {% set device=({'name':name,'device_role':device_role,'primary_ip4':primary_ip4,'rack':rack,'interfaces':interfaces,'peering_interfaces':peering_interfaces,'config_context':config_context}) %}
{% import "juniper-macros-gc.j2" as junos %} {% import "juniper-macros.j2" as junos %}
{{ junos.systemsection(device) }} {{ junos.systemsection(device) }}
{% if device_role['name'] == 'Leaf' %} {% if device_role['name'] == 'Leaf' %}
{{ junos.chassissection(device) }} {{ junos.chassissection(device) }}