diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-28 10:00:57 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-28 10:00:57 +0100 |
commit | 192903561e5d7211155554fe06c18673fa74e1ed (patch) | |
tree | 3aa8e25a85e04365f5240e9b3f77017f9298d860 /data/templates | |
parent | 4e167fac162427123f9f36e5ef25203a497a6c2d (diff) | |
download | vyos-1x-192903561e5d7211155554fe06c18673fa74e1ed.tar.gz vyos-1x-192903561e5d7211155554fe06c18673fa74e1ed.zip |
ospfv3: T3928: add VRF support
set vrf name foo protocols ospfv3
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/ospf6d.frr.tmpl | 4 |
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 %} |