summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_system_sflow.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-03-31 13:09:21 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-03-31 13:09:21 +0000
commit657f5c1a08351c7740ff74cc112321d8f4e2155c (patch)
tree22ebbb1db28fba746fe7b4e5717e329db6974b72 /smoketest/scripts/cli/test_system_sflow.py
parentfdfaa680ef77a469698bfd30c56131710e637253 (diff)
downloadvyos-1x-657f5c1a08351c7740ff74cc112321d8f4e2155c.tar.gz
vyos-1x-657f5c1a08351c7740ff74cc112321d8f4e2155c.zip
T5125: Add op-mode for sFlow based on hsflowd
Add op-mode for sFlow based on hsflowd "show sflow" Add machine readable format '--raw' and formatted output
Diffstat (limited to 'smoketest/scripts/cli/test_system_sflow.py')
-rwxr-xr-xsmoketest/scripts/cli/test_system_sflow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_system_sflow.py b/smoketest/scripts/cli/test_system_sflow.py
index fef88b56a..1aec050a4 100755
--- a/smoketest/scripts/cli/test_system_sflow.py
+++ b/smoketest/scripts/cli/test_system_sflow.py
@@ -91,6 +91,7 @@ class TestSystemFlowAccounting(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'collector {{ ip = {server} udpport = {port} }}', hsflowd)
self.assertIn(f'collector {{ ip = {local_server} udpport = {default_port} }}', hsflowd)
self.assertIn(f'dropmon {{ limit={mon_limit} start=on sw=on hw=off }}', hsflowd)
+ self.assertIn('dbus { }', hsflowd)
for interface in Section.interfaces('ethernet'):
self.assertIn(f'pcap {{ dev={interface} }}', hsflowd)