More fixes

netbox
Dan Ankers 2024-06-28 20:34:34 +01:00
parent 81ff852d89
commit 6d62bf9c35
1 changed files with 1 additions and 1 deletions

View File

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