summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-21 21:23:49 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-21 21:57:32 +0200
commit9e5d0384a0b25949edfd0dfc065b6fe572f943e7 (patch)
treecbfac148f777d0dd97bda2b4b58db38f03c1cd02 /data
parent52830ddfad973ff8acac48cc1ce57af655d9ed5a (diff)
downloadvyos-1x-9e5d0384a0b25949edfd0dfc065b6fe572f943e7.tar.gz
vyos-1x-9e5d0384a0b25949edfd0dfc065b6fe572f943e7.zip
ospf: T5377: add "capability opaque" support
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ospfd.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/ospfd.frr.j2 b/data/templates/frr/ospfd.frr.j2
index 121ecf677..040628e82 100644
--- a/data/templates/frr/ospfd.frr.j2
+++ b/data/templates/frr/ospfd.frr.j2
@@ -133,6 +133,9 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if auto_cost.reference_bandwidth is vyos_defined %}
auto-cost reference-bandwidth {{ auto_cost.reference_bandwidth }}
{% endif %}
+{% if capability.opaque is vyos_defined %}
+ capability opaque
+{% endif %}
{% if default_information.originate is vyos_defined %}
default-information originate {{ 'always' if default_information.originate.always is vyos_defined }} {{ 'metric ' + default_information.originate.metric if default_information.originate.metric is vyos_defined }} {{ 'metric-type ' + default_information.originate.metric_type if default_information.originate.metric_type is vyos_defined }} {{ 'route-map ' + default_information.originate.route_map if default_information.originate.route_map is vyos_defined }}
{% endif %}