From 8682b0e71ecf95f5a17fd7f3cc4ab2f3af443cf4 Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Tue, 6 Feb 2024 15:02:34 +0000 Subject: [PATCH] Sflow section needs the unit number --- juniper-macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper-macros.j2 b/juniper-macros.j2 index a8b4350..e85ec85 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -312,7 +312,7 @@ routing-options { collector {{ collector }}; {% endfor %} {% for interface in device['config_context']['sflow']['interfaces'] %} - interface {{ interface }}; + interface {{ interface }}.0; {% endfor %} } {% endif %}