From a89fea37a990796ff6deb6fece9f2cb6cfc8594a Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Fri, 5 Jul 2024 12:06:30 +0100 Subject: [PATCH] Fix typo --- juniper-macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper-macros.j2 b/juniper-macros.j2 index b97a0d1..847ce7c 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -213,7 +213,7 @@ interfaces { } {% endif %} {# Physical interfaces should be sorted by FPC/PIC/Port value - that's a challenge to do in Jinja so we cheat for now by putting the xe- interfaces first. This won't work for all devices! #} -{% for interface in device.interfaces.filter(name__contains='-')|j2_natsort(attribute="name) %} +{% for interface in device.interfaces.filter(name__contains='-')|j2_natsort(attribute="name") %} {{ interfaceconfig(interface) }} {% endfor %} {% for interface in device.interfaces.filter(name__startswith='ae') %}