diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-21 13:33:06 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-21 13:33:06 +0100 |
commit | a234f616b9fff24b74f2b33dc83cf7c7edef3342 (patch) | |
tree | 44555bc98492d96853b234eab5ff0b5caa234849 /data/templates/frr/isis.frr.tmpl | |
parent | 1d6cb2d5587e352af6fd73a7703961d7a8bad189 (diff) | |
download | vyos-1x-a234f616b9fff24b74f2b33dc83cf7c7edef3342.tar.gz vyos-1x-a234f616b9fff24b74f2b33dc83cf7c7edef3342.zip |
isis: T3417: add VRF support
VRF support can be tested using:
set vrf name red table 1000
set vrf name red protocols isis domain FOOO
set vrf name red protocols isis net 49.0001.1921.6800.1002.00
set vrf name red protocols isis interface eth1
Diffstat (limited to 'data/templates/frr/isis.frr.tmpl')
-rw-r--r-- | data/templates/frr/isis.frr.tmpl | 4 |
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 |