More fixes
parent
81ff852d89
commit
6d62bf9c35
|
|
@ -200,7 +200,7 @@ snmp {
|
||||||
{% macro routingoptionssection(device, gateway) %}
|
{% macro routingoptionssection(device, gateway) %}
|
||||||
routing-options {
|
routing-options {
|
||||||
router-id {{ device.primary_ip4.address.ip }};
|
router-id {{ device.primary_ip4.address.ip }};
|
||||||
autonomous-system {{ device.local_context['overlay_as'] }};
|
autonomous-system {{ device.local_context_data['overlay_as'] }};
|
||||||
{% if gateway %}
|
{% if gateway %}
|
||||||
static {
|
static {
|
||||||
route 0.0.0.0/0 next-hop {{ gateway }};
|
route 0.0.0.0/0 next-hop {{ gateway }};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue