summaryrefslogtreecommitdiff
path: root/smoketest/scripts/system
diff options
context:
space:
mode:
authorNataliia S. <81954790+natali-rs1985@users.noreply.github.com>2025-01-21 11:19:27 +0200
committerGitHub <noreply@github.com>2025-01-21 11:19:27 +0200
commit832ed9122a0a602cadabe24457e9d64272a3d861 (patch)
tree6e42219a2468c15e070ab00388f4ff8018c8f05f /smoketest/scripts/system
parent24e37c5faa9765ee98b7f6afd9562a09069189fb (diff)
downloadvyos-1x-832ed9122a0a602cadabe24457e9d64272a3d861.tar.gz
vyos-1x-832ed9122a0a602cadabe24457e9d64272a3d861.zip
T6895: Merge the hsflowd-based sFlow and uacctd-based sFlow (#4310)
Diffstat (limited to 'smoketest/scripts/system')
-rwxr-xr-xsmoketest/scripts/system/test_kernel_options.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py
index 700e4cec7..b51b0be1d 100755
--- a/smoketest/scripts/system/test_kernel_options.py
+++ b/smoketest/scripts/system/test_kernel_options.py
@@ -128,5 +128,11 @@ class TestKernelModules(unittest.TestCase):
tmp = re.findall(f'{option}=(y|m)', self._config_data)
self.assertTrue(tmp)
+ def test_psample_enabled(self):
+ # Psample must be enabled in the OS Kernel to enable egress flow for hsflowd
+ for option in ['CONFIG_PSAMPLE']:
+ tmp = re.findall(f'{option}=y', self._config_data)
+ self.assertTrue(tmp)
+
if __name__ == '__main__':
unittest.main(verbosity=2)