Commit ca7820fade for frr
commit ca7820fade2e4d9f0691e7054732fd929fa7ecfc
Author: Donald Sharp <sharpd@nvidia.com>
Date: Sat Oct 3 13:04:10 2026 -0400
tests: Let topotests know if pim6d is available on platform
pim6d doees not work on all platforms. Let's let us choose them.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py
index 2df5b0a3bb..e465fb915f 100644
--- a/tests/topotests/lib/topotest.py
+++ b/tests/topotests/lib/topotest.py
@@ -797,6 +797,16 @@ def platform_has_evpn():
return False
+def platform_has_pimv6():
+ """Return whether this platform can run PIMv6.
+
+ Linux supports PIMv6. FreeBSD does not.
+ """
+ if sys.platform.startswith("linux"):
+ return True
+ return False
+
+
def iproute2_is_json_capable():
"""
Checks if the iproute2 version installed on the system is capable of