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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
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
9 changes: 5 additions & 4 deletions netsim/ansible/templates/vrf/dellos10.ospfv2-vrf.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
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 }}
{% 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