Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dell OS10: Fix test cases 33-vrf-common-ospf and 34- by redistributing imported OSPF routes too #1571

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions netsim/ansible/templates/vrf/dellos10.ospfv2-vrf.j2
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{% from "templates/ospf/dellos10.macro.j2" import configure_ospf_interface %}

router ospf {{ vdata.vrfidx }} vrf {{ vname }}
router-id {{ vdata.ospf.router_id|default(ospf.router_id) }}
redistribute connected
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
Loading