summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-24 21:09:55 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-24 21:10:30 +0200
commitf26ef2a25690826eed4200b219d7f61e8dbf9201 (patch)
treeabaf8d638e535ebd4b797614b84889d32c25cbef
parent675fbb281646bc88abc0bea6d393ff17fb7cf92a (diff)
downloadvyos-1x-f26ef2a25690826eed4200b219d7f61e8dbf9201.tar.gz
vyos-1x-f26ef2a25690826eed4200b219d7f61e8dbf9201.zip
isis: T3576: add IPv6 support
-rw-r--r--data/templates/frr/isis.frr.tmpl1
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_isis.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/frr/isis.frr.tmpl b/data/templates/frr/isis.frr.tmpl
index bd7be85f4..1e651898b 100644
--- a/data/templates/frr/isis.frr.tmpl
+++ b/data/templates/frr/isis.frr.tmpl
@@ -141,6 +141,7 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% for iface, iface_config in interface.items() %}
interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
ip router isis VyOS
+ ipv6 router isis VyOS
{% if iface_config.bfd is defined %}
isis bfd
{% endif %}
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py
index 69db58465..9b6d4a4ec 100755
--- a/smoketest/scripts/cli/test_protocols_isis.py
+++ b/smoketest/scripts/cli/test_protocols_isis.py
@@ -80,6 +80,7 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
for interface in self._interfaces:
tmp = self.getFRRconfig(f'interface {interface}')
self.assertIn(f' ip router isis {domain}', tmp)
+ self.assertIn(f' ipv6 router isis {domain}', tmp)
self.cli_delete(['policy', 'route-map', route_map])
self.cli_delete(['policy', 'prefix-list', prefix_list])