summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-28 10:00:57 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-28 10:00:57 +0100
commit192903561e5d7211155554fe06c18673fa74e1ed (patch)
tree3aa8e25a85e04365f5240e9b3f77017f9298d860 /data
parent4e167fac162427123f9f36e5ef25203a497a6c2d (diff)
downloadvyos-1x-192903561e5d7211155554fe06c18673fa74e1ed.tar.gz
vyos-1x-192903561e5d7211155554fe06c18673fa74e1ed.zip
ospfv3: T3928: add VRF support
set vrf name foo protocols ospfv3
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ospf6d.frr.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/ospf6d.frr.tmpl b/data/templates/frr/ospf6d.frr.tmpl
index 5871b3d7a..10a6d9b4b 100644
--- a/data/templates/frr/ospf6d.frr.tmpl
+++ b/data/templates/frr/ospf6d.frr.tmpl
@@ -1,7 +1,7 @@
!
{% if interface is defined and interface is not none %}
{% for iface, iface_config in interface.items() %}
-interface {{ iface }}
+interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% if iface_config.area is defined and iface_config.area is not none %}
ipv6 ospf6 area {{ iface_config.area }}
{% endif %}
@@ -46,7 +46,7 @@ exit
{% endfor %}
{% endif %}
!
-router ospf6
+router ospf6 {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% if area is defined and area is not none %}
{% for area_id, area_config in area.items() %}
{% if area_config.area_type is defined and area_config.area_type is not none %}