diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-03 20:58:59 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-03 21:03:01 +0200 |
commit | fbb4f315eee8cd701aade8845ea842567a56dc64 (patch) | |
tree | b2af92ee0563fd94fd151d13c061a358398cdc99 /data/templates/frr/ospfd.frr.j2 | |
parent | 79c8ca40a340743131b6bb34e44305331de4969b (diff) | |
download | vyos-1x-fbb4f315eee8cd701aade8845ea842567a56dc64.tar.gz vyos-1x-fbb4f315eee8cd701aade8845ea842567a56dc64.zip |
ospf: T5334: add support for external route summarisation Type-5 and Type-7 LSAs
* set protocols ospf aggregation timer <seconds>
* set protocols ospf summary-address x.x.x.x/x [tag 1-4294967295]
* set protocols ospf summary-address x.x.x.x/x no-advertise
Diffstat (limited to 'data/templates/frr/ospfd.frr.j2')
-rw-r--r-- | data/templates/frr/ospfd.frr.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/frr/ospfd.frr.j2 b/data/templates/frr/ospfd.frr.j2 index 3f97b7325..1ee8d8752 100644 --- a/data/templates/frr/ospfd.frr.j2 +++ b/data/templates/frr/ospfd.frr.j2 @@ -72,6 +72,9 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }} {% endfor %} {% endfor %} {% endif %} +{% if aggregation.timer is vyos_defined %} + aggregation timer {{ aggregation.timer }} +{% endif %} {% if area is vyos_defined %} {% for area_id, area_config in area.items() %} {% if area_config.area_type is vyos_defined %} @@ -200,6 +203,11 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }} {% if refresh.timers is vyos_defined %} refresh timer {{ refresh.timers }} {% endif %} +{% if summary_address is vyos_defined %} +{% for prefix, prefix_options in summary_address.items() %} + summary-address {{ prefix }} {{ 'tag ' + prefix_options.tag if prefix_options.tag is vyos_defined }}{{ 'no-advertise' if prefix_options.no_advertise is vyos_defined }} +{% endfor %} +{% endif %} {% if segment_routing is vyos_defined %} {% if segment_routing.maximum_label_depth is vyos_defined %} segment-routing node-msd {{ segment_routing.maximum_label_depth }} |