diff options
author | Yuxiang Zhu <vfreex@gmail.com> | 2023-09-10 05:34:54 +0000 |
---|---|---|
committer | Yuxiang Zhu <vfreex@gmail.com> | 2023-09-10 05:34:54 +0000 |
commit | 95c6046e7a158bd9abf3733599feed965f1ab0b1 (patch) | |
tree | 53b2986177421dd5cb08e62964b3d95306a8b41f /smoketest/scripts/cli/test_protocols_pim6.py | |
parent | 312370c9ef5c32a6a078d9deaeb5995276adbd48 (diff) | |
download | vyos-1x-95c6046e7a158bd9abf3733599feed965f1ab0b1.tar.gz vyos-1x-95c6046e7a158bd9abf3733599feed965f1ab0b1.zip |
T5518: pim6: Fix smoketests
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_pim6.py')
-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() |