diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-29 10:18:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 10:18:24 +0200 |
commit | df6ae88f6e366c015dfe55deb8e88ee67e0d5af5 (patch) | |
tree | 3694bde519c841370ef3df45273880f7a49b98c2 /smoketest | |
parent | 7ad2235761aa2c6e7ec7876955eba246aa83c047 (diff) | |
parent | 03fd368ed263ca28c9b1b5e29f486217784d15ef (diff) | |
download | vyos-1x-df6ae88f6e366c015dfe55deb8e88ee67e0d5af5.tar.gz vyos-1x-df6ae88f6e366c015dfe55deb8e88ee67e0d5af5.zip |
Merge pull request #3537 from fett0/T6332
ISIS: T6332: Fix isis not working only ipv6
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_isis.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py index 0fd18a6da..9c57f2020 100755 --- a/smoketest/scripts/cli/test_protocols_isis.py +++ b/smoketest/scripts/cli/test_protocols_isis.py @@ -395,5 +395,20 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase): self.cli_delete(['policy', 'prefix-list', prefix_list]) self.cli_commit() + def test_isis_10_topology(self): + topologies = ['ipv4-multicast', 'ipv4-mgmt', 'ipv6-unicast', 'ipv6-multicast', 'ipv6-mgmt'] + interface = 'lo' + + # Set a basic IS-IS config + self.cli_set(base_path + ['net', net]) + + self.cli_set(base_path + ['interface', interface]) + for topology in topologies: + self.cli_set(base_path + ['topology', topology]) + self.cli_commit() + tmp = self.getFRRconfig(f'router isis {domain}', daemon='isisd') + self.assertIn(f' net {net}', tmp) + self.assertIn(f' topology {topology}', tmp) + if __name__ == '__main__': unittest.main(verbosity=2) |