From 6d62bf9c35b33854f2c1f107ff2599b69973274b Mon Sep 17 00:00:00 2001 From: Dan Ankers Date: Fri, 28 Jun 2024 20:34:34 +0100 Subject: [PATCH] More fixes --- juniper-macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper-macros.j2 b/juniper-macros.j2 index 0bd03b9..bfcc106 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -200,7 +200,7 @@ snmp { {% macro routingoptionssection(device, gateway) %} routing-options { router-id {{ device.primary_ip4.address.ip }}; - autonomous-system {{ device.local_context['overlay_as'] }}; + autonomous-system {{ device.local_context_data['overlay_as'] }}; {% if gateway %} static { route 0.0.0.0/0 next-hop {{ gateway }};