Skip to content

Commit

Permalink
* Consistent indent
Browse files Browse the repository at this point in the history
* Fix reference_bandwidth to be taken from the vdata, not global ospf
  • Loading branch information
jbemmel committed Nov 26, 2024
1 parent 4dbaef8 commit ac076b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions netsim/ansible/templates/vrf/dellos10.ospfv2-vrf.j2
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
router ospf {{ vdata.vrfidx }} vrf {{ vname }}
router-id {{ vdata.ospf.router_id|default(ospf.router_id) }}
redistribute connected
redistribute imported-ospf-routes
router-id {{ vdata.ospf.router_id|default(ospf.router_id) }}
redistribute connected
redistribute imported-ospf-routes
{% if bgp.as is defined %}
redistribute bgp {{ bgp.as }}
redistribute bgp {{ bgp.as }}
{% endif %}
{% if ospf.reference_bandwidth is defined %}
auto-cost reference-bandwidth {{ ospf.reference_bandwidth }}
{% if vdata.ospf.reference_bandwidth is defined %}
auto-cost reference-bandwidth {{ vdata.ospf.reference_bandwidth }}
{% endif %}
!
{% for l in vdata.ospf.interfaces|default([]) if 'ospf' in l and 'ipv4' in l %}
Expand Down

0 comments on commit ac076b8

Please sign in to comment.