summaryrefslogtreecommitdiff
path: root/data/templates/frr/isis.frr.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/frr/isis.frr.tmpl')
-rw-r--r--data/templates/frr/isis.frr.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/isis.frr.tmpl b/data/templates/frr/isis.frr.tmpl
index d4500403c..da098abac 100644
--- a/data/templates/frr/isis.frr.tmpl
+++ b/data/templates/frr/isis.frr.tmpl
@@ -1,5 +1,5 @@
!
-router isis {{ domain }}
+router isis {{ domain }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
net {{ net }}
{% if dynamic_hostname is defined %}
hostname dynamic
@@ -133,7 +133,7 @@ router isis {{ domain }}
!
{% 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 }}
ip router isis {{ domain }}
{% if iface_config.bfd is defined %}
isis bfd