diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-05-29 10:24:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 10:24:31 +0200 |
commit | 48a5ae344dcbce9b4678e7bfe9c63850e0a72d85 (patch) | |
tree | 76fca2975fa864ad4e5c7448b69089cf2e0b5815 /smoketest/scripts | |
parent | fbf12867c4baebfaf85c90b72139b507f582279b (diff) | |
parent | 650989533b0de8afc808c3176d222fde25caeb81 (diff) | |
download | vyos-1x-48a5ae344dcbce9b4678e7bfe9c63850e0a72d85.tar.gz vyos-1x-48a5ae344dcbce9b4678e7bfe9c63850e0a72d85.zip |
Merge pull request #3538 from vyos/mergify/bp/sagitta/pr-3537
ISIS: T6332: Fix isis not working only ipv6 (backport #3537)
Diffstat (limited to 'smoketest/scripts')
-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 a7663a720..0217c941a 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)
\ No newline at end of file |