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 }};