diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-10 09:47:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 09:47:27 +0200 |
commit | 25c36d678b90dca45df934342f3c480f9ffec192 (patch) | |
tree | 53b2986177421dd5cb08e62964b3d95306a8b41f | |
parent | 312370c9ef5c32a6a078d9deaeb5995276adbd48 (diff) | |
parent | 95c6046e7a158bd9abf3733599feed965f1ab0b1 (diff) | |
download | vyos-1x-25c36d678b90dca45df934342f3c480f9ffec192.tar.gz vyos-1x-25c36d678b90dca45df934342f3c480f9ffec192.zip |
Merge pull request #2233 from vfreex/fix-mld-smoketests
T5518: pim6: Fix smoketests
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_pim6.py | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/smoketest/scripts/cli/test_protocols_pim6.py b/smoketest/scripts/cli/test_protocols_pim6.py index 788329740..1be12836d 100755 --- a/smoketest/scripts/cli/test_protocols_pim6.py +++ b/smoketest/scripts/cli/test_protocols_pim6.py @@ -32,21 +32,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): self.cli_delete(base_path) self.cli_commit() - def test_pim6_01_defaults(self): - # commit changes - self.cli_set(base_path) - self.cli_commit() - - interfaces = Section.interfaces('ethernet') - - # Verify FRR pim6d configuration - for interface in interfaces: - config = self.getFRRconfig( - f'interface {interface}', daemon=PROCESS_NAME) - self.assertIn(f'interface {interface}', config) - self.assertNotIn(f' ipv6 mld', config) - - def test_pim6_02_mld_simple(self): + def test_pim6_01_mld_simple(self): # commit changes interfaces = Section.interfaces('ethernet') @@ -78,7 +64,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): self.assertIn(f' ipv6 mld', config) self.assertIn(f' ipv6 mld version 1', config) - def test_pim6_03_mld_join(self): + def test_pim6_02_mld_join(self): # commit changes interfaces = Section.interfaces('ethernet') @@ -108,7 +94,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): # Join a source-specific multicast group for interface in interfaces: self.cli_set(base_path + ['interface', interface, - 'mld', 'join', 'ff38::5678', '2001:db8::5678']) + 'mld', 'join', 'ff38::5678', 'source', '2001:db8::5678']) self.cli_commit() |