Skip to content

Commit 5c696dc

Browse files
committed
ospf: T7297: fix redistribute-table
Requires FRR to support `redistribute table-direct` for ospf
1 parent 4e0ed81 commit 5c696dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/templates/frr/ospfd.frr.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
220220
{% for protocol, options in redistribute.items() %}
221221
{% if protocol == 'table' %}
222222
{% for table, table_options in options.items() %}
223-
redistribute {{ protocol }} {{ table }} {{ 'metric ' ~ table_options.metric if table_options.metric is vyos_defined }} {{ 'metric-type ' ~ table_options.metric_type if table_options.metric_type is vyos_defined }} {{ 'route-map ' ~ table_options.route_map if table_options.route_map is vyos_defined }}
223+
redistribute table-direct {{ table }} {{ 'metric ' ~ table_options.metric if table_options.metric is vyos_defined }} {{ 'metric-type ' ~ table_options.metric_type if table_options.metric_type is vyos_defined }} {{ 'route-map ' ~ table_options.route_map if table_options.route_map is vyos_defined }}
224224
{% endfor %}
225225
{% else %}
226226
redistribute {{ protocol }} {{ 'metric ' ~ options.metric if options.metric is vyos_defined }} {{ 'metric-type ' ~ options.metric_type if options.metric_type is vyos_defined }} {{ 'route-map ' ~ options.route_map if options.route_map is vyos_defined }}

0 commit comments

Comments
 (0)