Change variable name for default gateway - 'gateway' existed already
parent
c0ca11e639
commit
ecb638b107
|
|
@ -196,9 +196,9 @@ snmp {
|
||||||
routing-options {
|
routing-options {
|
||||||
router-id {{ primary_ip4['address'][:-3] }};
|
router-id {{ primary_ip4['address'][:-3] }};
|
||||||
autonomous-system {{ config_context['overlay_as'] }};
|
autonomous-system {{ config_context['overlay_as'] }};
|
||||||
{% if config_context['default-gw'] %}
|
{% if config_context['gateway'] %}
|
||||||
static {
|
static {
|
||||||
route 0.0.0.0/0 next-hop {{ config_context['default-gw'] }};
|
route 0.0.0.0/0 next-hop {{ config_context['gateway'] }};
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
forwarding-table {
|
forwarding-table {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue